RE: [PATCH v2] arm64: dts: renesas: add sdhi/mmc aliases

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

 



Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Monday, February 8, 2021 8:45 PM
> On Mon, Feb 8, 2021 at 11:53 AM Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote:
> > > From: Geert Uytterhoeven, Sent: Monday, February 8, 2021 6:46 PM
> > > On Mon, Feb 8, 2021 at 3:48 AM Yoshihiro Shimoda
> > > <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote:
<snip>
> > if possible, I'd like to apply this patch v5.10.xx too.
> > So, should/may I add the following Fixes tag for it?
> >
> > Fixes: 7320915c8861 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14")
> 
> I can add the tag while applying.

Thanks!

<snip>
> > > > --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
> > > > +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
> > > > @@ -14,6 +14,12 @@
> > > >         #address-cells = <2>;
> > > >         #size-cells = <2>;
> > > >
> > > > +       aliases {
> > > > +               mmc0 = &sdhi0;
> > > > +               mmc1 = &sdhi1;
> > > > +               mmc3 = &sdhi3;
> > > > +       };
> > >
> > > BTW, this is one of the other issues with aliases: where is mmc2?
> > > Yes, I know why it's done this way ;-)
> >
> > Ah, I intended to assign the aliases 1:1 between "mmcN" and "sdhiN".
> > But, should we use "mmc2 = &sdhi3;" instead on r8a774c0 and r8a77990?
> 
> I'm fine with the numbering you used, as the aliases match the existing
> labels.
> 
> However, on R-Car Gen2 we did use contiguous numbering of the labels,
> as early revisions of the datasheet used contiguous numbering for the
> interfaces, while later revisions changed this.
> I think the sensible thing to do is to make the aliases match the existing
> labels, too.

Thank you for the comment about R-Car Gen2. I didn't realized that.
On R-Car Gen2 SoCs, they also have mmcif controllers. So, I'm thinking
the mmc aliases should use contiguous numbering for Gen2 mmcif and sdhi
at least. And, perhaps, I feel using same this rule (contiguous numbering) on
Gen3 is better. But, what do you think?

Best regards,
Yoshihiro Shimoda





[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