[PATCH 1/2] ARM: dts: rockchip: rk3066a: add label to cpu@1

Subsystems: the rest

STALE2202d LANDED

Landed in mainline as 9ab4a7312bf3 on 2020-08-30.

3 messages, 2 authors, 2020-08-30 · open the first message on its own page

[PATCH 1/2] ARM: dts: rockchip: rk3066a: add label to cpu@1

From: Johan Jonker <hidden>
Date: 2020-08-13 17:25:08

Add label to cpu@1 for later use.

Signed-off-by: Johan Jonker <redacted>
---
 arch/arm/boot/dts/rk3066a.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index b599394d1..252750c97 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -36,7 +36,7 @@
 			clock-latency = <40000>;
 			clocks = <&cru ARMCLK>;
 		};
-		cpu@1 {
+		cpu1: cpu@1 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a9";
 			next-level-cache = <&L2>;
-- 
2.11.0

[PATCH 2/2] ARM: dts: rockchip: update cpu supplies on rk3066a

From: Johan Jonker <hidden>
Date: 2020-08-13 17:25:05

The use of cpu0-supply for cpu0 alone is deprecated,
so add cpu-supply to each cpu separately and
update all existing rk3066a boards.

Signed-off-by: Johan Jonker <redacted>
---
 arch/arm/boot/dts/rk3066a-bqcurie2.dts  | 6 +++++-
 arch/arm/boot/dts/rk3066a-marsboard.dts | 6 +++++-
 arch/arm/boot/dts/rk3066a-rayeager.dts  | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
index 0a56a2f1b..eba7a1344 100644
--- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
+++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
@@ -63,7 +63,11 @@
 };
 
 &cpu0 {
-	cpu0-supply = <&vdd_arm>;
+	cpu-supply = <&vdd_arm>;
+};
+
+&cpu1 {
+	cpu-supply = <&vdd_arm>;
 };
 
 &i2c1 {
diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts
index 7e01f6406..6b121658d 100644
--- a/arch/arm/boot/dts/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
@@ -47,7 +47,11 @@
 };
 
 &cpu0 {
-	cpu0-supply = <&vdd_arm>;
+	cpu-supply = <&vdd_arm>;
+};
+
+&cpu1 {
+	cpu-supply = <&vdd_arm>;
 };
 
 &i2c1 {
diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts b/arch/arm/boot/dts/rk3066a-rayeager.dts
index f9db6bb9f..309518403 100644
--- a/arch/arm/boot/dts/rk3066a-rayeager.dts
+++ b/arch/arm/boot/dts/rk3066a-rayeager.dts
@@ -128,7 +128,11 @@
 };
 
 &cpu0 {
-	cpu0-supply = <&vdd_arm>;
+	cpu-supply = <&vdd_arm>;
+};
+
+&cpu1 {
+	cpu-supply = <&vdd_arm>;
 };
 
 &emac {
-- 
2.11.0

Re: [PATCH 1/2] ARM: dts: rockchip: rk3066a: add label to cpu@1

From: Heiko Stuebner <heiko@sntech.de>
Date: 2020-08-30 20:16:47

On Thu, 13 Aug 2020 19:24:50 +0200, Johan Jonker wrote:
Add label to cpu@1 for later use.
Applied, thanks!

[1/2] ARM: dts: rockchip: rk3066a: add label to cpu@1
      commit: 9ab4a7312bf31611f3a9c95470f15b3f2bcd83e3
[2/2] ARM: dts: rockchip: update cpu supplies on rk3066a
      commit: 20e464c0f12a9b1930adb0365326037d5b060cee

Best regards,
-- 
Heiko Stuebner [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help