From: Alexandre TORGUE <alexandre.torgue@foss.st.com>
To: Patrick Delaunay <patrick.delaunay@foss.st.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH] arm64: dts: st: add power domain on stm32mp25
Date: Wed, 5 Jun 2024 10:08:20 +0200 [thread overview]
Message-ID: <802522eb-c226-446c-b03a-ebe6f511ddcf@foss.st.com> (raw)
In-Reply-To: <20240425174519.1.I443a218decda670093bc621165e3052db14d4c02@changeid>
Hello Patrick
On 4/25/24 17:45, Patrick Delaunay wrote:
> Add power domains on STM32MP25x SoC for supported low power modes:
> - CPU_PD0/1: domain for idle of each core Cortex A35 (CStop)
> - CLUSTER_PD: D1 domain with Stop1 and LP-Stop1 modes support when
> the Cortex A35 cluster and each device assigned to CPU1=CA35
> are deactivated
> - RET_PD: D1 domain retention (VDDCore is reduced) to support
> the LPLV-Stop1 mode
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
Applied on stm32-next.
Thanks!!
Alex
> arch/arm64/boot/dts/st/stm32mp251.dtsi | 16 ++++++++++++++++
> arch/arm64/boot/dts/st/stm32mp253.dtsi | 9 +++++++++
> 2 files changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
> index af1444bf9442..4beb0a0bef4f 100644
> --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
> @@ -18,6 +18,8 @@ cpu0: cpu@0 {
> device_type = "cpu";
> reg = <0>;
> enable-method = "psci";
> + power-domains = <&CPU_PD0>;
> + power-domain-names = "psci";
> };
> };
>
> @@ -104,6 +106,20 @@ intc: interrupt-controller@4ac00000 {
> psci {
> compatible = "arm,psci-1.0";
> method = "smc";
> +
> + CPU_PD0: power-domain-cpu0 {
> + #power-domain-cells = <0>;
> + power-domains = <&CLUSTER_PD>;
> + };
> +
> + CLUSTER_PD: power-domain-cluster {
> + #power-domain-cells = <0>;
> + power-domains = <&RET_PD>;
> + };
> +
> + RET_PD: power-domain-retention {
> + #power-domain-cells = <0>;
> + };
> };
>
> timer {
> diff --git a/arch/arm64/boot/dts/st/stm32mp253.dtsi b/arch/arm64/boot/dts/st/stm32mp253.dtsi
> index af48e82efe8a..79c02ef2e51e 100644
> --- a/arch/arm64/boot/dts/st/stm32mp253.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp253.dtsi
> @@ -12,6 +12,8 @@ cpu1: cpu@1 {
> device_type = "cpu";
> reg = <1>;
> enable-method = "psci";
> + power-domains = <&CPU_PD1>;
> + power-domain-names = "psci";
> };
> };
>
> @@ -20,4 +22,11 @@ arm-pmu {
> <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-affinity = <&cpu0>, <&cpu1>;
> };
> +
> + psci {
> + CPU_PD1: power-domain-cpu1 {
> + #power-domain-cells = <0>;
> + power-domains = <&CLUSTER_PD>;
> + };
> + };
> };
prev parent reply other threads:[~2024-06-05 8:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 15:45 Patrick Delaunay
2024-06-05 8:08 ` Alexandre TORGUE [this message]
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=802522eb-c226-446c-b03a-ebe6f511ddcf@foss.st.com \
--to=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=patrick.delaunay@foss.st.com \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®