From: Robin Murphy <robin.murphy@arm.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: robh@kernel.org, arnd@linaro.org, heiko@sntech.de,
ulf.hansson@linaro.org, rjw@rjwysocki.net,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, lukasz.luba@arm.com,
Rob Herring <robh+dt@kernel.org>,
Johan Jonker <jbx6244@gmail.com>,
"moderated list:ARM/Rockchip SoC support"
<linux-arm-kernel@lists.infradead.org>,
"open list:ARM/Rockchip SoC support"
<linux-rockchip@lists.infradead.org>
Subject: Re: [PATCH 2/5] arm64: dts: rockchip: Add powerzones definition for rock960
Date: Wed, 24 Nov 2021 13:49:02 +0000 [thread overview]
Message-ID: <bf994aa8-df18-22d0-e718-2c8b406a5cc8@arm.com> (raw)
In-Reply-To: <20211124125506.2971069-2-daniel.lezcano@linaro.org>
On 2021-11-24 12:55, Daniel Lezcano wrote:
> Add the powerzones description. This first step introduces the big,
> the little and the gpu as a powerzone place.
These look more like SoC-level properties than board-level ones - should
they be in rk3399.dtsi?
Robin.
> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> ---
> .../boot/dts/rockchip/rk3399-rock960.dts | 45 +++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> index 1a23e8f3cdf6..83540bdb64cd 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
> @@ -61,6 +61,51 @@ bt_active_led: led-6 {
> };
> };
>
> + powerzones {
> +
> + PKG_PZ: pkg {
> + #powerzone-cells = <0>;
> + powerzone = <&SOC_PZ>;
> + };
> +
> + SOC_PZ: soc {
> + };
> + };
> +};
> +
> +&cpu_b0 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&cpu_b1 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&cpu_l0 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&cpu_l1 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&cpu_l2 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&cpu_l3 {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> +};
> +
> +&gpu {
> + #powerzone-cells = <0>;
> + powerzone = <&PKG_PZ>;
> };
>
> &cpu_alert0 {
>
next prev parent reply other threads:[~2021-11-24 13:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 12:55 [PATCH 1/5] dt-bindings: Powerzone new bindings Daniel Lezcano
2021-11-24 12:55 ` [PATCH 2/5] arm64: dts: rockchip: Add powerzones definition for rock960 Daniel Lezcano
2021-11-24 13:49 ` Robin Murphy [this message]
2021-11-24 16:41 ` Daniel Lezcano
2021-11-24 16:52 ` Heiko Stübner
2021-11-24 12:55 ` [PATCH 3/5] powercap/drivers/dtpm: Add DT initialization support Daniel Lezcano
2021-11-24 12:55 ` [PATCH 4/5] powercap/drivers/dtpm: Add CPU " Daniel Lezcano
2021-11-24 12:55 ` [PATCH 5/5] powercap/drivers/dtpm: Add dtpm devfreq with energy model support Daniel Lezcano
2021-11-24 14:54 ` [PATCH 1/5] dt-bindings: Powerzone new bindings Ulf Hansson
2021-11-24 16:26 ` Daniel Lezcano
2021-11-24 19:17 ` Ulf Hansson
2021-11-25 21:26 ` Rob Herring
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=bf994aa8-df18-22d0-e718-2c8b406a5cc8@arm.com \
--to=robin.murphy@arm.com \
--cc=arnd@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jbx6244@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=lukasz.luba@arm.com \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).