2020-08-13 17:25:56

by Johan Jonker

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

Add label to cpu@1 for later use.

Signed-off-by: Johan Jonker <[email protected]>
---
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


2020-08-13 17:26:44

by Johan Jonker

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

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 <[email protected]>
---
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

2020-08-30 20:17:38

by Heiko Stuebner

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

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 <[email protected]>