]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx51-zii-rdu1: fix touchscreen bindings
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Mon, 7 May 2018 13:53:09 +0000 (16:53 +0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 May 2018 05:50:27 +0000 (13:50 +0800)
This fixes errors in RDU1 device tree that cause touch screens not
working.

Fixes: ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts

index 0c99ac04ad08b2fb9e95910ab055d8e539f181d7..6464f2560e066b559fd51aa5c806f80f57dd1493 100644 (file)
@@ -523,7 +523,7 @@ touchscreen@4c {
        };
 
        touchscreen@20 {
-               compatible = "syna,rmi4_i2c";
+               compatible = "syna,rmi4-i2c";
                reg = <0x20>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_ts>;
@@ -541,8 +541,8 @@ rmi4-f01@1 {
 
                rmi4-f11@11 {
                        reg = <0x11>;
-                       touch-inverted-y;
-                       touch-swapped-x-y;
+                       touchscreen-inverted-y;
+                       touchscreen-swapped-x-y;
                        syna,sensor-type = <1>;
                };
        };