[PATCH v3 01/18] dt-bindings: power: Convert Ux500 PM domains to schema
Krzysztof Kozlowski
krzk at kernel.org
Sun Sep 27 22:37:10 PDT 2026
On Mon, Sep 21, 2026 at 12:48:07AM +0200, Linus Walleij wrote:
> +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
> +
> +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 at 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 <krzysztof.kozlowski at oss.qualcomm.com>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list