OSDN Git Service

ASoC: rt711: add two jack detection modes
authorShuming Fan <shumingf@realtek.com>
Thu, 17 Jun 2021 09:08:22 +0000 (17:08 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:06:25 +0000 (13:06 +0100)
commit683b0df26c3333a5c020a2764b71a70d082c1c61
tree1bfda599dd4b91ed5719701e3d28067fcd337252
parent45ce213392df07b9e2443666c0910e1617882cf3
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>
sound/soc/codecs/rt711-sdw.h
sound/soc/codecs/rt711.c
sound/soc/codecs/rt711.h