i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery
[cascardo/linux.git] / include / linux / platform_data / i2c-davinci.h
index 2312d19..89fd347 100644 (file)
@@ -18,6 +18,7 @@ struct davinci_i2c_platform_data {
        unsigned int    bus_delay;      /* post-transaction delay (usec) */
        unsigned int    sda_pin;        /* GPIO pin ID to use for SDA */
        unsigned int    scl_pin;        /* GPIO pin ID to use for SCL */
+       bool            has_pfunc;      /*chip has a ICPFUNC register */
 };
 
 /* for board setup code */