input: synaptics_i2c_rmi4: Add device tree support
To work with device tree framework, support must be added
in driver. Read in properties such as gpios, x/y size and
soft button mapping. Also, enable multitouch with protocol
b.
Change-Id: I17f41105c57f22db1623d03627ca89f47ef57a8b
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
diff --git a/include/linux/input/synaptics_dsx.h b/include/linux/input/synaptics_dsx.h
index 9d03787..56616d7 100644
--- a/include/linux/input/synaptics_dsx.h
+++ b/include/linux/input/synaptics_dsx.h
@@ -50,7 +50,8 @@
bool regulator_en;
bool i2c_pull_up;
unsigned irq_gpio;
- unsigned long irq_flags;
+ u32 irq_flags;
+ u32 reset_flags;
unsigned reset_gpio;
unsigned panel_x;
unsigned panel_y;