projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a59718
)
ASoC: max98088: Add left/right DAC volume control
author
Marek Vasut
<marex@denx.de>
Mon, 11 Nov 2024 16:54:04 +0000
(17:54 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 11 Nov 2024 17:00:36 +0000
(17:00 +0000)
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>
sound/soc/codecs/max98088.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98088.c
b/sound/soc/codecs/max98088.c
index adb17a458ca3ec2c8ae08f8be56f57d9df7b3138..d679bd9175ebdd4803b9e00811d537a1360754bb 100644
(file)
--- 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),