Re: [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain
From: Ulf Hansson
Date: Tue Dec 01 2026 - 05:05:58 EST
On Fri, Nov 27, 2026 at 7:20 PM Patrick Delaunay
<patrick.delaunay@xxxxxxxxxxx> wrote:
>
> Document the STM32MP D1 functional-dependency power domain.
>
> Some peripherals assigned to CPU1 rely on RCC clocks that are available
> only while the Cortex-A35 cluster is active. Model this dependency as
> a child of the PSCI cluster domain, which represents the PWR CPU domain
> powered from VDD_CPU.
>
> The D1 domain does not control a separate power switch. Device wakeup
> routing is handled separately through EXTI1 and the retention power
> domain.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@xxxxxxxxxxx>
For the record, this looks good to me. Let's see what the DT maintainers think.
Kind regards
Uffe
> ---
>
> 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
>
> .../bindings/power/st,stm32mp-pm-domain.yaml | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
>
> diff --git a/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml b/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
> new file mode 100644
> index 000000000000..b4118e1e5a38
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
> @@ -0,0 +1,48 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/st,stm32mp-pm-domain.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STM32MP power domain
> +
> +maintainers:
> + - Patrick Delaunay <patrick.delaunay@xxxxxxxxxxx>
> +
> +allOf:
> + - $ref: /schemas/power/power-domain.yaml#
> +
> +description: |
> + The STM32MP SoCs contain a D1 domain for PWR and RCC, which defines the
> + devices assigned by RIFSC to CPU1, the Cortex A cluster powered by VDD_CPU.
> + the devices in this domain are functional and clocked by RCC only when the
> + cluster domain is active, not in Idle state. The devices in this domain are
> + not powered by VDD_CPU and are wake-up capable in Stop1 low power modes.
> +
> + This power domain node represents this dependency (see PWR table
> + "Functionalities depending on system operating mode").
> +
> +properties:
> + compatible:
> + const: st,stm32mp-pm-domain
> +
> + '#power-domain-cells':
> + const: 0
> +
> + power-domains:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - '#power-domain-cells'
> + - power-domains
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + power-controller {
> + compatible = "st,stm32mp-pm-domain";
> + #power-domain-cells = <0>;
> + power-domains = <&cluster_pd>;
> + };
> --
> 2.43.0
>