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

From: Gregory CLEMENT
Date: Fri Jul 05 2024 - 08:49:22 EST


Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> 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@xxxxxxxxxx>

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