From: Roger Quadros <[email protected]>

Fixup Y resolution and add default pin state. Also update
the compatible id and bindings for touchscreen size.

CC: Benoit Cousson <[email protected]>
CC: Tony Lindgren <[email protected]>
CC: Mugunthan V N <[email protected]>
Signed-off-by: Roger Quadros <[email protected]>
---
 arch/arm/boot/dts/am43x-epos-evm.dts | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts 
b/arch/arm/boot/dts/am43x-epos-evm.dts
index 167dbc8..b789e2d 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -138,6 +138,12 @@
                                0x160 (PIN_INPUT | MUX_MODE7) /* 
spi0_cs1.gpio0_6 */
                        >;
                };
+
+               pixcir_ts_pins: pixcir_ts_pins {
+                       pinctrl-single,pins = <
+                               0x44 (PIN_INPUT_PULLUP | MUX_MODE7)     /* 
gpmc_a1.gpio1_17 */
+                       >;
+               };
        };
 
        matrix_keypad: matrix_keypad@0 {
@@ -226,15 +232,17 @@
        };
 
        pixcir_ts@5c {
-               compatible = "pixcir,pixcir_ts";
+               compatible = "pixcir,pixcir_tangoc";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pixcir_ts_pins>;
                reg = <0x5c>;
                interrupt-parent = <&gpio1>;
                interrupts = <17 0>;
 
                attb-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
 
-               x-size = <1024>;
-               y-size = <768>;
+               touchscreen-size-x = <1024>;
+               touchscreen-size-y = <600>;
        };
 };
 
-- 
1.8.3.2


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to