mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Delaunay <patrick.delaunay@foss.st.com>
To: Ulf Hansson <ulfh@kernel.org>,
	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>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: <linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>
Subject: [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains
Date: Fri, 27 Nov 2026 19:18:24 +0100	[thread overview]
Message-ID: <20261127181958.113639-1-patrick.delaunay@foss.st.com> (raw)


Hello,

Version 2 of [1], updated after review.

This series adds PSCI power-domain topology and models the STM32MP2
D1 functional dependency for STM32MP25, STM32MP23 and STM32MP21.

Some peripherals in the D2 domain, powered by VDD_CORE, are assigned
by RIFSC to CPU1. Their RCC clocks are available only while the
Cortex-A35 cluster, powered by VDD_CPU, is active.

The D1 domain describes this SoC restriction (see the PWR table
"Functionalities depending on system operating mode") in DT rather than
requiring individual drivers to know about it. This domain is placed
below the PSCI cluster domain so that active devices prevent the cluster
from entering an incompatible idle state.

D1 does not control a separate power switch and does not model the
wakeup path. Wakeup routing is handled separately through EXTI1 and
the retention power domain (PSCI domain with GENPD_FLAG_ACTIVE_WAKEUP).

The series adds the DT binding, the generic power-domain provider
driver, the MAINTAINERS entry and the device-tree changes for the
three STM32MP2 families.

Regards,
Patrick

[1] arm64: dts: st: add STM32MP2 power domains
https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1201830
https://lore.kernel.org/all/20261104135604.907283-1-patrick.delaunay@foss.st.com/
https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1212599
https://lore.kernel.org/all/20261116104054.94115-1-patrick.delaunay@foss.st.com/


Changes in v2:
- update commit message
- update binding description
- move additionalProperties after required
- rename "power-domain-d1" to generic name "power-controller"
- remove "generic" in binding title

Patrick Delaunay (7):
  dt-bindings: power: st: add STM32MP PM domain
  pmdomain: st: add STM32MP power domain
  MAINTAINERS: add entry for ST STM32 power domain driver
  arm64: dts: st: add D1 domain for STM32MP25 family
  arm64: dts: st: fix power-domain labels DT coding style in STM32MP25
  arm64: dts: st: add D1 domain for STM32MP23 family
  arm64: dts: st: add power domains for STM32MP21 family

 .../bindings/power/st,stm32mp-pm-domain.yaml  |  48 +++++++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/st/stm32mp211.dtsi        |  37 +++++
 arch/arm64/boot/dts/st/stm32mp231.dtsi        |  54 +++++---
 arch/arm64/boot/dts/st/stm32mp233.dtsi        |   1 +
 arch/arm64/boot/dts/st/stm32mp235.dtsi        |   2 +-
 arch/arm64/boot/dts/st/stm32mp251.dtsi        | 126 ++++++++++-------
 arch/arm64/boot/dts/st/stm32mp253.dtsi        |   9 +-
 arch/arm64/boot/dts/st/stm32mp255.dtsi        |   2 +-
 drivers/pmdomain/st/Kconfig                   |  14 ++
 drivers/pmdomain/st/Makefile                  |   1 +
 drivers/pmdomain/st/stm32mp-pm-domain.c       | 128 ++++++++++++++++++
 12 files changed, 355 insertions(+), 74 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
 create mode 100644 drivers/pmdomain/st/stm32mp-pm-domain.c

---
base-commit: 9437ee8b6cf607e883b36e44bd755968daaebd48
branch: stm32mp_d1_domain

-- 
2.43.0


             reply	other threads:[~2026-11-27 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:18 Patrick Delaunay [this message]
2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 3/7] MAINTAINERS: add entry for ST STM32 power domain driver Patrick Delaunay

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=20261127181958.113639-1-patrick.delaunay@foss.st.com \
    --to=patrick.delaunay@foss.st.com \
    --cc=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-pm@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh@kernel.org \
    --cc=ulfh@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®