diff options
author | Marek Vasut <marex@denx.de> | 2024-11-11 17:54:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-11-11 17:00:36 +0000 |
commit | 14c7f4867b7e4ddbbde58b398452295051c77137 (patch) | |
tree | 12022a6d15b8929b0b6cc80372791762e896b9ec /sound | |
parent | 9a59718a5340aa0240a442115eb499de2ed18ee4 (diff) | |
download | lwn-14c7f4867b7e4ddbbde58b398452295051c77137.tar.gz lwn-14c7f4867b7e4ddbbde58b398452295051c77137.zip |
ASoC: max98088: Add left/right DAC volume control
Add left/right DAC digital volume control knob.
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patch.msgid.link/20241111165435.113086-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max98088.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index adb17a458ca3..d679bd9175eb 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c @@ -480,6 +480,9 @@ static const struct snd_kcontrol_new max98088_snd_controls[] = { SOC_SINGLE("INA Volume", M98088_REG_37_LVL_INA, 0, 7, 1), SOC_SINGLE("INB Volume", M98088_REG_38_LVL_INB, 0, 7, 1), + SOC_SINGLE("DACL Volume", M98088_REG_2F_LVL_DAI1_PLAY, 0, 15, 1), + SOC_SINGLE("DACR Volume", M98088_REG_31_LVL_DAI2_PLAY, 0, 15, 1), + SOC_SINGLE("ADCL Volume", M98088_REG_33_LVL_ADC_L, 0, 15, 0), SOC_SINGLE("ADCR Volume", M98088_REG_34_LVL_ADC_R, 0, 15, 0), |