Re: [PATCH 5/5] ARM: dts: renesas: genmai: define keyboard switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 21, 2024 at 1:48 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

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

> --- a/arch/arm/boot/dts/renesas/r7s72100-genmai.dts
> +++ b/arch/arm/boot/dts/renesas/r7s72100-genmai.dts

> @@ -58,6 +59,22 @@ partition@4000000 {
>                 };
>         };
>
> +       keyboard {
> +               compatible = "gpio-keys";
> +               interrupt-parent = <&irqc>;

... with the interrupt-parent definition moved to the key-1 subnode.

> +
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&keyboard_pins>;
> +
> +               key-1 {
> +                       /* JP3 must be set to 1-2 (default) */
> +                       interrupts = <6 IRQ_TYPE_EDGE_BOTH>;
> +                       linux,code = <KEY_1>;
> +                       label = "SW6,SW7";
> +                       wakeup-source;
> +               };
> +       };
> +
>         leds {
>                 status = "okay";
>                 compatible = "gpio-leds";

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





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux