RE: [PATCH 2/2] arm64: dts: renesas: Add support for M3ULCB with R-Car M3-W+

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

 



Hello,
Thank you for your reply.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: Monday, March 9, 2020 8:16 PM
> To: YUYA HAMAMACHI <yuya.hamamachi.sx@xxxxxxxxxxx>
> Cc: Linux-Renesas <linux-renesas-soc@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH 2/2] arm64: dts: renesas: Add support for M3ULCB with
> R-Car M3-W+
> 
> Hi Hamamachi-san,
> 
> On Mon, Mar 9, 2020 at 7:49 AM Yuya Hamamachi
> <yuya.hamamachi.sx@xxxxxxxxxxx> wrote:
> > Add initial support for the Renesas M3ULCB board equipped with an
> > R-Car
> > M3-W+ SiP with 8 (2 x 4) GiB of RAM.
> > To avoid build error on 'ulcb.dtsi', ssi2 is added into 'r8a77961.dtsi'.
> >
> > Based on commit 92980759c1699a3c10beb00f411270197ac89544
> > ("arm64: dts: renesas: Add support for Salvator-XS with R-Car M3-W+").
> >
> > Signed-off-by: Yuya Hamamachi <yuya.hamamachi.sx@xxxxxxxxxxx>
> 
> Thanks for your patch!
> 
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts
> > @@ -0,0 +1,31 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +/*
> > + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board
> > +with R-Car M3-W+
> 
> The above long line needs to be split.
> 
> > + *
> > + * Copyright (C) 2020 Renesas Electronics Corp.
> > + */
> > +
> > +/dts-v1/;
> > +#include "r8a77961.dtsi"
> > +#include "ulcb.dtsi"
> > +
> > +/ {
> > +       model = "Renesas M3ULCB board based on r8a77961";
> > +       compatible = "renesas,m3ulcb", "renesas,r8a77961";
> > +
> > +       memory@48000000 {
> > +               device_type = "memory";
> > +               /* first 128MB is reserved for secure area. */
> > +               reg = <0x0 0x48000000 0x0 0x78000000>;
> > +       };
> > +
> > +       memory@400000000 {
> 
> As Sergei pointed out, the unit-address is wrong.
> Interestingly, r8a77961-salvator-xs.dts has the same issue.
> Will send a patch.

I confirmed that patch in the BSP has same issue too.
# Maybe this patch:
#   https://github.com/renesas-rcar/linux-bsp/commit/30aa2f79e4afd90e10564b8ef816968e61d93c12
So, I think that r8a77961-salvator-xs.dts and this patch have same issue.

> > +               device_type = "memory";
> > +               reg = <0x4 0x80000000 0x0 0x80000000>;
> > +       };
> > +
> > +       memory@600000000 {
> > +               device_type = "memory";
> > +               reg = <0x6 0x00000000 0x1 0x00000000>;
> > +       };
> > +};
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue
> in renesas-devel for v5.7, with the above fixed.

Thank you for your Reviewed-by !

Thank you for your help.
Best regards,
Yuya Hamamachi





[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