OSDN Git Service

ARM: dts: am43x-epos-evm: Correct Touch controller info
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Apr 2014 12:43:24 +0000 (15:43 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 17:20:14 +0000 (10:20 -0700)
Fixup Y resolution and add default pin state. Also update
the compatible id.

CC: Benoit Cousson <bcousson@baylibre.com>
CC: Tony Lindgren <tony@atomide.com>
CC: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index ce5fc39..cf8bdf1 100644 (file)
                                0x9c (PIN_INPUT_PULLUP | MUX_MODE3)
                        >;
                };
+
+               pixcir_ts_pins: pixcir_ts_pins {
+                       pinctrl-single,pins = <
+                               0x44 (PIN_INPUT_PULLUP | MUX_MODE7)     /* gpmc_a1.gpio1_17 */
+                       >;
+               };
        };
 
        matrix_keypad: matrix_keypad@0 {
        };
 
        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>;
+               y-size = <600>;
        };
 };