arm64: dts: mediatek: mt8173: correct GPIO keys wakeup
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 4 Mar 2023 12:33:01 +0000 (13:33 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 11 Apr 2023 16:47:55 +0000 (18:47 +0200)
gpio-keys,wakeup is a deprecated property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230304123301.33952-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index d452cab..d77f6af 100644 (file)
@@ -58,7 +58,7 @@
                        gpios = <&pio 69 GPIO_ACTIVE_LOW>;
                        linux,code = <SW_LID>;
                        linux,input-type = <EV_SW>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                switch-power {
@@ -66,7 +66,7 @@
                        gpios = <&pio 14 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_POWER>;
                        debounce-interval = <30>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                switch-tablet-mode {
@@ -74,7 +74,7 @@
                        gpios = <&pio 121 GPIO_ACTIVE_HIGH>;
                        linux,code = <SW_TABLET_MODE>;
                        linux,input-type = <EV_SW>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                switch-volume-down {