linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
@ 2020-02-09 21:20 Vadym Kochan
  2020-02-29 23:06 ` Vadym Kochan
  2020-03-13 20:35 ` Gregory CLEMENT
  0 siblings, 2 replies; 4+ messages in thread
From: Vadym Kochan @ 2020-02-09 21:20 UTC (permalink / raw)
  To: Vadym Kochan, linux-kernel
  Cc: devicetree, linux-arm-kernel, Mark Rutland, Rob Herring,
	Sebastian Hesselbarth, Gregory Clement, Andrew Lunn,
	Jason Cooper

armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes
thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual
configuration, this makes dtb compilation fail. Fix it by removing
thermal zone nodes for non-existed cpus for dual configuration.

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
---
 arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
index 09849558a776..fcab5173fe67 100644
--- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
@@ -53,4 +53,9 @@
 			cache-sets = <512>;
 		};
 	};
+
+	thermal-zones {
+		/delete-node/ ap-thermal-cpu2;
+		/delete-node/ ap-thermal-cpu3;
+	};
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
  2020-02-09 21:20 [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi Vadym Kochan
@ 2020-02-29 23:06 ` Vadym Kochan
  2020-03-01  7:44   ` Gregory CLEMENT
  2020-03-13 20:35 ` Gregory CLEMENT
  1 sibling, 1 reply; 4+ messages in thread
From: Vadym Kochan @ 2020-02-29 23:06 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, Mark Rutland, Rob Herring,
	Sebastian Hesselbarth, Gregory Clement, Andrew Lunn,
	Jason Cooper
  Cc: linux-kernel

Hi,

Just softly ping if I sent it to the right direction.

On Sun, Feb 09, 2020 at 11:20:30PM +0200, Vadym Kochan wrote:
> armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes
> thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual
> configuration, this makes dtb compilation fail. Fix it by removing
> thermal zone nodes for non-existed cpus for dual configuration.
> 
> Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
> ---
>  arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> index 09849558a776..fcab5173fe67 100644
> --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> @@ -53,4 +53,9 @@
>  			cache-sets = <512>;
>  		};
>  	};
> +
> +	thermal-zones {
> +		/delete-node/ ap-thermal-cpu2;
> +		/delete-node/ ap-thermal-cpu3;
> +	};
>  };
> -- 
> 2.17.1
> 

Regards,
Vadym Kochan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
  2020-02-29 23:06 ` Vadym Kochan
@ 2020-03-01  7:44   ` Gregory CLEMENT
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2020-03-01  7:44 UTC (permalink / raw)
  To: Vadym Kochan, devicetree, linux-arm-kernel, Mark Rutland,
	Rob Herring, Sebastian Hesselbarth, Andrew Lunn, Jason Cooper
  Cc: linux-kernel



Le 1 mars 2020 00:06:56 GMT+01:00, Vadym Kochan <vadym.kochan@plvision.eu> a écrit :
>Hi,
>

Hello
>Just softly ping if I sent it to the right direction.
It looks ok, and was on the list of patches to apply 

Sorry for the delay
>
>On Sun, Feb 09, 2020 at 11:20:30PM +0200, Vadym Kochan wrote:
>> armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes
>> thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual
>> configuration, this makes dtb compilation fail. Fix it by removing
>> thermal zone nodes for non-existed cpus for dual configuration.
>> 
>> Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
>> ---
>>  arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++
>>  1 file changed, 5 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
>b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
>> index 09849558a776..fcab5173fe67 100644
>> --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
>> +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
>> @@ -53,4 +53,9 @@
>>  			cache-sets = <512>;
>>  		};
>>  	};
>> +
>> +	thermal-zones {
>> +		/delete-node/ ap-thermal-cpu2;
>> +		/delete-node/ ap-thermal-cpu3;
>> +	};
>>  };
>> -- 
>> 2.17.1
>> 
>
>Regards,
>Vadym Kochan

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
  2020-02-09 21:20 [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi Vadym Kochan
  2020-02-29 23:06 ` Vadym Kochan
@ 2020-03-13 20:35 ` Gregory CLEMENT
  1 sibling, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2020-03-13 20:35 UTC (permalink / raw)
  To: Vadym Kochan, Vadym Kochan, linux-kernel
  Cc: devicetree, linux-arm-kernel, Mark Rutland, Rob Herring,
	Sebastian Hesselbarth, Andrew Lunn, Jason Cooper

Hi Vadym,

> armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes
> thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual
> configuration, this makes dtb compilation fail. Fix it by removing
> thermal zone nodes for non-existed cpus for dual configuration.
>
> Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> index 09849558a776..fcab5173fe67 100644
> --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi
> @@ -53,4 +53,9 @@
>  			cache-sets = <512>;
>  		};
>  	};
> +
> +	thermal-zones {
> +		/delete-node/ ap-thermal-cpu2;
> +		/delete-node/ ap-thermal-cpu3;
> +	};
>  };
> -- 
> 2.17.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-13 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 21:20 [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi Vadym Kochan
2020-02-29 23:06 ` Vadym Kochan
2020-03-01  7:44   ` Gregory CLEMENT
2020-03-13 20:35 ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).