arm64: dts: imx: rename gpio hog as <gpio name>-hog
Subsystems (2)
Frank Li
maintainerPATCH v3 1/1 arm64: dts: imx: rename gpio hog as <gpio name>-hog
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]+'
---
change from v2 to v3
-rebase to guoshawn/imx/dt64
--- arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 2 +- .../dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso | 2 +- .../dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso | 2 +- .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso | 2 +- .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso | 4 ++-- .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso | 4 ++-- .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso | 2 +- .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso | 4 ++-- .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso | 4 ++-- 9 files changed, 13 insertions(+), 13 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts +1 -1
@@ -220,7 +220,7 @@ sfpgpio: gpio@76 { #gpio-cells = <2>; gpio-controller; - admin_led_lower { + admin-led-lower-hog { gpio-hog; gpios = <13 GPIO_ACTIVE_HIGH>; output-low;
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso +1 -1
@@ -18,7 +18,7 @@ &gpio3 { pinctrl-names = "default"; pinctrcl-0 = <&pinctrl_gpio3_hog>; - uart4_rs485_en { + uart4-rs485-en-hog { gpio-hog; gpios = <20 GPIO_ACTIVE_HIGH>; output-low;
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso +1 -1
@@ -19,7 +19,7 @@ &gpio3 { pinctrl-names = "default"; pinctrcl-0 = <&pinctrl_gpio3_hog>; - uart4_rs485_en { + uart4-rs485-en-hog { gpio-hog; gpios = <20 GPIO_ACTIVE_HIGH>; output-high;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso +1 -1
@@ -16,7 +16,7 @@ /plugin/; &gpio4 { - rs485_en { + rs485-en-hog { gpio-hog; gpios = <0 GPIO_ACTIVE_HIGH>; output-low;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso +2 -2
@@ -19,14 +19,14 @@ /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;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso +2 -2
@@ -19,14 +19,14 @@ /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;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso +1 -1
@@ -20,7 +20,7 @@ }; &gpio4 { - rs485_en { + rs485-en-hog { gpio-hog; gpios = <0 GPIO_ACTIVE_HIGH>; output-low;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso +2 -2
@@ -23,14 +23,14 @@ }; &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;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso +2 -2
@@ -23,14 +23,14 @@ }; &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;
Signature · 1 line
2.34.1
Shawn Guo
AppliedQuoted 12 lines · Frank Li
Rename
admin_led_lowerto admin-led-lower-hog.
Rename gpiors485_enas rs485-en-hog.
Rename gpiouart4_rs485_ento 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]+'
Quoted 2 lines
Reviewed-by Alexander Stein <[email protected]>Signed-off-by Frank Li <[email protected]>
Applied, thanks!