2015-11-09 18:52:22

by Moritz Fischer

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Moritz Fischer <[email protected]>
---
arch/arm/boot/dts/zynq-7000.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index dc0457e..0093722 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -19,7 +19,7 @@
#address-cells = <1>;
#size-cells = <0>;

- cpu@0 {
+ cpu0: cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
@@ -33,7 +33,7 @@
>;
};

- cpu@1 {
+ cpu1: cpu@1 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <1>;
--
2.4.3


2015-11-09 18:56:10

by Soren Brinkmann

[permalink] [raw]
Subject: Re: [PATCH] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

On Mon, 2015-11-09 at 10:51AM -0800, Moritz Fischer wrote:
> 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.
>
> Signed-off-by: Moritz Fischer <[email protected]>
Reviewed-by: Sören Brinkmann <[email protected]>

Sören

2015-11-10 08:19:42

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

On 11/09/2015 07:55 PM, Sören Brinkmann wrote:
> On Mon, 2015-11-09 at 10:51AM -0800, Moritz Fischer wrote:
>> 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.
>>
>> Signed-off-by: Moritz Fischer <[email protected]>
> Reviewed-by: Sören Brinkmann <[email protected]>

Applied to zynq/dt.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



Attachments:
signature.asc (198.00 B)
OpenPGP digital signature