]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx: replace underscore with hyphen in aliases name
authorShawn Guo <shawnguo@kernel.org>
Fri, 4 May 2018 01:30:33 +0000 (09:30 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 May 2018 14:08:02 +0000 (22:08 +0800)
It replaces underscore with hyphen in aliases name to fix DTC
alias_paths warning below, which is seen with various i.MX board dts
files when W=1 switch is on.

 Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'

Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-By: Lothar Waßmann <LW@KARO-electronics.de>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
arch/arm/boot/dts/imx53-tx53.dtsi
arch/arm/boot/dts/imx6qdl-tx6.dtsi
arch/arm/boot/dts/imx6sx-nitrogen6sx.dts
arch/arm/boot/dts/imx6ul-tx6ul-mainboard.dts
arch/arm/boot/dts/imx6ul-tx6ul.dtsi
arch/arm/boot/dts/imx7d-nitrogen7.dts

index 5dd3dd3a2fd0d5989446f0468040f194e5c376cf..54cf3e67069a9c7771d24b93e47a9368f6a6053f 100644 (file)
@@ -58,7 +58,7 @@ aliases {
                can0 = &can2; /* Make the can interface indices consistent with TX28/TX48 modules */
                can1 = &can1;
                ipu = &ipu;
-               reg_can_xcvr = &reg_can_xcvr;
+               reg-can-xcvr = &reg_can_xcvr;
                usbh1 = &usbh1;
                usbotg = &usbotg;
        };
index f015e2d1cf353954b069a5b4cbfb40dd3188adc4..a98fb2564c63f47ed59699ac4fc9a5510e158ca3 100644 (file)
@@ -50,11 +50,11 @@ aliases {
                can0 = &can2;
                can1 = &can1;
                ethernet0 = &fec;
-               lcdif_23bit_pins_a = &pinctrl_disp0_1;
-               lcdif_24bit_pins_a = &pinctrl_disp0_2;
+               lcdif-23bit-pins-a = &pinctrl_disp0_1;
+               lcdif-24bit-pins-a = &pinctrl_disp0_2;
                pwm0 = &pwm1;
                pwm1 = &pwm2;
-               reg_can_xcvr = &reg_can_xcvr;
+               reg-can-xcvr = &reg_can_xcvr;
                stk5led = &user_led;
                usbotg = &usbotg;
                sdhc0 = &usdhc1;
index b58f770c40d96f4b6e90d20c88ca3b03df48d354..59e52f504922f23174ad2c492a7eaf97040c5f56 100644 (file)
@@ -48,8 +48,8 @@ / {
        compatible = "boundary,imx6sx-nitrogen6sx", "fsl,imx6sx";
 
        aliases {
-               fb_lcd = &lcdif1;
-               t_lcd = &t_lcd;
+               fb-lcd = &lcdif1;
+               t-lcd = &t_lcd;
        };
 
        memory@80000000 {
index 2d80f7b50bc03bce0ddc66d855ac4f8199644353..97686097a86ec50d51f8ac2ebc85f9eaeed7df89 100644 (file)
@@ -48,7 +48,7 @@ / {
        compatible = "karo,imx6ul-tx6ul", "fsl,imx6ul";
 
        aliases {
-               lcdif_24bit_pins_a = &pinctrl_disp0_3;
+               lcdif-24bit-pins-a = &pinctrl_disp0_3;
                mmc0 = &usdhc1;
                /delete-property/ mmc1;
                serial2 = &uart3;
index f678d18ad44ab2c31fd5da091e0a1c80ac08c565..02b5ba42cd5911cdc95f61987d0641aed6e37039 100644 (file)
@@ -53,10 +53,10 @@ aliases {
                i2c2 = &i2c1;
                i2c3 = &i2c3;
                i2c4 = &i2c4;
-               lcdif_23bit_pins_a = &pinctrl_disp0_1;
-               lcdif_24bit_pins_a = &pinctrl_disp0_2;
+               lcdif-23bit-pins-a = &pinctrl_disp0_1;
+               lcdif-24bit-pins-a = &pinctrl_disp0_2;
                pwm0 = &pwm5;
-               reg_can_xcvr = &reg_can_xcvr;
+               reg-can-xcvr = &reg_can_xcvr;
                serial2 = &uart5;
                serial4 = &uart3;
                spi0 = &ecspi2;
index 52167298984d72e387741cb2a49f2b9db8226016..b8e73b46cddb8c66d2956e30d3f090b631589acc 100644 (file)
@@ -49,8 +49,8 @@ / {
        compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d";
 
        aliases {
-               fb_lcd = &lcdif;
-               t_lcd = &t_lcd;
+               fb-lcd = &lcdif;
+               t-lcd = &t_lcd;
        };
 
        memory@80000000 {