lkml.org 
[lkml]   [2021]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/5] arm64: dts: rockchip: Add powerzones definition for rock960
Date
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
\
 
 \ /
  Last update: 2021-11-24 15:28    [W:0.127 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site