Hi Cosmin,
On Fri, 5 Dec 2025 at 16:04, Cosmin Tanislav
<cosmin-gabriel.tanislav.xa@renesas.com> wrote:
> The Renesas RZ/T2H Evaluation Kit has three user buttons connected to
> GPIOs that can be used as input keys.
>
> Add support for them.
>
> Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Thanks for your patch!
> --- a/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts
> +++ b/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts
> @@ -7,6 +7,8 @@
>
> /dts-v1/;
>
> +#include <dt-bindings/input/input.h>
> +
> #include "r9a09g077m44.dtsi"
>
> /*
> @@ -60,6 +62,37 @@ / {
> model = "Renesas RZ/T2H EVK Board based on r9a09g077m44";
> compatible = "renesas,rzt2h-evk", "renesas,r9a09g077m44", "renesas,r9a09g077";
>
> + keys {
> + compatible = "gpio-keys";
> +
> +#if (!SD1_MICRO_SD)
> + /* SW2-3: ON */
Shouldn't that be OFF?
> + key-1 {
> + interrupts-extended = <&pinctrl RZT2H_GPIO(8, 6) IRQ_TYPE_EDGE_FALLING>;
> + linux,code = <KEY_1>;
> + label = "SW9";
> + wakeup-source;
> + debounce-interval = <20>;
> + };
> +#endif
The rest LGTM.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-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