Re: [PATCH 1/2] dt-bindings: power: rockchip: Allow post-init-providers for domains

From: Chaoyi Chen

Date: Wed Nov 25 2026 - 20:51:19 EST


On 11/26/2026 4:37 AM, Heiko Stuebner wrote:
> Am Mittwoch, 25. November 2026, 11:33:57 Mitteleuropäische Normalzeit schrieb Freimut Diener:
>> A Rockchip power domain can have a supply that is required when
>> powering on the domain but is not required to initialize the power
>> controller.
>>
>> Allow post-init-providers on power-domain child nodes to describe
>> such dependencies.
>>
>> Signed-off-by: Freimut Diener <f.diener@xxxxxxxxxxxxxx>
>
> Interesting that this exists since 2024 and this will be the first
> user it seems.
>
> I've looked at the dtschema for it, and this looks really great for this.
>
> Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>
>

That's exactly what we want. :)

I guess it's because the kernel doesn't include this part of the
binding, and it's only included in the dt-schema repository,
so nobody noticed it?

https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/post-init-providers.yaml

Reviewed-by: Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx>

>
>> ---
>> Documentation/devicetree/bindings/power/rockchip,power-controller.yaml | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
>> index b41db576f95de..d2b512dd95f63 100644
>> --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
>> +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
>> @@ -147,6 +147,9 @@ $defs:
>> A number of phandles to qos blocks which need to be saved and restored
>> while power domain switches state.
>>
>> + post-init-providers:
>> + $ref: /schemas/post-init-providers.yaml#/properties/post-init-providers
>> +
>> "#power-domain-cells":
>> enum: [0, 1]
>> description:
>>
>>
>

--
Best,
Chaoyi