diff options
author | Zhu Ning <zhuning0077@gmail.com> | 2024-01-24 07:48:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-01-24 19:28:25 +0100 |
commit | 966323dd9a65dde599f59176280468a0cb04c875 (patch) | |
tree | 8f4cfd40aaca8ee766abec6a3dcfb6c722b252b3 /sound/soc/codecs/es8326.h | |
parent | ASoC: codecs: Remove unneeded semicolon (diff) | |
download | linux-966323dd9a65dde599f59176280468a0cb04c875.tar.xz linux-966323dd9a65dde599f59176280468a0cb04c875.zip |
ASoC: codecs: ES8326: Adding new volume kcontrols
ES8326 features a headphone volume control register and four DAC
volume control registers.
We add new volume Kcontrols for these registers to enhance the
configurability of the volume settings, providing users with
greater flexibility.
Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://msgid.link/r/20240124064806.30511-2-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/es8326.h')
-rw-r--r-- | sound/soc/codecs/es8326.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/codecs/es8326.h b/sound/soc/codecs/es8326.h index 4234bbb900c4..ee12caef8105 100644 --- a/sound/soc/codecs/es8326.h +++ b/sound/soc/codecs/es8326.h @@ -69,7 +69,7 @@ #define ES8326_DAC_DSM 0x4D #define ES8326_DAC_RAMPRATE 0x4E #define ES8326_DAC_VPPSCALE 0x4F -#define ES8326_DAC_VOL 0x50 +#define ES8326_DACL_VOL 0x50 #define ES8326_DRC_RECOVERY 0x53 #define ES8326_DRC_WINSIZE 0x54 #define ES8326_DAC_CROSSTALK 0x55 @@ -81,6 +81,9 @@ #define ES8326_SDINOUT23_IO 0x5B #define ES8326_JACK_PULSE 0x5C +#define ES8326_DACR_VOL 0xF4 +#define ES8326_SPKL_VOL 0xF5 +#define ES8326_SPKR_VOL 0xF6 #define ES8326_HP_MISC 0xF7 #define ES8326_CTIA_OMTP_STA 0xF8 #define ES8326_PULLUP_CTL 0xF9 |