mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chaoyi Chen <chaoyi.chen@rock-chips.com>
To: Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Midgy Balon <midgy971@gmail.com>,
	Diederik de Haas <diederik@cknow-tech.com>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Elaine Zhang <zhangqing@rock-chips.com>,
	Freimut Diener <f.diener@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: power: rockchip: Allow post-init-providers for domains
Date: Thu, 26 Nov 2026 09:50:56 +0800	[thread overview]
Message-ID: <962182b2-6fa0-4aaa-a47a-f78339b5d89e@rock-chips.com> (raw)
In-Reply-To: <oJj2NKd1Svmsn320H8YWrg@sntech.de>

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

  reply	other threads:[~2026-11-26  1:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:33 [PATCH 0/2] Describe ROCK 5 GPU and NPU regulators as post-init providers Freimut Diener
2026-11-25 10:33 ` [PATCH 1/2] dt-bindings: power: rockchip: Allow post-init-providers for domains Freimut Diener
2026-11-25 20:37   ` Heiko Stuebner
2026-11-26  1:50     ` Chaoyi Chen [this message]
2026-11-26  3:04       ` Sebastian Reichel
2026-11-25 10:33 ` [PATCH 2/2] arm64: dts: rockchip: Mark ROCK 5 domain supplies as post-init Freimut Diener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=962182b2-6fa0-4aaa-a47a-f78339b5d89e@rock-chips.com \
    --to=chaoyi.chen@rock-chips.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=diederik@cknow-tech.com \
    --cc=f.diener@pengutronix.de \
    --cc=heiko@sntech.de \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=midgy971@gmail.com \
    --cc=robh@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=zhangqing@rock-chips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®