* [PATCH] arm64: dts: mediatek: mt8173: correct GPIO keys wakeup
@ 2023-03-04 12:33 Krzysztof Kozlowski
2023-04-02 17:37 ` Matthias Brugger
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-04 12:33 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
AngeloGioacchino Del Regno, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek
Cc: Krzysztof Kozlowski
gpio-keys,wakeup is a deprecated property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index d452cab28c67..d77f6af19065 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -58,7 +58,7 @@ switch-lid {
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 @@ switch-power {
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 @@ switch-tablet-mode {
gpios = <&pio 121 GPIO_ACTIVE_HIGH>;
linux,code = <SW_TABLET_MODE>;
linux,input-type = <EV_SW>;
- gpio-key,wakeup;
+ wakeup-source;
};
switch-volume-down {
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: mediatek: mt8173: correct GPIO keys wakeup
2023-03-04 12:33 [PATCH] arm64: dts: mediatek: mt8173: correct GPIO keys wakeup Krzysztof Kozlowski
@ 2023-04-02 17:37 ` Matthias Brugger
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2023-04-02 17:37 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
AngeloGioacchino Del Regno, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek
On 04/03/2023 13:33, Krzysztof Kozlowski wrote:
> gpio-keys,wakeup is a deprecated property.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Applied, thanks!
> ---
> arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> index d452cab28c67..d77f6af19065 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
> @@ -58,7 +58,7 @@ switch-lid {
> 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 @@ switch-power {
> 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 @@ switch-tablet-mode {
> gpios = <&pio 121 GPIO_ACTIVE_HIGH>;
> linux,code = <SW_TABLET_MODE>;
> linux,input-type = <EV_SW>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> switch-volume-down {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-02 17:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-04 12:33 [PATCH] arm64: dts: mediatek: mt8173: correct GPIO keys wakeup Krzysztof Kozlowski
2023-04-02 17:37 ` Matthias Brugger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®