Skip to content

Commit 3a07e82

Browse files
krzkmbgg
authored andcommitted
arm64: dts: mediatek: mt8173: correct GPIO keys wakeup
gpio-keys,wakeup is a deprecated property. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent f010d1b commit 3a07e82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,23 @@
5858
gpios = <&pio 69 GPIO_ACTIVE_LOW>;
5959
linux,code = <SW_LID>;
6060
linux,input-type = <EV_SW>;
61-
gpio-key,wakeup;
61+
wakeup-source;
6262
};
6363

6464
switch-power {
6565
label = "Power";
6666
gpios = <&pio 14 GPIO_ACTIVE_HIGH>;
6767
linux,code = <KEY_POWER>;
6868
debounce-interval = <30>;
69-
gpio-key,wakeup;
69+
wakeup-source;
7070
};
7171

7272
switch-tablet-mode {
7373
label = "Tablet_mode";
7474
gpios = <&pio 121 GPIO_ACTIVE_HIGH>;
7575
linux,code = <SW_TABLET_MODE>;
7676
linux,input-type = <EV_SW>;
77-
gpio-key,wakeup;
77+
wakeup-source;
7878
};
7979

8080
switch-volume-down {

0 commit comments

Comments
 (0)