input: atmel_mxt_ts: Add device tree support
Parse the device tree elements and fill platform
data structure.
Change-Id: Ia37f1ae420e7092e892bd76a1cf0029950c415d7
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h
index b54fcb4..5c3c728 100644
--- a/include/linux/i2c/atmel_mxt_ts.h
+++ b/include/linux/i2c/atmel_mxt_ts.h
@@ -69,7 +69,9 @@
bool i2c_pull_up;
bool digital_pwr_regulator;
int reset_gpio;
+ u32 reset_gpio_flags;
int irq_gpio;
+ u32 irq_gpio_flags;
int *key_codes;
u8(*read_chg) (void);