From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: 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>,
linux-arm-kernel@lists.infradead.org (moderated
list:ARM/Rockchip SoC support),
linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC
support)
Subject: [PATCH 2/5] arm64: dts: rockchip: Add powerzones definition for rock960
Date: Wed, 24 Nov 2021 13:55:01 +0100 [thread overview]
Message-ID: <20211124125506.2971069-2-daniel.lezcano@linaro.org> (raw)
In-Reply-To: <20211124125506.2971069-1-daniel.lezcano@linaro.org>
Add the powerzones description. This first step introduces the big,
the little and the gpu as a powerzone place.
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 {
--
2.25.1
next prev parent reply other threads:[~2021-11-24 14:27 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 ` Daniel Lezcano [this message]
2021-11-24 13:49 ` [PATCH 2/5] arm64: dts: rockchip: Add powerzones definition for rock960 Robin Murphy
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=20211124125506.2971069-2-daniel.lezcano@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=arnd@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).