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

Chaoyi Chen chaoyi.chen at rock-chips.com
Wed Nov 25 17:50:56 PST 2026


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 at pengutronix.de>
> 
> 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 at sntech.de>
> 

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 at rock-chips.com>

> 
>> ---
>>  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



More information about the Linux-rockchip mailing list