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 5dfd231a98e9ac6b6b8bde3832bab482c7196a21..dab2e0865cc9708f34d13d014c94d25fbe66ead2 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 {