mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains
@ 2026-11-27 18:18 Patrick Delaunay
  2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Patrick Delaunay @ 2026-11-27 18:18 UTC (permalink / raw)
  To: Ulf Hansson, Patrick Delaunay, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue
  Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, linux-stm32


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-27 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 18:18 [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains Patrick Delaunay
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

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®