linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Zhang Haijun-B42677 <B42677@freescale.com>
Cc: Wood Scott-B07421 <B07421@freescale.com>,
	Huang Changming-R66093 <r66093@freescale.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Xie Xiaobo-R63061 <r63061@freescale.com>
Subject: Re: 答复: [PATCH 2/2] powerpc/85xx: add the P1020RDB-PD DTS support
Date: Mon, 8 Jul 2013 12:08:58 -0500	[thread overview]
Message-ID: <1373303338.8183.161@snotra> (raw)
In-Reply-To: <99E897753B6F7048BD8CCDB4661D02E1362C90@039-SN2MPN1-023.039d.mgd.msft.net> (from B42677@freescale.com on Wed Jul  3 21:04:40 2013)

On 07/03/2013 09:04:40 PM, Zhang Haijun-B42677 wrote:
>=20
>=20
> Regards & Thanks
>=20
> Haijun.
>=20
> ________________________________________
> =E5=8F=91=E4=BB=B6=E4=BA=BA: Wood Scott-B07421
> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2013=E5=B9=B47=E6=9C=883=E6=97=A5 1=
9:09
> =E6=94=B6=E4=BB=B6=E4=BA=BA: Zhang Haijun-B42677
> Cc: galak@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Zhang =20
> Haijun-B42677; Huang Changming-R66093
> =E4=B8=BB=E9=A2=98: Re: [PATCH 2/2] powerpc/85xx: add the P1020RDB-PD DTS=
 support
>=20
> On 06/30/2013 11:12:23 PM, Haijun Zhang wrote:
> > From: "Haijun.Zhang" <Haijun.Zhang@freescale.com>
> >
> > Overview of P1020RDB-PD device:
> > - DDR3 2GB
> > - NOR flash 64MB
> > - NAND flash 128MB
> > - SPI flash 16MB
> > - I2C EEPROM 256Kb
> > - eTSEC1 (RGMII PHY) connected to VSC7385 L2 switch
> > - eTSEC2 (SGMII PHY)
> > - eTSEC3 (RGMII PHY)
> > - SDHC
> > - 2 USB ports
> > - 4 TDM ports
> > - PCIe
> >
> > Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
> > Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
> > CC: Scott Wood <scottwood@freescale.com>
> > ---
> >  arch/powerpc/boot/dts/p1020rdb-pd.dtsi    | 257
> > ++++++++++++++++++++++++++++++
> >  arch/powerpc/boot/dts/p1020rdb-pd_32b.dts |  90 +++++++++++
> >  2 files changed, 347 insertions(+)
> >  create mode 100644 arch/powerpc/boot/dts/p1020rdb-pd.dtsi
> >  create mode 100644 arch/powerpc/boot/dts/p1020rdb-pd_32b.dts
>=20
> What about 36b?
>=20
> Haijun: 2G DDR was fix on P1020RDB-PD board. No need 36bit support. =20
> Also no 36bit uboot support.

So then why not just have one "p1020rdb-pd.dts"?

Or, can you have a common p1020rdb.dtsi that all the variants use, with =20
the .dts file only handling the differences?

> > +     cpld@2,0 {
> > +             #address-cells =3D <1>;
> > +             #size-cells =3D <1>;
> > +             compatible =3D "cpld";
> > +             reg =3D <0x2 0x0 0x20000>;
> > +             read-only;
> > +     };
>=20
> Where does "cpld" as a compatible come from (it's way too vague)?  =20
> What
> is read-only supposed to mean here?
>=20
> Haijun: In fact almost all board has its special CPLD. This node just =20
> copy from p1020rdb-pc board.
>=20
> So, change it to :
>=20
> cpld@2,0 {
>           compatible =3D "fsl, p1020rdb-cpld";
>           reg =3D <0x2 0x0 0x20000>;
>           read-only;
> };

Again, what is read-only supposed to mean here?  I don't care that it's =20
copied from the PC version.  It doesn't make sense, and is not =20
documented in a binding.

Is the -pd CPLD 100% identical to the -pc CPLD?  If not, shouldn't the =20
compatible note the difference between the two?

-Scott=

  reply	other threads:[~2013-07-08 17:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01  4:12 [PATCH 1/2] [PATCH] powerpc/85xx: add P1020RDB-PD platform support Haijun Zhang
2013-07-01  4:12 ` [PATCH 2/2] powerpc/85xx: add the P1020RDB-PD DTS support Haijun Zhang
2013-07-03 19:09   ` Scott Wood
2013-07-04  2:04     ` 答复: " Zhang Haijun-B42677
2013-07-08 17:08       ` Scott Wood [this message]
     [not found]         ` <99E897753B6F7048BD8CCDB4661D02E1393DBA@039-SN2MPN1-021.039d.mgd.msft.net>
2013-07-09  5:34           ` 答复: " Zhang Haijun-B42677
2013-07-09 16:09             ` Scott Wood

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=1373303338.8183.161@snotra \
    --to=scottwood@freescale.com \
    --cc=B07421@freescale.com \
    --cc=B42677@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=r63061@freescale.com \
    --cc=r66093@freescale.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).