Re: [PATCH 5/8] arm64: dts: qcom: sdm630-sony-xperia: correct GPIO keys wakeup

From: Konrad Dybcio
Date: Sat Mar 04 2023 - 07:58:17 EST




On 4.03.2023 13:33, Krzysztof Kozlowski wrote:
> gpio-keys,wakeup is a deprecated property:
>
> sdm630-sony-xperia-nile-voyager.dtb: gpio-keys: key-vol-down: Unevaluated properties are not allowed ('gpio-key,wakeup' was unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
> index e52580acd5c8..2ca713a3902a 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
> @@ -112,7 +112,7 @@ key-vol-down {
> gpios = <&pm660l_gpios 7 GPIO_ACTIVE_LOW>;
> linux,input-type = <1>;
> linux,code = <KEY_VOLUMEDOWN>;
> - gpio-key,wakeup;
> + wakeup-source;
> debounce-interval = <15>;
> };
> };