ASoC: rt5677: add GPIO IRQ support
[cascardo/linux.git] / include / sound / rt5677.h
index a56b429..d9eb7d8 100644 (file)
@@ -30,6 +30,13 @@ struct rt5677_platform_data {
 
        /* configures GPIO, 0 - floating, 1 - pulldown, 2 - pullup */
        u8 gpio_config[6];
+
+       /* jd1 can select 0 ~ 3 as OFF, GPIO1, GPIO2 and GPIO3 respectively */
+       unsigned int jd1_gpio;
+       /* jd2 and jd3 can select 0 ~ 3 as
+               OFF, GPIO4, GPIO5 and GPIO6 respectively */
+       unsigned int jd2_gpio;
+       unsigned int jd3_gpio;
 };
 
 #endif