]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/i2c/twl4030.h
twl4030 MMC card detction
[linux-2.6-omap-h63xx.git] / include / linux / i2c / twl4030.h
index 03b948287c93ae0e2b02a894fc262189f1b2710a..fb604dcd38f19d89a817c8bc2397aa09d3ece62c 100644 (file)
@@ -231,6 +231,9 @@ struct twl4030_gpio_platform_data {
        /* package the two LED signals as output-only GPIOs? */
        bool            use_leds;
 
+       /* gpio-n should control VMMC(n+1) if BIT(n) in mmc_cd is set */
+       u8              mmc_cd;
+
        /* For gpio-N, bit (1 << N) in "pullups" is set if that pullup
         * should be enabled.  Else, if that bit is set in "pulldowns",
         * that pulldown is enabled.  Don't waste power by letting any