Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[firefly-linux-kernel-4.4.55.git] / include / sound / max98095.h
index 7513a42dd4aaa000dfb74c044dc3c3ea9a8f8dbe..e87ae67b0a553ee259d9b5724d442003fbfb5b15 100644 (file)
@@ -49,6 +49,18 @@ struct max98095_pdata {
         */
        unsigned int digmic_left_mode:1;
        unsigned int digmic_right_mode:1;
+
+       /* Pin5 is the mechanical method of sensing jack insertion
+        * but it is something that might not be supported.
+        * 0 = PIN5 not supported
+        * 1 = PIN5 supported
+        */
+       unsigned int jack_detect_pin5en:1;
+
+       /* Slew amount for jack detection. Calculated as 4 * (delay + 1).
+        * Default delay is 24 to get a time of 100ms.
+        */
+       unsigned int jack_detect_delay;
 };
 
 #endif