Re: [PATCH 2/3] arm64: dts: renesas: r8a7795: sort subnodes of the cpu node

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

 



On Wed, Mar 07, 2018 at 10:49:47AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Wed, Mar 7, 2018 at 10:40 AM, Simon Horman
> <horms+renesas@xxxxxxxxxxxx> wrote:
> > Sort subnodes of the cpu node alphanumerically.
> >
> > This is part of an ongoing effort to provide consistent node
> > order in the DT of Renesas SoCs to improve maintainability.
> >
> > This should not have any run-time effect.
> >
> > Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>
> 
> Thanks for your patch!
> 
> > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> > @@ -34,6 +34,50 @@
> >                 #address-cells = <1>;
> >                 #size-cells = <0>;
> >
> > +               a53_0: cpu@100 {
> > +                       compatible = "arm,cortex-a53", "arm,armv8";
> > +                       reg = <0x100>;
> > +                       device_type = "cpu";
> > +                       power-domains = <&sysc R8A7795_PD_CA53_CPU0>;
> > +                       next-level-cache = <&L2_CA53>;
> > +                       enable-method = "psci";
> > +                       clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
> > +                       operating-points-v2 = <&cluster1_opp>;
> > +               };
> 
> [...]
> 
> >                 a57_0: cpu@0 {
> >                         compatible = "arm,cortex-a57", "arm,armv8";
> >                         reg = <0x0>;
> 
> Given the CPU nodes do have reg properties and unit addresses, shouldn't
> they be sorted by these values, instead of alphabetically?

Thanks, I agree.

It looks like the nodes are already sorted according to that order
so I withdraw this patch.



[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