[PATCH] ARM: dts: amlogic: meson8b-ec100: align GPIO keys node name with bindings

Neil Armstrong neil.armstrong at linaro.org
Tue Jul 9 02:08:58 PDT 2024


On 01/07/2024 18:52, Krzysztof Kozlowski wrote:
> Bindings expect the GPIO keys node names to follow certain pattern, see
> dtbs_check warnings:
> 
>    meson8b-ec100.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>   arch/arm/boot/dts/amlogic/meson8b-ec100.dts | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/amlogic/meson8b-ec100.dts b/arch/arm/boot/dts/amlogic/meson8b-ec100.dts
> index 3da47349eaaf..49890eb12781 100644
> --- a/arch/arm/boot/dts/amlogic/meson8b-ec100.dts
> +++ b/arch/arm/boot/dts/amlogic/meson8b-ec100.dts
> @@ -34,8 +34,6 @@ emmc_pwrseq: emmc-pwrseq {
>   
>   	gpio-keys {
>   		compatible = "gpio-keys-polled";
> -		#address-cells = <1>;
> -		#size-cells = <0>;
>   		poll-interval = <100>;
>   
>   		pal-switch {

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>



More information about the linux-arm-kernel mailing list