RE: [PATCH v3] arm64: dts: renesas: Add mmc aliases into board dts files

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

 



Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Thursday, February 25, 2021 9:47 PM
> On Thu, Feb 25, 2021 at 1:16 PM Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote:
<snip>
> > ---
> >  Changes from v2:
> >  - Set the aliases into board dts files for consistency with R-Car Gen2.
> >  - Change the subject.
> >  - Add Fixes tag.
> 
> Thanks for the update!
> 
> LGTM, so
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Thank you for your review!

> > --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
> > @@ -36,6 +36,9 @@
> >                 serial0 = &scif2;
> >                 serial1 = &hscif1;
> >                 ethernet0 = &avb;
> > +               mmc0 = &sdhi0;
> > +               mmc1 = &sdhi2;
> > +               mmc2 = &sdhi3;
> >         };
> 
> Looks like on Salvator-X(S) the two SD card slots are labeled
> SD0 and SD3, so the last one should be mmc3?
> 
> What's most important? Getting the naming right, or matching the
> traditional naming?

Most important is stable these mmcblkN naming for using it on
the "root=" parameter :)

I don't have a strong opinion though, IMO, matching the traditional naming
is better than board labeled because:
- we don't need to add any alias into a board dts if the board is using one
  sdhi/eMMC only like r8a77995-draak.dts.
- also, the traditional naming is familiar to us.

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