ASoC: rt5682: Improve HP performance
We change the settings while HP power-up for better performance. Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -1214,6 +1214,20 @@
|
||||
#define RT5682_JDH_NO_PLUG (0x1 << 4)
|
||||
#define RT5682_JDH_PLUG (0x0 << 4)
|
||||
|
||||
/* Bias current control 8 (0x0111) */
|
||||
#define RT5682_HPA_CP_BIAS_CTRL_MASK (0x3 << 2)
|
||||
#define RT5682_HPA_CP_BIAS_2UA (0x0 << 2)
|
||||
#define RT5682_HPA_CP_BIAS_3UA (0x1 << 2)
|
||||
#define RT5682_HPA_CP_BIAS_4UA (0x2 << 2)
|
||||
#define RT5682_HPA_CP_BIAS_6UA (0x3 << 2)
|
||||
|
||||
/* Charge Pump Internal Register1 (0x0125) */
|
||||
#define RT5682_CP_CLK_HP_MASK (0x3 << 4)
|
||||
#define RT5682_CP_CLK_HP_100KHZ (0x0 << 4)
|
||||
#define RT5682_CP_CLK_HP_200KHZ (0x1 << 4)
|
||||
#define RT5682_CP_CLK_HP_300KHZ (0x2 << 4)
|
||||
#define RT5682_CP_CLK_HP_600KHZ (0x3 << 4)
|
||||
|
||||
/* Chopper and Clock control for DAC (0x013a)*/
|
||||
#define RT5682_CKXEN_DAC1_MASK (0x1 << 13)
|
||||
#define RT5682_CKXEN_DAC1_SFT 13
|
||||
|
Reference in New Issue
Block a user