]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: imx: correct choice of panel native mode
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 9 May 2024 10:48:35 +0000 (12:48 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 15 Jun 2024 07:44:16 +0000 (15:44 +0800)
Bindings and Linux driver expect native-mode to be a phandle to one of
the timings node, not a boolean property.  Correct the DTS to fix
dtbs_check warnings like:

  imx53-m53evk.dtb: display-timings: timing-800x480p60: 'native-mode' does not match any of the regexes: 'pinctrl-[0-9]+'

This should not have actual effect for Linux kernel (no real bug
affecting choice of native-mode), because the first timing node is
chosen in absence of proper native-mode property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts
arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts
arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts
arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts
arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts
arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts

index f72e109342bcd29bc81ec28a3522d1499ade5c5a..de6b7607510af818a8a94863ea83379729853e22 100644 (file)
@@ -25,8 +25,8 @@
                pinctrl-0 = <&pinctrl_ipu_disp1>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-lw700 {
-                               native-mode;
                                clock-frequency = <33000033>;
                                hactive = <800>;
                                vactive = <480>;
index 87a34cbdf2337562f367782dc2ae3e860bc3d0f0..079bd3d14999f96ef141964a10f492cb2920d9b5 100644 (file)
@@ -58,8 +58,8 @@
                pinctrl-0 = <&pinctrl_lcd>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-800x480p60 {
-                               native-mode;
                                clock-frequency = <30066000>;
                                hactive = <800>;
                                vactive = <480>;
index f0f92ee7ba955b66b941e94ddff7d5f764a358dd..ba0c62994f75d09baa7d81f4dd5a3628270d087e 100644 (file)
@@ -17,8 +17,8 @@
                pinctrl-0 = <&pinctrl_ipu_disp1>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-800x480p60 {
-                               native-mode;
                                clock-frequency = <31500000>;
                                hactive = <800>;
                                vactive = <480>;
index c75606fc4abde419c5f3a90bc66d69a8c277bc63..ec806b8d503ab33a2d9ee11144099dcae64c9282 100644 (file)
@@ -85,8 +85,8 @@
                power-on-delay = <10>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-480x800p57 {
-                               native-mode;
                                clock-frequency = <27000027>;
                                hactive = <480>;
                                vactive = <800>;
index 0d86927819c272182eb4be67e9a1b783ea90c690..9ec038f1d0ffe79af6c566df17bcb47a5d9173dc 100644 (file)
@@ -36,8 +36,8 @@
                status = "okay";
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-480x800p60 {
-                               native-mode;
                                clock-frequency = <30000000>;
                                hactive = <480>;
                                vactive = <800>;
index 66271daf97d9e54991d7c7a63ff482171084d467..b3129832f4716f1b398a7fa3b83b2264327cdd75 100644 (file)
@@ -25,8 +25,8 @@
                status = "okay";
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: timing-800x480p60 {
-                               native-mode;
                                clock-frequency = <33246000>;
                                hactive = <800>;
                                vactive = <480>;