]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4031ee184a6b346bfb765e2d1b1c2ebba15266e0
tree1bfda599dd4b91ed5719701e3d28067fcd337252
parenta6c44c8e5e9eba986f19ae7e547cd1a80e6c9097
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