]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: marvell: orion: drop incorrect address/size-cells in GPIO keys
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 1 Jul 2024 14:56:38 +0000 (16:56 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 5 Jul 2024 12:43:11 +0000 (14:43 +0200)
Bindings do not allow address/size-cells in GPIO keys and the GPIO keys
is not a bus, see dtbs_check warnings:

  orion5x-lacie-ethernet-disk-mini-v2.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|...

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/mvebu-linkstation-gpio-simple.dtsi
arch/arm/boot/dts/marvell/orion5x-lacie-d2-network.dts
arch/arm/boot/dts/marvell/orion5x-lacie-ethernet-disk-mini-v2.dts
arch/arm/boot/dts/marvell/orion5x-lswsgl.dts
arch/arm/boot/dts/marvell/orion5x-maxtor-shared-storage-2.dts

index c2d87ba6190a3f72726c6e5360a6c37ab34634ef..055ac754c5fd61d0ad8e7738689e53533d60c4b1 100644 (file)
@@ -48,8 +48,6 @@
 / {
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                pinctrl-0 = <&pmx_power_switch>;
                pinctrl-names = "default";
 
index 3d6c5af0e8435a37dc058746895e8c381972b74b..12a4aac2633e85d8d89ddcfc6c6c8a831656529c 100644 (file)
@@ -35,8 +35,6 @@
                compatible = "gpio-keys";
                pinctrl-0 = <&pmx_buttons>;
                pinctrl-names = "default";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                button-front {
                        label = "Front Push Button";
index f17e25ac98ddb083358e334105e2611db4451bd8..a7586370b1d5b911400e236e34707e38ddc0ab82 100644 (file)
@@ -39,9 +39,8 @@
                compatible = "gpio-keys";
                pinctrl-0 = <&pmx_power_button>;
                pinctrl-names = "default";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               button@1 {
+
+               button-1 {
                        label = "Power-on Switch";
                        linux,code = <KEY_POWER>;
                        gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
index e2829fb0c8b2885109869f56b16448a53a66e88a..35dffb24b8b59f62065cca1537c123b8bd5b1684 100644 (file)
@@ -74,8 +74,6 @@
                compatible = "gpio-keys";
                pinctrl-0 = <&pmx_buttons>;
                pinctrl-names = "default";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                key-func {
                        label = "Function Button";
index 90ce5fa883a44b7b2a1cc42f968a032f48939321..cb1bd24b7ae3ce6b8f87668c384db56aba9ca65f 100644 (file)
@@ -35,8 +35,6 @@
                compatible = "gpio-keys";
                pinctrl-0 = <&pmx_buttons>;
                pinctrl-names = "default";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                key-power {
                        label = "Power";