diff options
author | Steven Eckhoff <steven.eckhoff.opensource@gmail.com> | 2018-06-04 15:47:02 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-18 12:54:38 +0100 |
commit | 53af408cd9f2d1c66bc081c1d82797bfe44af3e5 (patch) | |
tree | 923f4ee81c34f1700e26edfd256509ad0ce3c672 /sound/soc/codecs/tscs42xx.h | |
parent | 19d996cc3ad698379bcd8482dabe78abe3dc8d96 (diff) | |
download | lwn-53af408cd9f2d1c66bc081c1d82797bfe44af3e5.tar.gz lwn-53af408cd9f2d1c66bc081c1d82797bfe44af3e5.zip |
ASoC: TSCS42xx: Add headphone auto switching
Add headphone auto switching controls
Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tscs42xx.h')
-rw-r--r-- | sound/soc/codecs/tscs42xx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/tscs42xx.h b/sound/soc/codecs/tscs42xx.h index 814c8f3c4a68..6b3a21081635 100644 --- a/sound/soc/codecs/tscs42xx.h +++ b/sound/soc/codecs/tscs42xx.h @@ -34,6 +34,7 @@ enum { #define R_DACSR 0x19 #define R_PWRM1 0x1A #define R_PWRM2 0x1B +#define R_CTL 0x1C #define R_CONFIG0 0x1F #define R_CONFIG1 0x20 #define R_DMICCTL 0x24 @@ -1110,6 +1111,13 @@ enum { #define RV_PWRM2_VREF_DISABLE \ RV(FV_PWRM2_VREF_DISABLE, FB_PWRM2_VREF) +/****************************** + * R_CTL (0x1C) * + ******************************/ + +/* Fiel Offsets */ +#define FB_CTL_HPSWEN 7 +#define FB_CTL_HPSWPOL 6 /****************************** * R_CONFIG0 (0x1F) * |