From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> To: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Mark Rutland <mark.rutland@arm.com>, Sudeep Holla <sudeep.holla@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Charles Garcia Tobin <Charles.Garcia-Tobin@arm.com>, Nicolas Pitre <nico@linaro.org>, Rob Herring <robh+dt@kernel.org>, Grant Likely <grant.likely@linaro.org>, Peter De Schrijver <pdeschrijver@nvidia.com>, Santosh Shilimkar <santosh.shilimkar@ti.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amit.kucheria@linaro.org>, Vincent Guittot <vincent.guittot@linaro.org>, Antti Miettinen <ananaza@iki.fi>, Stephen Boyd <sboyd@codeaurora.org>, Kevin Hilman <khilman@linaro.org>, Sebastian Capella <sebcape@gmail.com>, Tomasz Figa <t.figa@samsung.com>, Mark Brown <broonie@kernel.org>, Paul Walmsley <paul@pwsan.com>, Chander Kashyap <chander.kashyap@linaro.org> Subject: [PATCH v5 2/8] Documentation: devicetree: psci: define CPU suspend parameter Date: Wed, 25 Jun 2014 15:10:15 +0100 [thread overview] Message-ID: <1403705421-17597-3-git-send-email-lorenzo.pieralisi@arm.com> (raw) In-Reply-To: <1403705421-17597-1-git-send-email-lorenzo.pieralisi@arm.com> OS layers built on top of PSCI to enter low-power states require the power_state parameter to be passed to the PSCI CPU suspend method. This parameter is specific to a power state and platform specific, therefore must be provided by firmware to the OS in order to enable proper call sequence. This patch adds a property in the PSCI bindings that describes how the CPU suspend power_state parameter should be defined in DT in all device nodes that rely on PSCI CPU suspend method usage. Reviewed-by: Sebastian Capella <sebcape@gmail.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> --- Documentation/devicetree/bindings/arm/psci.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index b4a58f3..fae3eed 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt @@ -50,6 +50,14 @@ Main node optional properties: - migrate : Function ID for MIGRATE operation +Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle +states bindings[1]) must specify the following properties: + +- entry-method-param + Usage: Required for idle states bindings [1]. + Value type: <u32> + Definition: power_state parameter to pass to the PSCI + suspend call. Example: @@ -64,7 +72,6 @@ Case 1: PSCI v0.1 only. migrate = <0x95c10003>; }; - Case 2: PSCI v0.2 only psci { @@ -88,3 +95,6 @@ Case 3: PSCI v0.2 and PSCI v0.1. ... }; + +[1] Kernel documentation - ARM idle states bindings + Documentation/devicetree/bindings/arm/idle-states.txt -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: lorenzo.pieralisi@arm.com (Lorenzo Pieralisi) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 2/8] Documentation: devicetree: psci: define CPU suspend parameter Date: Wed, 25 Jun 2014 15:10:15 +0100 [thread overview] Message-ID: <1403705421-17597-3-git-send-email-lorenzo.pieralisi@arm.com> (raw) In-Reply-To: <1403705421-17597-1-git-send-email-lorenzo.pieralisi@arm.com> OS layers built on top of PSCI to enter low-power states require the power_state parameter to be passed to the PSCI CPU suspend method. This parameter is specific to a power state and platform specific, therefore must be provided by firmware to the OS in order to enable proper call sequence. This patch adds a property in the PSCI bindings that describes how the CPU suspend power_state parameter should be defined in DT in all device nodes that rely on PSCI CPU suspend method usage. Reviewed-by: Sebastian Capella <sebcape@gmail.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> --- Documentation/devicetree/bindings/arm/psci.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt index b4a58f3..fae3eed 100644 --- a/Documentation/devicetree/bindings/arm/psci.txt +++ b/Documentation/devicetree/bindings/arm/psci.txt @@ -50,6 +50,14 @@ Main node optional properties: - migrate : Function ID for MIGRATE operation +Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle +states bindings[1]) must specify the following properties: + +- entry-method-param + Usage: Required for idle states bindings [1]. + Value type: <u32> + Definition: power_state parameter to pass to the PSCI + suspend call. Example: @@ -64,7 +72,6 @@ Case 1: PSCI v0.1 only. migrate = <0x95c10003>; }; - Case 2: PSCI v0.2 only psci { @@ -88,3 +95,6 @@ Case 3: PSCI v0.2 and PSCI v0.1. ... }; + +[1] Kernel documentation - ARM idle states bindings + Documentation/devicetree/bindings/arm/idle-states.txt -- 1.9.1
next prev parent reply other threads:[~2014-06-25 14:10 UTC|newest] Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-25 14:10 [PATCH v5 0/8] ARM generic idle states Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 14:10 ` [PATCH v5 1/8] Documentation: arm: define DT idle states bindings Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 14:58 ` Mark Rutland 2014-06-25 14:58 ` Mark Rutland 2014-06-25 17:37 ` Lorenzo Pieralisi 2014-06-25 17:37 ` Lorenzo Pieralisi 2014-06-26 18:32 ` Rob Herring 2014-06-26 18:32 ` Rob Herring 2014-06-27 10:53 ` Lorenzo Pieralisi 2014-06-27 10:53 ` Lorenzo Pieralisi 2014-06-25 15:56 ` Nicolas Pitre 2014-06-25 15:56 ` Nicolas Pitre 2014-06-26 10:17 ` Lorenzo Pieralisi 2014-06-26 10:17 ` Lorenzo Pieralisi 2014-06-26 19:30 ` Nicolas Pitre 2014-06-26 19:30 ` Nicolas Pitre 2014-06-25 14:10 ` Lorenzo Pieralisi [this message] 2014-06-25 14:10 ` [PATCH v5 2/8] Documentation: devicetree: psci: define CPU suspend parameter Lorenzo Pieralisi 2014-06-25 14:10 ` [PATCH v5 3/8] drivers: cpuidle: implement DT based idle states infrastructure Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 15:59 ` Mark Rutland 2014-06-25 15:59 ` Mark Rutland 2014-06-26 16:01 ` Lorenzo Pieralisi 2014-06-26 16:01 ` Lorenzo Pieralisi [not found] ` <1403705421-17597-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> 2014-06-25 14:10 ` [PATCH v5 4/8] arm64: add PSCI CPU_SUSPEND based cpu_suspend support Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 16:09 ` Mark Rutland 2014-06-25 16:09 ` Mark Rutland 2014-06-26 11:23 ` Lorenzo Pieralisi 2014-06-26 11:23 ` Lorenzo Pieralisi 2014-06-25 20:52 ` Geoff Levand 2014-06-25 20:52 ` Geoff Levand 2014-06-26 16:55 ` Lorenzo Pieralisi 2014-06-26 16:55 ` Lorenzo Pieralisi 2014-06-25 14:10 ` [PATCH v5 5/8] drivers: cpuidle: CPU idle ARM64 driver Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 20:34 ` Geoff Levand 2014-06-25 20:34 ` Geoff Levand 2014-06-25 14:10 ` [PATCH v5 6/8] drivers: cpuidle: initialize big.LITTLE driver through DT Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 15:06 ` Mark Rutland 2014-06-25 15:06 ` Mark Rutland 2014-06-25 16:44 ` Lorenzo Pieralisi 2014-06-25 16:44 ` Lorenzo Pieralisi 2014-06-25 14:10 ` [PATCH v5 7/8] drivers: cpuidle: initialize Exynos " Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 15:13 ` Mark Rutland 2014-06-25 15:13 ` Mark Rutland 2014-06-25 16:58 ` Lorenzo Pieralisi 2014-06-25 16:58 ` Lorenzo Pieralisi 2014-06-25 15:23 ` Bartlomiej Zolnierkiewicz 2014-06-25 15:23 ` Bartlomiej Zolnierkiewicz 2014-06-26 15:16 ` Lorenzo Pieralisi 2014-06-26 15:16 ` Lorenzo Pieralisi 2014-07-17 14:20 ` Lorenzo Pieralisi 2014-07-17 14:20 ` Lorenzo Pieralisi 2014-07-18 8:45 ` Chander Kashyap 2014-07-18 8:45 ` Chander Kashyap 2014-07-18 16:10 ` Bartlomiej Zolnierkiewicz 2014-07-18 16:10 ` Bartlomiej Zolnierkiewicz 2014-06-25 14:10 ` [PATCH v5 8/8] arm64: boot: dts: update rtsm aemv8 dts with PSCI and idle states Lorenzo Pieralisi 2014-06-25 14:10 ` Lorenzo Pieralisi 2014-06-25 14:27 ` Mark Rutland 2014-06-25 14:27 ` Mark Rutland 2014-06-25 17:47 ` Lorenzo Pieralisi 2014-06-25 17:47 ` Lorenzo Pieralisi 2014-06-25 14:29 ` Sudeep Holla 2014-06-25 14:29 ` Sudeep Holla
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=1403705421-17597-3-git-send-email-lorenzo.pieralisi@arm.com \ --to=lorenzo.pieralisi@arm.com \ --cc=Charles.Garcia-Tobin@arm.com \ --cc=amit.kucheria@linaro.org \ --cc=ananaza@iki.fi \ --cc=broonie@kernel.org \ --cc=catalin.marinas@arm.com \ --cc=chander.kashyap@linaro.org \ --cc=daniel.lezcano@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=grant.likely@linaro.org \ --cc=khilman@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-pm@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=nico@linaro.org \ --cc=paul@pwsan.com \ --cc=pdeschrijver@nvidia.com \ --cc=robh+dt@kernel.org \ --cc=santosh.shilimkar@ti.com \ --cc=sboyd@codeaurora.org \ --cc=sebcape@gmail.com \ --cc=sudeep.holla@arm.com \ --cc=t.figa@samsung.com \ --cc=vincent.guittot@linaro.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.