diff options
author | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2015-08-05 17:47:09 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-08-06 05:43:09 -0400 |
commit | ed05637c30e6d13e5793aab64d6a6e57e30228af (patch) | |
tree | 013b3ba58107fd7100bed3b06d936a7bda1cd4b9 /arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi | |
parent | 98c6d5552d45d4c2308c5890ac8fa70d640e50b8 (diff) |
ARM: dts: omap3-devkit8000: Add ADS7846 Touchscreen support
This patch is the touchscreen part for LCD screens sold with devkit8000
board.
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi b/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi index 332766d12b3a..e84184de2a4a 100644 --- a/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi +++ b/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi | |||
@@ -36,3 +36,38 @@ | |||
36 | }; | 36 | }; |
37 | }; | 37 | }; |
38 | }; | 38 | }; |
39 | |||
40 | &vio { | ||
41 | regulator-min-microvolt = <1800000>; | ||
42 | regulator-max-microvolt = <1800000>; | ||
43 | }; | ||
44 | |||
45 | &mcspi2 { | ||
46 | |||
47 | /* touch controller */ | ||
48 | ads7846@0 { | ||
49 | compatible = "ti,ads7846"; | ||
50 | vcc-supply = <&vio>; | ||
51 | |||
52 | reg = <0>; /* CS0 */ | ||
53 | spi-max-frequency = <1500000>; | ||
54 | |||
55 | interrupt-parent = <&gpio1>; | ||
56 | interrupts = <27 0>; /* gpio_27 */ | ||
57 | pendown-gpio = <&gpio1 27 0>; | ||
58 | |||
59 | ti,x-min = /bits/ 16 <0x0>; | ||
60 | ti,x-max = /bits/ 16 <0x0fff>; | ||
61 | ti,y-min = /bits/ 16 <0x0>; | ||
62 | ti,y-max = /bits/ 16 <0x0fff>; | ||
63 | ti,x-plate-ohms = /bits/ 16 <180>; | ||
64 | ti,pressure-max = /bits/ 16 <255>; | ||
65 | ti,debounce-max = /bits/ 16 <10>; | ||
66 | ti,debounce-tol = /bits/ 16 <5>; | ||
67 | ti,debounce-rep = /bits/ 16 <1>; | ||
68 | ti,keep-vref-on = <1>; | ||
69 | ti,settle-delay-usec = /bits/ 16 <150>; | ||
70 | |||
71 | linux,wakeup; | ||
72 | }; | ||
73 | }; | ||