[PATCH v3 0/7] arm64: dts: st: add STM32MP2 power domains
Patrick Delaunay
patrick.delaunay at foss.st.com
Thu Dec 3 09:15:58 PST 2026
Hello,
Version 3 of [1], updated after kernel test robot issue [2] and
sashiko issue [3].
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=1224766
https://lore.kernel.org/all/20261127181958.113639-1-patrick.delaunay@foss.st.com/
[2] [auto build test ERROR on 9437ee8b6cf607e883b36e44bd755968daaebd48]
https://lore.kernel.org/oe-kbuild-all/20261129082229.8EW1ds3V-lkp@intel.com/
[3] Sashiko: Linux
https://sashiko.dev/#/patchset/20261127181958.113639-1-patrick.delaunay%40foss.st.com
Changes in v3:
- update Kconfig dependencies to solve an issue reported by
kernel test robot and sashiko
- in the added domain: remove GENPD_FLAG_PM_CLK, devm_pm_runtime_enable
and add call of pm_genpd_remove_device and replace
pm_genpd_add_subdomain by of_genpd_add_subdomain
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 | 16 +++
drivers/pmdomain/st/Makefile | 1 +
drivers/pmdomain/st/stm32mp-pm-domain.c | 132 ++++++++++++++++++
12 files changed, 361 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
More information about the linux-arm-kernel
mailing list