[PATCH 05/17] arm64: dts: imx8mm-phygate: rename uart4_rs485_en to uart4-rs485-en-hog

Alexander Stein alexander.stein at ew.tq-group.com
Tue Aug 13 01:23:24 PDT 2024


Am Dienstag, 13. August 2024, 06:35:00 CEST schrieb Frank Li:
> Rename gpio uart4_rs485_en to uart4-rs485-en-hog to fix below warning:
> arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtb:
>   gpio at 30220000: 'uart4_rs485_en' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 
> Signed-off-by: Frank Li <Frank.Li at nxp.com>

Reviewed-by: Alexander Stein <alexander.stein at ew.tq-group.com>

> ---
>  arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso | 2 +-
>  arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
> index f1f38b739ef76..78f4e8d5814da 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
> @@ -18,7 +18,7 @@ &gpio3 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_gpio3_hog>;
>  
> -	uart4_rs485_en {
> +	uart4-rs485-en-hog {
>  		gpio-hog;
>  		gpios = <20 GPIO_ACTIVE_HIGH>;
>  		output-low;
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
> index 1d8951e1a47e8..66288948bdd39 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
> @@ -19,7 +19,7 @@ &gpio3 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_gpio3_hog>;
>  
> -	uart4_rs485_en {
> +	uart4-rs485-en-hog {
>  		gpio-hog;
>  		gpios = <20 GPIO_ACTIVE_HIGH>;
>  		output-high;
> 
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/





More information about the linux-arm-kernel mailing list