diff options
author | Carlo Caione <carlo@endlessm.com> | 2017-10-20 12:18:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-26 09:41:01 +0200 |
commit | 60d5a1a47b9a8381c08d2263b11ac9c757c87746 (patch) | |
tree | ca68c8fddaebe95756fa3a3f94ff75c207674019 /include/sound/rt5651.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
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/rt5651.h')
-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 |