Thread (24 messages) 24 messages, 4 authors, 1d ago

Re: [PATCH v3 01/18] dt-bindings: power: Convert Ux500 PM domains to schema

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-09-28 05:37:14
Also in: dmaengine, dri-devel, linux-devicetree, linux-pm

On Mon, Sep 21, 2026 at 12:48:07AM +0200, Linus Walleij wrote:
quoted hunk ↗ jump to hunk
+description:
+  The UX500 power domain controller gates power to one or more peripherals on
+  the SoC. Domain specifiers use one cell containing one of the DOMAIN_*
+  indexes defined in dt-bindings/arm/ux500_pm_domains.h.
Use rather full path, so include/dt-bindings/arm/ux500_pm_domains.h
quoted hunk ↗ jump to hunk
+
+allOf:
+  - $ref: power-domain.yaml#
+
+properties:
+  compatible:
+    const: stericsson,ux500-pm-domains
+
+  '#power-domain-cells':
+    const: 1
+
+required:
+  - compatible
+  - '#power-domain-cells'
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/arm/ux500_pm_domains.h>
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    pm_domains: power-controller {
+        compatible = "stericsson,ux500-pm-domains";
+        #power-domain-cells = <1>;
+    };
+
+    mmc@80126000 {
+        compatible = "arm,pl18x", "arm,primecell";
+        reg = <0x80126000 0x1000>;
+        interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
+        power-domains = <&pm_domains DOMAIN_VAPE>;
+    };
Please drop the consumer from the example (thus also arm-gic header).

With these:

Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help