summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2015-10-01 08:47:10 +0200
committerMark Brown <broonie@kernel.org>2015-10-01 12:12:45 +0200
commite29fd55d8d23ea7afcadd15a87700583e7da5035 (patch)
tree1d5b85c9aaf6a5f63af1caa14628c04a4499caab /sound/soc/codecs/rt5645.h
parentASoC: rt5645: Remove the repeated definitions (diff)
downloadlinux-e29fd55d8d23ea7afcadd15a87700583e7da5035.tar.xz
linux-e29fd55d8d23ea7afcadd15a87700583e7da5035.zip
ASoC: rt5645: Add the control of ClassD modulator Speaker Gain Ratio
Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.h')
-rw-r--r--sound/soc/codecs/rt5645.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.h b/sound/soc/codecs/rt5645.h
index f45861c49ef2..d0e0ce52c287 100644
--- a/sound/soc/codecs/rt5645.h
+++ b/sound/soc/codecs/rt5645.h
@@ -668,6 +668,10 @@
#define RT5645_M_SV_R_SPM_R (0x1 << 0)
#define RT5645_M_SV_R_SPM_R_SFT 0
+/* SPOMIX Ratio Control (0x4a) */
+#define RT5645_SPK_G_CLSD_MASK (0x7 << 0)
+#define RT5645_SPK_G_CLSD_SFT 0
+
/* Mono Output Mixer Control (0x4c) */
#define RT5645_M_OV_L_MM (0x1 << 9)
#define RT5645_M_OV_L_MM_SFT 9