Re: [RFC PATCH v2 03/19] dt-bindings: power: thead,th1520: Add support for power domains
From: Krzysztof Kozlowski
Date: Mon Dec 23 2024 - 11:10:51 EST
On 23/12/2024 13:55, Michal Wilczynski wrote:
> + compatible:
> + const: thead,th1520-pd
> +
> + "#power-domain-cells":
> + const: 1
> +
> +additionalProperties: false
> +
> +required:
> + - compatible
> + - "#power-domain-cells"
> +
> +examples:
> + - |
> + firmware {
Drop
> + aon: aon {
> + compatible = "thead,th1520-aon";
> + mboxes = <&mbox_910t 1>;
> + mbox-names = "aon";
Drop aon node... but the main problem is you do not have any resources
in your power-domain device node, assuming your binding is complete.
This suggests that this is part of aon, not separate device. Fold the
device node into its parent (so everything goes to AON).
> +
> + pd: power-domain {
> + compatible = "thead,th1520-pd";
> + #power-domain-cells = <1>;
> + };
> + };
> + };
Best regards,
Krzysztof