diff options
author | Carlo Caione <carlo@endlessm.com> | 2017-10-20 12:18:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-26 16:15:02 +0200 |
commit | 80bbe4a30bc6b119df86c280c91cde2034309bf1 (patch) | |
tree | 9ac5b6c85c47f343bbeb7fad269478695d841d9d /include/sound | |
parent | be96fc54d2ed8eae6683b71d2dc5d1a939a10a1e (diff) | |
download | linux-80bbe4a30bc6b119df86c280c91cde2034309bf1.tar.bz2 |
ASoC: rt5651: Enable jack detection on JD* pins
Enable jack detection for the RT5651 codec on the JD* pins.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rt5651.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h index d35de758dfb5..18b79a761f10 100644 --- a/include/sound/rt5651.h +++ b/include/sound/rt5651.h @@ -11,11 +11,19 @@ #ifndef __LINUX_SND_RT5651_H #define __LINUX_SND_RT5651_H +enum rt5651_jd_src { + RT5651_JD_NULL, + RT5651_JD1_1, + RT5651_JD1_2, + RT5651_JD2, +}; + struct rt5651_platform_data { /* IN2 can optionally be differential */ bool in2_diff; bool dmic_en; + enum rt5651_jd_src jd_src; }; #endif |