[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFqH_50YFm7EYEtt=9AoCUwvVU+Vuw51PYx=hF_u=KBgKmPTDg@mail.gmail.com>
Date: Mon, 5 Mar 2018 11:22:39 +0100
From: Enric Balletbo Serra <eballetbo@...il.com>
To: Jeffy Chen <jeffy.chen@...k-chips.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Brian Norris <briannorris@...gle.com>,
Heiko Stübner <heiko@...ech.de>,
Dmitry Torokhov <dtor@...gle.com>,
Doug Anderson <dianders@...gle.com>,
Matthias Kaehlcke <mka@...omium.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Mark Yao <markyao0591@...il.com>,
Brian Norris <briannorris@...omium.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
Rob Herring <robh+dt@...nel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Will Deacon <will.deacon@....com>,
Emil Renner Berthing <kernel@...il.dk>,
Mark Rutland <mark.rutland@....com>,
Catalin Marinas <catalin.marinas@....com>
Subject: Re: [PATCH v3 3/3] arm64: dts: rockchip: Avoid wakeup when inserting
the pen
Hi Jeffy,
Thanks for the patch.
2018-03-02 4:51 GMT+01:00 Jeffy Chen <jeffy.chen@...k-chips.com>:
> Add wakeup event action for Pen Insert gpio key, to avoid wakeup when
> inserting the pen.
>
> Signed-off-by: Jeffy Chen <jeffy.chen@...k-chips.com>
> ---
>
> Changes in v3: None
> Changes in v2:
> Specify wakeup event action instead of irq trigger type as Brian
> suggested.
>
> arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
> index 191a6bcb1704..ef2de0057c5c 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
> @@ -134,6 +134,8 @@
> gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
> linux,code = <SW_PEN_INSERTED>;
> linux,input-type = <EV_SW>;
> + /* Wakeup only when ejecting */
> + wakeup-event-action = <EV_ACT_DEASSERTED>;
> wakeup-source;
> };
> };
> --
> 2.11.0
>
>
Works as expected on my Kevin
Tested-by: Enric Balletbo i Serra <enric.balletbo@...labora.com>
Powered by blists - more mailing lists