ASoC: rt5651: Enable jack detection on JD* pins
[muen/linux.git] / include / sound / rt5651.h
index d35de758dfb5538a9d67ffb89c5cd707b6dda7c7..18b79a761f10657bb9a2906fc605b1332c5c901f 100644 (file)
 #ifndef __LINUX_SND_RT5651_H
 #define __LINUX_SND_RT5651_H
 
 #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;
 struct rt5651_platform_data {
        /* IN2 can optionally be differential */
        bool in2_diff;
 
        bool dmic_en;
+       enum rt5651_jd_src jd_src;
 };
 
 #endif
 };
 
 #endif