arm64: dts: imx: rename gpio hog as <gpio name>-hog
authorFrank Li <Frank.Li@nxp.com>
Mon, 2 Sep 2024 19:30:12 +0000 (15:30 -0400)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:24 +0000 (17:36 +0800)
Rename admin_led_lower to admin-led-lower-hog.
Rename gpio rs485_en as rs485-en-hog.
Rename gpio uart4_rs485_en to uart4-rs485-en-hog.

Fix below warning:
arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dtb: gpio@76:
  'admin_led_lower' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtb:
  gpio@30230000: 'rs485_en' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtb:
  gpio@30220000: 'uart4_rs485_en' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'

Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso

index bea9e8bcafc470738a0a97e8c2ccefd20fc79241..bc0d89427fbe5ae0e69544d64cdc0aeefe87c59a 100644 (file)
                #gpio-cells = <2>;
                gpio-controller;
 
-               admin_led_lower {
+               admin-led-lower-hog {
                        gpio-hog;
                        gpios = <13 GPIO_ACTIVE_HIGH>;
                        output-low;
index 9dd07034236357b55f4a5697eba235664c135dfa..4de22d2044d69e1256c10fc20678782b6169f9e2 100644 (file)
@@ -18,7 +18,7 @@
        pinctrl-names = "default";
        pinctrcl-0 = <&pinctrl_gpio3_hog>;
 
-       uart4_rs485_en {
+       uart4-rs485-en-hog {
                gpio-hog;
                gpios = <20 GPIO_ACTIVE_HIGH>;
                output-low;
index 045cd8082781c84f65891346bb2815e2b73c1b61..e259d8d5d9e395208c32650a3fe5fed27f40078b 100644 (file)
@@ -19,7 +19,7 @@
        pinctrl-names = "default";
        pinctrcl-0 = <&pinctrl_gpio3_hog>;
 
-       uart4_rs485_en {
+       uart4-rs485-en-hog {
                gpio-hog;
                gpios = <20 GPIO_ACTIVE_HIGH>;
                output-high;
index 47d3c0c49e8a03bac437f69425a428e4ad10724e..bb2056746f8c9a3b2a93c5959028b280880f6650 100644 (file)
@@ -16,7 +16,7 @@
 /plugin/;
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-low;
index 7fcd8c851159a4296f43ae57d7e9c7303eb24de6..45ac8bdce86995a52e4161997c5ed12cb4373142 100644 (file)
 /plugin/;
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "rs485_en";
        };
 
-       rs485_hd {
+       rs485-hd-hog {
                gpio-hog;
                gpios = <2 GPIO_ACTIVE_HIGH>;
                output-low;
index b19e38fc27bae1a61ef4a47438e3e4880d545f77..30aa620d7004dd83b41dda568b2b96f90a31abdf 100644 (file)
 /plugin/;
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "rs485_en";
        };
 
-       rs485_hd {
+       rs485-hd-hog {
                gpio-hog;
                gpios = <2 GPIO_ACTIVE_HIGH>;
                output-high;
index 1f8ea20dfafcb970b284bdd875292c1ef1ac92e5..9bee7159a67b5763b579bc44ec574e626b7da428 100644 (file)
@@ -20,7 +20,7 @@
 };
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-low;
index 3e6404340d5299c1cf3f3e248f11fec42b10447a..e98f50bcec57fe7ee1c7a4b93ab2abf26872e068 100644 (file)
 };
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "rs485_en";
        };
 
-       rs485_hd {
+       rs485-hd-hog {
                gpio-hog;
                gpios = <2 GPIO_ACTIVE_HIGH>;
                output-low;
index 2c71ab9854cb36f8e95a75fcbc359e73d439f330..e875ff4637bd51594464ffe84e46fb364f1af7e1 100644 (file)
 };
 
 &gpio4 {
-       rs485_en {
+       rs485-en-hog {
                gpio-hog;
                gpios = <0 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "rs485_en";
        };
 
-       rs485_hd {
+       rs485-hd-hog {
                gpio-hog;
                gpios = <2 GPIO_ACTIVE_HIGH>;
                output-high;