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

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Jul 1 09:52:10 PDT 2024


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 {
-- 
2.43.0




More information about the linux-amlogic mailing list