From: Matthias Brugger <matthias.bgg@gmail.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: mediatek: mt8173: correct GPIO keys wakeup
Date: Sun, 2 Apr 2023 19:37:56 +0200 [thread overview]
Message-ID: <0b743983-1534-d860-5ce8-7fcb67382474@gmail.com> (raw)
In-Reply-To: <20230304123301.33952-1-krzysztof.kozlowski@linaro.org>
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 {
prev parent reply other threads:[~2023-04-02 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-04 12:33 Krzysztof Kozlowski
2023-04-02 17:37 ` Matthias Brugger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b743983-1534-d860-5ce8-7fcb67382474@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®