OSDN Git Service

ARM: dts: exynos: Update x and y properties for mms114 touchscreen
authorAndi Shyti <andi.shyti@samsung.com>
Thu, 10 May 2018 21:25:33 +0000 (06:25 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 13 May 2018 13:15:49 +0000 (15:15 +0200)
The mms114 binding [1] specifies that the 'x' and 'y' should be
called respectively 'touchscreen-size-x' and 'touchscreen-size-y'
in coherence with the touchscreen [2] binding.

Update the mms114 node for trats2 and trats dts according to the
binding.

[1] Documentation/devicetree/bindings/input/touchscreen/mms114.txt
[2] Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4210-trats.dts
arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi

index eaeeb4f..6f1d76c 100644 (file)
                reg = <0x48>;
                interrupt-parent = <&gpx0>;
                interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
-               x-size = <720>;
-               y-size = <1280>;
+               touchscreen-size-x = <720>;
+               touchscreen-size-y = <1280>;
                avdd-supply = <&tsp_reg>;
                vdd-supply = <&tsp_reg>;
        };
index 606946a..30eee59 100644 (file)
                reg = <0x48>;
                interrupt-parent = <&gpm2>;
                interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
-               x-size = <720>;
-               y-size = <1280>;
+               touchscreen-size-x = <720>;
+               touchscreen-size-y = <1280>;
                avdd-supply = <&ldo23_reg>;
                vdd-supply = <&ldo24_reg>;
        };