Re: [PATCH v2 1/2] arm64: dts: renesas: r9a08g046l48-smarc: Add gpio keys

From: Geert Uytterhoeven

Date: Fri May 29 2026 - 05:22:51 EST


On Thu, 28 May 2026 at 09:02, Biju <biju.das.au@xxxxxxxxx> wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> RZ/G3L SMARC EVK has 3 user buttons called USER_SW1, USER_SW2 and
> USER_SW3. Instantiate the gpio-keys driver for these buttons by
> removing place holders and replacing proper pins for the buttons.
>
> The USER_SW{1,2,3} configured as wakeup-source, so it can wakeup the
> system during s2idle.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> v1->v2:
> * Updated the macro value for RZ_BOOT_MODE3, so setting the switch ON
> pulls low, selecting SDIO {CD,IOVS,PWEN} and GPIO4 active.
> * Updated comment for SW_GPIO4 as it uses a single-pole double-throw
> switch.
> * Updated macro value for SW_GPIO4 such that SW_GPIO4 == 1 would mean
> that GPIO4 is enabled.
> * Updated keys device node with !RZ_BOOT_MODE3 || !SW_GPIO4.

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-devel for v7.2.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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