summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1011.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2019-08-06 12:14:35 +0300
committerMark Brown <broonie@kernel.org>2019-08-07 16:18:55 +0300
commit3403b808a0eb6d25883b72a6c4d2a4a452f8a233 (patch)
treed8aebde7c0d9dfa17e5a180d263f9829e0d20edb /sound/soc/codecs/rt1011.h
parent79776da0989733a5bac0a1e635e3a284c3f5c745 (diff)
downloadlinux-3403b808a0eb6d25883b72a6c4d2a4a452f8a233.tar.xz
ASoC: rt1011: Add R0 temperature and TDM1 ADC2DAT Swap control
- The user level application could set the R0 temperature after booting system. The degree Celsius of R0 temperature store in the non-volatile space when doing R0 calibration. - TDM1 ADC2DAT Swap controls use to control TDM slot2/3 data Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20190806091435.14329-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1011.h')
-rw-r--r--sound/soc/codecs/rt1011.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1011.h b/sound/soc/codecs/rt1011.h
index 98a38800c4df..5d431d7f1d16 100644
--- a/sound/soc/codecs/rt1011.h
+++ b/sound/soc/codecs/rt1011.h
@@ -227,6 +227,7 @@
#define RT1011_STP_CALIB_RS_TEMP 0x152a
#define RT1011_INIT_RECIPROCAL_REG_24_16 0x1538
#define RT1011_INIT_RECIPROCAL_REG_15_0 0x1539
+#define RT1011_STP_INITIAL_RESISTANCE_TEMP 0x153c
#define RT1011_STP_ALPHA_RECIPROCAL_MSB 0x153e
#define RT1011_SPK_RESISTANCE_1 0x1544
#define RT1011_SPK_RESISTANCE_2 0x1546