]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 11 Jul 2023 06:30:11 +0000 (08:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:12 +0000 (09:48 +0200)
[ Upstream commit b8fbeea0253211d97c579eae787274633d3eaf0d ]

gpio-keys,wakeup is a deprecated property:

  m8250-sony-xperia-edo-pdx206.dtb: gpio-keys: key-camera-focus: Unevaluated properties are not allowed ('gpio-key,wakeup' was unexpected)

Fixes: a422c6a91a66 ("arm64: dts: qcom: sm8250-edo: Rectify gpio-keys")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230711063011.16222-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi

index eb82247131c102d4c710aa15fac694759f3bd523..0268d80248e5c44410fc7c48acae43b83027f92c 100644 (file)
@@ -60,7 +60,7 @@
                        gpios = <&pm8150b_gpios 2 GPIO_ACTIVE_LOW>;
                        debounce-interval = <15>;
                        linux,can-disable;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key-camera-snapshot {
@@ -69,7 +69,7 @@
                        gpios = <&pm8150b_gpios 1 GPIO_ACTIVE_LOW>;
                        debounce-interval = <15>;
                        linux,can-disable;
-                       gpio-key,wakeup;
+                       wakeup-source;
                };
 
                key-vol-down {