summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-05-29 00:03:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-29 00:06:00 -0700
commit50525891f80169f6730fad9f1e6a69440eb858b9 (patch)
tree84ad8085df4d634b5a238717cfc4ec682c672df2
parenta38cfebb56898633687ab337fd53710e63a0aedd (diff)
downloadlinux-50525891f80169f6730fad9f1e6a69440eb858b9.tar.gz
linux-50525891f80169f6730fad9f1e6a69440eb858b9.tar.bz2
linux-50525891f80169f6730fad9f1e6a69440eb858b9.zip
DTS: ARM: OMAP3-N900: Add tsc2005 support
This adds support for the tsc2005 touchscreen to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel <sre@kernel.org> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts17
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 1a57b61f5e24..cb8ed2d51d24 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -580,9 +580,24 @@
* Also... order in the device tree actually matters here.
*/
tsc2005@0 {
- compatible = "tsc2005";
+ compatible = "ti,tsc2005";
spi-max-frequency = <6000000>;
reg = <0>;
+
+ vio-supply = <&vio>;
+
+ reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
+ interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
+
+ touchscreen-fuzz-x = <4>;
+ touchscreen-fuzz-y = <7>;
+ touchscreen-fuzz-pressure = <2>;
+ touchscreen-max-x = <4096>;
+ touchscreen-max-y = <4096>;
+ touchscreen-max-pressure = <2048>;
+
+ ti,x-plate-ohms = <280>;
+ ti,esd-recovery-timeout-ms = <8000>;
};
acx565akm@2 {