[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdXsQ7pne45+56f_nO0VA8LeUpZhxXFKPMqOKR4GSsdG4Q@mail.gmail.com>
Date: Mon, 18 Aug 2025 16:14:58 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Prabhakar <prabhakar.csengg@...il.com>
Cc: Magnus Damm <magnus.damm@...il.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-renesas-soc@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Biju Das <biju.das.jz@...renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@...esas.com>,
Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: Re: [PATCH 06/13] arm64: dts: renesas: r9a09g087m44-rzn2h-evk: Add
user LEDs
Hi Prabhakar,
On Tue, 12 Aug 2025 at 22:03, Prabhakar <prabhakar.csengg@...il.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
>
> Add USER LED0-LED8, which are available on RZ/N2H EVK.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Thanks for your patch!
> --- a/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
> +++ b/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
> @@ -7,10 +7,64 @@
>
> /dts-v1/;
>
> +#include <dt-bindings/gpio/gpio.h>
> +
> #include "r9a09g087m44.dtsi"
> #include "rzt2h-n2h-evk-common.dtsi"
>
> / {
> model = "Renesas RZ/N2H EVK Board based on r9a09g087m44";
> compatible = "renesas,rzn2h-evk", "renesas,r9a09g087m44", "renesas,r9a09g087";
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + led3 {
> + /* DSW18-7: ON, DSW18-8: OFF */
> + gpios = <&pinctrl RZN2H_GPIO(31, 6) GPIO_ACTIVE_LOW>;
Similar comments like for the RZ/T2H EVB, e.g.
led-3 {
/* DSW18-7: ON, DSW18-8: OFF */
gpios = <&pinctrl RZN2H_GPIO(31, 6) GPIO_ACTIVE_LOW>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_DEBUG;
function-enumerator = <4>;
};
> + };
> +
> + led4 {
> + /* DSW18-9: ON, DSW18-10: OFF */
> + gpios = <&pinctrl RZN2H_GPIO(18, 1) GPIO_ACTIVE_LOW>;
> + };
> +
> + led5 {
> + /* DSW18-1: ON, DSW18-2: OFF */
> + gpios = <&pinctrl RZN2H_GPIO(22, 7) GPIO_ACTIVE_LOW>;
> + };
> +
> + led6 {
> + /* DSW18-3: ON, DSW18-4: OFF */
> + gpios = <&pinctrl RZN2H_GPIO(23, 0) GPIO_ACTIVE_LOW>;
> + };
> +
> + led7 {
> + /*
> + * DSW18-5: ON, DSW18-6: OFF
> + * DSW19-3: ON, DSW19-4: OFF
Shouldn't that be "DSW19-3: OFF, DSW19-4: ON"?
> + */
> + gpios = <&pinctrl RZN2H_GPIO(14, 3) GPIO_ACTIVE_LOW>;
> + };
> +
> + led8 {
> + /* DSW15-8: OFF, DSW15-9: OFF, DSW15-10: ON */
> + gpios = <&pinctrl RZN2H_GPIO(14, 6) GPIO_ACTIVE_LOW>;
> + };
> +
> + led9 {
> + /* DSW15-5: OFF, DSW16-6: ON */
s/DSW16/DSW15/
> + gpios = <&pinctrl RZN2H_GPIO(14, 7) GPIO_ACTIVE_LOW>;
> + };
> +
> + led10 {
> + /* DSW17-3: OFF, DSW17-4: ON */
> + gpios = <&pinctrl RZN2H_GPIO(2, 7) GPIO_ACTIVE_LOW>;
> + };
> +
> + led11 {
> + /* DSW17-1: OFF, DSW17-2: ON */
> + gpios = <&pinctrl RZN2H_GPIO(3, 0) GPIO_ACTIVE_LOW>;
> + };
> + };
> };
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