ARM: dts: Add node for touchscreen for exynos4210-trats
authorTomasz Figa <t.figa@samsung.com>
Tue, 20 Nov 2012 07:26:18 +0000 (16:26 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 20 Nov 2012 07:26:18 +0000 (16:26 +0900)
This patch adds a device tree node for the Melfas MMS114-controlled
touchscreen present on Samsung Trats board.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-trats.dts

index 5dfd231..dab2e08 100644 (file)
                pinctrl-0 = <&i2c3_bus>;
                pinctrl-names = "default";
                status = "okay";
+
+               mms114-touchscreen@48 {
+                       compatible = "melfas,mms114";
+                       reg = <0x48>;
+                       interrupt-parent = <&gpx0>;
+                       interrupts = <4 2>;
+                       x-size = <720>;
+                       y-size = <1280>;
+                       avdd-supply = <&tsp_reg>;
+                       vdd-supply = <&tsp_reg>;
+               };
        };
 
        i2c@138B0000 {