From: Scott Wood <scottwood@freescale.com>
To: Liu Shengzhou-B36685 <Shengzhou.Liu@freescale.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC
Date: Mon, 30 Mar 2015 22:37:18 -0500 [thread overview]
Message-ID: <1427773038.22867.218.camel@freescale.com> (raw)
In-Reply-To: <DM2PR03MB398FAC6511FC9B94CEC4B03F8F40@DM2PR03MB398.namprd03.prod.outlook.com>
On Mon, 2015-03-30 at 22:32 -0500, Liu Shengzhou-B36685 wrote:
> > > > There are other differences between t1023 an t1024. Where do you
> > > > describe t1024's QE? Where do you describe the DDR and IFC differences?
> > > > can they be detected at runtime? t1024 supports deep sleep, but
> > > > t1023 doesn't -- yet you label both chips as having t1024 rcpm.
> > > >
> > > As QE IP block has not been upstream yet,
> > Huh?
> > arch/powerpc/sysdev/qe_lib/
>
> arch/powerpc/boot/dts/fsl/qoriq-tdm1.0.dtsi has not been upstream by TDM owner.
> Ok, I will first send qoriq-tdm1.0.dtsi upstream in order to include QE in t1024 dts.
Thanks, but make sure there's also a binding for it.
> > > DDR and IFC differences are in u-boot, not in dts.
> > The differences are in hardware, which is what the dts is supposed to describe.
>
> Theoretically I think so, but not all hardware details must be described in dts
No, but all hardware should be properly identified.
> as current IP driver doesn't take care of it from dts.
The device tree describes the hardware, not the driver.
> If so, IP owners will have to update drivers, for now let's keep as it's.
Please don't use the phrase "IP owner" in upstream discussions. Besides
being a bad name for "maintainer", SDK maintainership isn't relevant
here.
> > > Both t1023 and t1024 support sleep, so label both chips as having t1024 rcpm.
> >
> > That's not how it works.
> >
> > > Only t1024 has deep sleep, the difference is identified in *.c not in dts (confirmed with deep sleep owner).
> >
> > Even if the C code chooses to use SVR to identify the difference (why?),
> > that doesn't mean it's OK for the device tree to contain wrong information.
>
> Where is the wrong information?
>
> rcpm: global-utilities@e2000 {
> compatible = "fsl,t1024-rcpm", "fsl,qoriq-rcpm-2.0";
> reg = <0xe2000 0x1000>;
> };
>
> sdhc@114000 {
> compatible = "fsl,t1024-esdhc", "fsl,esdhc";
> fsl,iommu-parent = <&pamu0>;
> fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
> sdhci,auto-cmd12;
> no-1-8-v;
> sleep = <&rcpm 0x00000080>;
> };
> t1023 also supports sleep(not deep sleep), it needs the info above.
The part that's wrong is where it says "t1024". It's not t1024 and for
rcpm it's not 100% compatible with t1024.
-Scott
next prev parent reply other threads:[~2015-03-31 3:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 7:52 [PATCH 1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC Shengzhou Liu
2015-01-29 7:52 ` [PATCH 2/4] powerpc/fsl-booke: Add T1024 QDS board support Shengzhou Liu
2015-01-29 7:52 ` [PATCH 3/4] powerpc/fsl-booke: Add T1024RDB " Shengzhou Liu
2015-01-29 7:52 ` [PATCH 4/4] powerpc/fsl-booke: Add T1023 RDB " Shengzhou Liu
2015-01-30 1:19 ` [1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC Scott Wood
2015-03-30 11:08 ` Shengzhou.Liu
2015-03-30 23:00 ` Scott Wood
2015-03-31 3:32 ` Shengzhou.Liu
2015-03-31 3:37 ` Scott Wood [this message]
2015-01-30 1:24 ` 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=1427773038.22867.218.camel@freescale.com \
--to=scottwood@freescale.com \
--cc=Shengzhou.Liu@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/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).