ASoC: nau8540: PGA short to ground
Change channel PGA input mode selection for better recording quality. The patch shorts the inputs to ground with 12kOhm differentially terminated. Signed-off-by: John Hsu <KCHSU0@nuvoton.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -184,6 +184,18 @@
|
||||
#define NAU8540_PRECHARGE_DIS (0x1 << 13)
|
||||
#define NAU8540_GLOBAL_BIAS_EN (0x1 << 12)
|
||||
|
||||
/* FEPGA1 (0x69) */
|
||||
#define NAU8540_FEPGA1_MODCH2_SHT_SFT 7
|
||||
#define NAU8540_FEPGA1_MODCH2_SHT (0x1 << NAU8540_FEPGA1_MODCH2_SHT_SFT)
|
||||
#define NAU8540_FEPGA1_MODCH1_SHT_SFT 3
|
||||
#define NAU8540_FEPGA1_MODCH1_SHT (0x1 << NAU8540_FEPGA1_MODCH1_SHT_SFT)
|
||||
|
||||
/* FEPGA2 (0x6A) */
|
||||
#define NAU8540_FEPGA2_MODCH4_SHT_SFT 7
|
||||
#define NAU8540_FEPGA2_MODCH4_SHT (0x1 << NAU8540_FEPGA2_MODCH4_SHT_SFT)
|
||||
#define NAU8540_FEPGA2_MODCH3_SHT_SFT 3
|
||||
#define NAU8540_FEPGA2_MODCH3_SHT (0x1 << NAU8540_FEPGA2_MODCH3_SHT_SFT)
|
||||
|
||||
|
||||
/* System Clock Source */
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user