[PATCH 1/2] arm64: dts: armada-3720: align GPIO keys node name with bindings

Gregory CLEMENT gregory.clement at bootlin.com
Fri Jul 5 05:49:08 PDT 2024


Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> writes:

> Bindings expect the GPIO key node names to follow certain pattern, see
> dtbs_check warnings:
>
>   armada-3720-gl-mv1000.dtb: keys: 'reset' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Applied on mvebu/dt64

Thanks,

Gregory
> ---
>  arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
> index 63fbc8352161..07c14bf04b83 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
> @@ -41,7 +41,7 @@ vcc_sd_reg1: regulator {
>  	keys {
>  		compatible = "gpio-keys";
>  
> -		reset {
> +		button-reset {
>  			label = "reset";
>  			linux,code = <KEY_RESTART>;
>  			gpios = <&gpionb 14 GPIO_ACTIVE_LOW>;
> -- 
> 2.43.0



More information about the linux-arm-kernel mailing list