linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Biju Das <biju.das.jz@bp.renesas.com>,
	 Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	 Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH 06/13] arm64: dts: renesas: r9a09g087m44-rzn2h-evk: Add user LEDs
Date: Tue, 19 Aug 2025 08:52:06 +0100	[thread overview]
Message-ID: <CA+V-a8tT16aSiAdH6NUc7bfAb71_Bu3q-Ttp7Lw5A8z0y-3Avw@mail.gmail.com> (raw)
In-Reply-To: <CAMuHMdXsQ7pne45+56f_nO0VA8LeUpZhxXFKPMqOKR4GSsdG4Q@mail.gmail.com>

Hi Geert,

Thank you for the review.

On Mon, Aug 18, 2025 at 3:15 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Tue, 12 Aug 2025 at 22:03, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >
> > Add USER LED0-LED8, which are available on RZ/N2H EVK.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.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>;
>     };
>
Agreed.

> > +               };
> > +
> > +               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"?
>
Agreed.

> > +                        */
> > +                       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/
>
Agreed, (Ive also notified to update the user manual).


Cheers,
Prabhakar

  reply	other threads:[~2025-08-19  7:52 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12 20:03 [PATCH 00/13] arm64: dts: renesas: Add support for SCI/LEDs/I2C/MMC on RZ/{T2H,RZ/N2H} SoCs and boards Prabhakar
2025-08-12 20:03 ` [PATCH 01/13] arm64: dts: renesas: r9a09g077: Add DT nodes for SCI channels 1-5 Prabhakar
2025-08-18 12:54   ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 02/13] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-08-18 12:54   ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 03/13] arm64: dts: renesas: r9a09g077: Add pinctrl node Prabhakar
2025-08-18 12:54   ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 04/13] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-08-18 13:33   ` Geert Uytterhoeven
2025-08-18 13:43     ` Lad, Prabhakar
2025-08-18 13:58       ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 05/13] arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Add user LEDs Prabhakar
2025-08-18 13:15   ` Geert Uytterhoeven
2025-08-18 13:39     ` Lad, Prabhakar
2025-08-18 13:43       ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 06/13] arm64: dts: renesas: r9a09g087m44-rzn2h-evk: " Prabhakar
2025-08-18 14:14   ` Geert Uytterhoeven
2025-08-19  7:52     ` Lad, Prabhakar [this message]
2025-08-12 20:03 ` [PATCH 07/13] arm64: dts: renesas: rzt2h-evk-common: Add pinctrl for SCI0 node Prabhakar
2025-08-18 13:35   ` Geert Uytterhoeven
2025-08-18 13:36     ` Geert Uytterhoeven
2025-08-18 15:41     ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 08/13] arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Enable I2C0 and I2C1 support Prabhakar
2025-08-18 13:40   ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 09/13] arm64: dts: renesas: r9a09g087m44-rzt2h-evk: " Prabhakar
2025-08-18 13:51   ` Geert Uytterhoeven
2025-08-18 15:42     ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 10/13] arm64: dts: renesas: rzt2h-evk-common: Enable EEPROM on I2C0 Prabhakar
2025-08-18 14:19   ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 11/13] arm64: dts: renesas: rzt2h/rzn2h: Enable eMMC Prabhakar
2025-08-18 16:01   ` Geert Uytterhoeven
2025-08-19  7:59     ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 12/13] arm64: dts: renesas: rzt2h/rzn2h: Enable MicroSD card slot Prabhakar
2025-08-18 16:02   ` Geert Uytterhoeven
2025-08-19  8:09     ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 13/13] arm64: dts: renesas: rzt2h/rzn2h: Enable SD " Prabhakar
2025-08-18 16:03   ` Geert Uytterhoeven
2025-08-19  8:20     ` Lad, Prabhakar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+V-a8tT16aSiAdH6NUc7bfAb71_Bu3q-Ttp7Lw5A8z0y-3Avw@mail.gmail.com \
    --to=prabhakar.csengg@gmail.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).