arm64: dts: qcom: msm8998-fxtec: correct GPIO keys wakeup
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 4 Mar 2023 12:33:52 +0000 (13:33 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 16 Mar 2023 01:54:15 +0000 (18:54 -0700)
gpio-keys,wakeup is a deprecated property:

  msm8998-fxtec-pro1.dtb: gpio-hall-sensors: event-hall-sensor1: Unevaluated properties are not allowed ('gpio-key,wakeup' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230304123358.34274-2-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts

index 5aad9f0..8b71b1f 100644 (file)
@@ -44,7 +44,7 @@
                        label = "Keyboard Hall Sensor";
                        gpios = <&tlmm 124 GPIO_ACTIVE_HIGH>;
                        debounce-interval = <15>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        linux,input-type = <EV_SW>;
                        linux,code = <SW_KEYPAD_SLIDE>;
                };
                        gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
                        linux,input-type = <EV_KEY>;
                        linux,code = <KEY_VOLUMEUP>;
-                       gpio-key,wakeup;
+                       wakeup-source;
                        debounce-interval = <15>;
                };