All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	"linux-renesas-soc@vger.kernel.org" 
	<linux-renesas-soc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Jacopo Mondi <jacopo@jmondi.org>
Subject: RE: [PATCH 3/3] arm64: dts: renesas: v2mevk2: Add uSD card and eMMC support
Date: Wed, 25 Jan 2023 15:09:26 +0000	[thread overview]
Message-ID: <TYWPR01MB8775E63B3C3F5E0F3AAD2BBEC2CE9@TYWPR01MB8775.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CAMuHMdXGDETQfOZ4S6_0AZa6QCJ3Kv=hMVHHS7j7tcNJ76GaTg@mail.gmail.com>

Hi Geert,

Thanks for your feedback!

> 
> Hi Fabrizio,
> 
> On Wed, Jan 18, 2023 at 3:48 PM Fabrizio Castro
> <fabrizio.castro.jz@renesas.com> wrote:
> > The RZ/V2M EVK comes with a slot for a uSD card, and an eMMC.
> > Add support for the both of them.
> >
> > Please note that the pinctrl driver for RZ/V2M doesn't support
> > interrupts yet, therefore the card detect pin has been connected
> > to the SDHI IP directly in this patch.
> > We'll connect the card detect pin to its corresponding GPIO when
> > we'll have driver support for interrupts in the RZ/V2M pinctrl
> > driver.
> >
> > Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
> 
> Thanks for your patch!
> 
> > --- a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts
> > +++ b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts
> 
> > @@ -50,6 +81,22 @@ phy0: ethernet-phy@0 {
> >         };
> >  };
> >
> > +&emmc {
> > +       pinctrl-0 = <&emmc_pins>;
> > +       pinctrl-1 = <&emmc_pins>;
> > +       pinctrl-names = "default", "state_uhs";
> > +
> > +       vmmc-supply = <&reg_3v3>;
> > +       vqmmc-supply = <&reg_1v8>;
> > +       bus-width = <8>;
> > +       mmc-hs200-1_8v;
> > +       non-removable;
> 
> Does this need "no-sd" and "no-sdio"?

I totally missed that.
I'll add those, retest, and I'll update the patch.

> 
> > +       fixed-emmc-driver-type = <1>;
> > +       max-frequency = <200000000>;
> > +       status = "okay";
> > +};
> > +
> > +
> >  &extal_clk {
> >         clock-frequency = <48000000>;
> >  };
> > @@ -78,6 +125,68 @@ i2c2_pins: i2c2 {
> >                 pinmux = <RZV2M_PORT_PINMUX(3, 8, 2)>, /* SDA */
> >                          <RZV2M_PORT_PINMUX(3, 9, 2)>; /* SCL */
> >         };
> > +
> > +       sdhi0_pins: sd0 {
> 
> [...]
> 
> > +       };
> > +
> > +       sdhi0_pins_uhs: sd0_uhs {
> 
> [...]
> 
> > +       };
> > +
> > +       emmc_pins: emmc {
> 
> Please move up to preserve sort order.

I'll fix that in the new version of the patch.

Thanks,
Fab

> 
> The rest LGTM, so with the above clarified/fixed:
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> 
> 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

      reply	other threads:[~2023-01-25 15:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 14:47 [PATCH 0/3] Add PWC, uSD and eMMC support to RZ/V2M EVK Fabrizio Castro
2023-01-18 14:47 ` [PATCH 1/3] arm64: dts: renesas: r9a09g011: Add PWC support Fabrizio Castro
2023-01-25 13:35   ` Geert Uytterhoeven
2023-01-18 14:47 ` [PATCH 2/3] arm64: dts: renesas: v2mevk2: " Fabrizio Castro
2023-01-25 13:42   ` Geert Uytterhoeven
2023-01-18 14:47 ` [PATCH 3/3] arm64: dts: renesas: v2mevk2: Add uSD card and eMMC support Fabrizio Castro
2023-01-25 14:27   ` Geert Uytterhoeven
2023-01-25 15:09     ` Fabrizio Castro [this message]

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=TYWPR01MB8775E63B3C3F5E0F3AAD2BBEC2CE9@TYWPR01MB8775.jpnprd01.prod.outlook.com \
    --to=fabrizio.castro.jz@renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=geert@linux-m68k.org \
    --cc=jacopo@jmondi.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.