Skip to contentSkip to conversation

ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

PATCH New Moritz Fischer 2 participants 2 messages Dec 12, 2016 – Dec 13, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

By adding labels to the cpu nodes in the dtsi, a dts that includes it can change the OPPs by referencing the cpu0 through the label.

[Based on linux (400b6a0cbef55d1ae32808eaa1ef1c28820bf6ac)]
Cc Michal Simek <[email protected]>
Cc u-boot at lists.denx.de

---

Ok, since I fatfingered v1 ... this one with right subject prefix, and only one patch in 'series'.

Changes from v1: None

Sorry 'bout the noise,

Moritz

---
 arch/arm/dts/zynq-7000.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/zynq-7000.dtsi +2 -2
index 6df0329..668f54e 100644
@@ -16,7 +16,7 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		cpu at 0 {
+		cpu0: cpu at 0 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <0>;
@@ -30,7 +30,7 @@
 			>;
 		};
 
-		cpu at 1 {
+		cpu1: cpu at 1 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <1>;
Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH v2 1/1 ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

Quoted 38 lines · Moritz Fischer

By adding labels to the cpu nodes in the dtsi, a dts that includes it can change the OPPs by referencing the cpu0 through the label.

[Based on linux (400b6a0cbef55d1ae32808eaa1ef1c28820bf6ac)]
Cc Michal Simek <[email protected]>
Cc u-boot at lists.denx.de

---

Ok, since I fatfingered v1 ... this one with right subject prefix, and only one patch in 'series'.

Changes from v1: None

Sorry 'bout the noise,

Moritz

---
 arch/arm/dts/zynq-7000.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/zynq-7000.dtsi +1 -1
index 6df0329..668f54e 100644
@@ -16,7 +16,7 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		cpu at 0 {
+		cpu0: cpu at 0 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <0>;

arch/arm/dts/zynq-7000.dtsi line 36

Quoted 8 lines
arch/arm/dts/zynq-7000.dtsi +1 -1
@@ -30,7 +30,7 @@
 			>;
 		};
 
-		cpu at 1 {
+		cpu1: cpu at 1 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <1>;

Applied.

Thanks,
Michal