Message ID | 20240701150340.560243-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] arm64: dts: armada-3720: align GPIO keys node name with bindings | expand |
Krzysztof Kozlowski <krzysztof.kozlowski@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@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
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>;
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@linaro.org> --- arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)