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>
This commit is contained in:
Shuming Fan 2021-06-17 17:08:22 +08:00 • committed by Mark Brown
commit 683b0df26c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 60 additions and 1 deletions