From: Krzysztof Kozlowski <krzk@kernel.org>
To: Shawn Lin <shawn.lin@rock-chips.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
linux-pm@vger.kernel.org, linux-rockchip@lists.infradead.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: power: rockchip: Add pm_shaping support
Date: Sat, 7 Mar 2026 16:17:00 +0100 [thread overview]
Message-ID: <20260307-original-shrewd-mouflon-1eb07b@quoll> (raw)
In-Reply-To: <1772782832-216867-2-git-send-email-shawn.lin@rock-chips.com>
On Fri, Mar 06, 2026 at 03:40:30PM +0800, Shawn Lin wrote:
> pm_shaping is introduced for some platforms to throttle the outstanding
> burst requests of each IP to prevent bus monopolization. Add a discription
> of it.
Isn't that interconnects?
Also which platforms? We don't add it for your downstream code. Why
there is no property restriction per variant in the binding?
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
>
> .../devicetree/bindings/power/rockchip,power-controller.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> index b41db57..4af6c30 100644
> --- a/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> +++ b/Documentation/devicetree/bindings/power/rockchip,power-controller.yaml
> @@ -147,6 +147,14 @@ $defs:
> A number of phandles to qos blocks which need to be saved and restored
> while power domain switches state.
>
> + pm_shaping:
Read DTS coding style. Build your code with W=2 so you will see here
warnings.
Also, read writing bindings or any docs for beginners. Missing prefix.
> + $ref: /schemas/types.yaml#/definitions/phandle-array
so phandle? Or array? Decide...
> + items:
> + maxItems: 1
So how many items?
> + description: |
Drop |
> + A number of phandles to shaping blocks which need to be saved and restored
> + while power domain switches state.
Wrap code according to Linux coding style.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-03-07 15:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 7:40 [PATCH 0/3] Add shaping support for Rockchip platforms Shawn Lin
2026-03-06 7:40 ` [PATCH 1/3] dt-bindings: power: rockchip: Add pm_shaping support Shawn Lin
2026-03-07 15:17 ` Krzysztof Kozlowski [this message]
2026-03-06 7:40 ` [PATCH 2/3] pmdomain: " Shawn Lin
2026-03-06 7:40 ` [PATCH 3/3] arm64: dts: rockchip: Add shaping nodes for rk3576 Shawn Lin
2026-03-07 15:18 ` Krzysztof Kozlowski
2026-03-06 10:43 ` [PATCH 0/3] Add shaping support for Rockchip platforms Heiko Stuebner
2026-03-06 12:10 ` Shawn Lin
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=20260307-original-shrewd-mouflon-1eb07b@quoll \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@kernel.org \
--cc=shawn.lin@rock-chips.com \
--cc=ulf.hansson@linaro.org \
/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