[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<TY7PR01MB149100957580E90D7022DCF19D3CDA@TY7PR01MB14910.jpnprd01.prod.outlook.com>
Date: Thu, 13 Nov 2025 15:22:43 +0000
From: Ovidiu Panait <ovidiu.panait.rb@...esas.com>
To: geert <geert@...ux-m68k.org>
CC: magnus.damm <magnus.damm@...il.com>, "robh@...nel.org" <robh@...nel.org>,
"krzk+dt@...nel.org" <krzk+dt@...nel.org>, "conor+dt@...nel.org"
<conor+dt@...nel.org>, "linux-renesas-soc@...r.kernel.org"
<linux-renesas-soc@...r.kernel.org>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add NMI
pushbutton support
Hi Geert,
> -----Original Message-----
> From: Geert Uytterhoeven <geert@...ux-m68k.org>
> Sent: Thursday, November 13, 2025 4:49 PM
> To: Ovidiu Panait <ovidiu.panait.rb@...esas.com>
> Cc: magnus.damm <magnus.damm@...il.com>; robh@...nel.org;
> krzk+dt@...nel.org; conor+dt@...nel.org; linux-renesas-
> soc@...r.kernel.org; devicetree@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Subject: Re: [PATCH] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add NMI
> pushbutton support
>
> Hi Ovidiu,
>
> On Mon, 27 Oct 2025 at 15:07, Ovidiu Panait
> <ovidiu.panait.rb@...esas.com> wrote:
> > RZ/V2H EVK has a user pushbutton connected to the SoC NMI pin, which
> > can be used to wake up the system from suspend to idle. Add a DT node
> > in the device tree to instantiate the gpio-keys driver for this button.
> >
> > Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@...esas.com>
>
> Thanks for your patch!
>
> > --- a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts
> > +++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts
> > @@ -9,6 +9,7 @@
> >
> > #include <dt-bindings/pinctrl/renesas,r9a09g057-pinctrl.h>
> > #include <dt-bindings/gpio/gpio.h>
> > +#include <dt-bindings/input/input.h>
> > #include "r9a09g057.dtsi"
> >
> > / {
> > @@ -34,6 +35,20 @@ chosen {
> > stdout-path = "serial0:115200n8";
> > };
> >
> > + keys: keys {
> > + compatible = "gpio-keys";
> > + pinctrl-0 = <&nmi_pins>;
> > + pinctrl-names = "default";
>
> Do you need these pinctrl properties? ...
>
> > +
> > + key-wakeup {
> > + interrupts-extended = <&icu 0
> IRQ_TYPE_EDGE_FALLING>;
> > + linux,code = <KEY_WAKEUP>;
> > + label = "NMI_SW";
> > + debounce-interval = <20>;
> > + wakeup-source;
> > + };
> > + };
> > +
> > memory@...00000 {
> > device_type = "memory";
> > /* first 128MB is reserved for secure area. */
> > @@ -320,6 +335,10 @@ i2c8_pins: i2c8 {
> > <RZV2H_PORT_PINMUX(0, 7, 1)>; /* I2C8_SCL */
> > };
> >
> > + nmi_pins: nmi {
> > + pins = "NMI";
>
> ... as no actual pin configuration is done here?
>
> If you confirm, I can drop these while applying.
>
Yes, the pin config is not needed, please drop it before applying.
Thanks!
Ovidiu
> > + };
> > +
> > scif_pins: scif {
> > pins = "SCIF_TXD", "SCIF_RXD";
> > renesas,output-impedance = <1>;
>
> The rest LGTM, so with the above fixed:
> Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-
> m68k.org
>
> In personal conversations with technical people, I call myself a hacker.
> But
> when I'm talking to journalists I just say "programmer" or something like
> that.
> -- Linus Torvalds
Powered by blists - more mailing lists