diff options
author | Shuming Fan <shumingf@realtek.com> | 2021-06-17 12:08:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-21 15:06:25 +0300 |
commit | 683b0df26c3333a5c020a2764b71a70d082c1c61 (patch) | |
tree | 1bfda599dd4b91ed5719701e3d28067fcd337252 /sound/soc/codecs/rt711-sdw.h | |
parent | 45ce213392df07b9e2443666c0910e1617882cf3 (diff) | |
download | linux-683b0df26c3333a5c020a2764b71a70d082c1c61.tar.xz |
ASoC: rt711: add two jack detection modes
Some boards use different circuits for jack detection.
This patch adds two modes as below
1. JD2/2 ports/external resister 100k
2. JD2/1 port/JD voltage 1.8V
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20210617090822.16960-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt711-sdw.h')
-rw-r--r-- | sound/soc/codecs/rt711-sdw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt711-sdw.h b/sound/soc/codecs/rt711-sdw.h index 43b2b984b29c..6acf9858330d 100644 --- a/sound/soc/codecs/rt711-sdw.h +++ b/sound/soc/codecs/rt711-sdw.h @@ -267,7 +267,9 @@ static const struct reg_default rt711_reg_defaults[] = { { 0x8393, 0x00 }, { 0x7319, 0x00 }, { 0x8399, 0x00 }, + { 0x752008, 0xa807 }, { 0x752009, 0x1029 }, + { 0x75200b, 0x7770 }, { 0x752011, 0x007a }, { 0x75201a, 0x8003 }, { 0x752045, 0x5289 }, |