From: Mark Rutland <mark.rutland@arm.com>
To: "S.H. Xie" <shaohui.xie@nxp.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"will.deacon@arm.com" <will.deacon@arm.com>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"arnd@arndb.de" <arnd@arndb.de>, Vincent Hu <mingkai.hu@nxp.com>,
Horia Geanta Neag <horia.geanta@nxp.com>,
Mihai Emilian Bantea <mihai.bantea@nxp.com>,
"C.H. Zhao" <chenhui.zhao@nxp.com>,
"Q.Y. Gong" <qianyu.gong@nxp.com>,
"M.H. Lian" <minghuan.lian@nxp.com>,
"Z.Q. Hou" <zhiqiang.hou@nxp.com>
Subject: Re: [PATCH 3/7] [v2] arm64: dts: add QorIQ LS1046A SoC support
Date: Fri, 9 Sep 2016 10:10:52 +0100 [thread overview]
Message-ID: <20160909091052.GA10562@leverpostej> (raw)
In-Reply-To: <DB5PR0401MB21831908B0438CEA29921A71E8FA0@DB5PR0401MB2183.eurprd04.prod.outlook.com>
On Fri, Sep 09, 2016 at 06:55:30AM +0000, S.H. Xie wrote:
> > On Thu, Sep 08, 2016 at 02:13:26PM +0100, Mark Rutland wrote:
> > > On Mon, Sep 05, 2016 at 06:01:31PM +0800, shh.xie@gmail.com wrote:
> > > > + cpus {
> > > > + #address-cells = <1>;
> > > > + #size-cells = <0>;
> > > > +
> > > > + cpu0: cpu@0 {
> > > > + device_type = "cpu";
> > > > + compatible = "arm,cortex-a72";
> > > > + reg = <0x0>;
> > > > + clocks = <&clockgen 1 0>;
> > > > + next-level-cache = <&l2>;
> > > > + cpu-idle-states = <&CPU_PH20>;
> > > > + };
> > >
> > > [...]
> > >
> > > > + };
> > > > +
> > > > + idle-states {
> > > > + entry-method = "arm,psci";
> > > > +
> > > > + CPU_PH20: cpu-ph20 {
> > > > + compatible = "arm,idle-state";
> > > > + idle-state-name = "PH20";
> > > > + arm,psci-suspend-param = <0x00010000>;
> > > > + entry-latency-us = <1000>;
> > > > + exit-latency-us = <1000>;
> > > > + min-residency-us = <3000>;
> > > > + };
> > > > + };
> > >
> > > There's no PSCI node in this file, and none from am included file, so
> > > this doesn't look right.
> >
> > Looking again, none of the cpu nodes has an enable-method property, and
> > subsequent patches don't seem to add that to any cpu node.
> >
> > Has this DT actually been tested?
> [S.H] The PSCI node and the enable-method property are added by U-boot.
> U-boot can determine if using PSCI. If U-boot enables PSCI, it will add these
> missed parts in the dts. If not, it will not add these missed parts,
> so kernel will not use PSCI.
>
> In other words, the dts does not enable PSCI by default.
> It's U-boot which adds the missed part if it determines to use PSCI.
Ok. Could you please place a comment in the dts to that effect?
Thanks,
Mark.
next prev parent reply other threads:[~2016-09-09 9:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 10:01 [PATCH 0/7] [v2] arm64: dts: add QorIQ LS1046A SoC and boards support shh.xie
2016-09-05 10:01 ` [PATCH 1/7] [v2] dt-bindings: fsl: updates bindings for some SoC-specific devices shh.xie
[not found] ` <1473069695-33092-2-git-send-email-shh.xie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-08 2:30 ` Shawn Guo
2016-09-08 10:57 ` S.H. Xie
2016-09-05 10:01 ` [PATCH 2/7] [v2] dt-bindings: i2c: adds two more nxp devices shh.xie
[not found] ` <1473069695-33092-3-git-send-email-shh.xie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-12 16:33 ` Rob Herring
2016-09-05 10:01 ` [PATCH 3/7] [v2] arm64: dts: add QorIQ LS1046A SoC support shh.xie
2016-09-08 13:05 ` Shawn Guo
2016-09-09 6:46 ` S.H. Xie
2016-09-08 13:13 ` Mark Rutland
2016-09-08 13:18 ` Mark Rutland
2016-09-09 6:55 ` S.H. Xie
2016-09-09 9:10 ` Mark Rutland [this message]
2016-09-09 9:17 ` S.H. Xie
2016-09-09 6:48 ` S.H. Xie
[not found] ` <1473069695-33092-4-git-send-email-shh.xie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-08 13:23 ` Marc Zyngier
2016-09-09 9:00 ` S.H. Xie
2016-09-05 10:01 ` [PATCH 4/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-RDB board shh.xie
2016-09-05 10:01 ` [PATCH 5/7] [v2] arm64: dts: add LS1046A-RDB board support shh.xie
2016-09-08 13:12 ` Shawn Guo
2016-09-09 6:44 ` S.H. Xie
2016-09-05 10:01 ` [PATCH 6/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-QDS board shh.xie
2016-09-05 10:01 ` [PATCH 7/7] [v2] arm64: dts: add LS1046A-QDS board support shh.xie
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=20160909091052.GA10562@leverpostej \
--to=mark.rutland@arm.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=chenhui.zhao@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=horia.geanta@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mihai.bantea@nxp.com \
--cc=minghuan.lian@nxp.com \
--cc=mingkai.hu@nxp.com \
--cc=qianyu.gong@nxp.com \
--cc=robh+dt@kernel.org \
--cc=shaohui.xie@nxp.com \
--cc=shawnguo@kernel.org \
--cc=will.deacon@arm.com \
--cc=zhiqiang.hou@nxp.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).