2022-06-22 17:09:02

by Philippe Schenker

[permalink] [raw]
Subject: [PATCH] arm64: dts: imx8m{m,p}-verdin: use IT temperatures

From: Philippe Schenker <[email protected]>

Use IT temperature threshold for critical/passive trip point
on Verdin iMX8M Plus and Mini.

Signed-off-by: Philippe Schenker <[email protected]>
Reviewed-by: Francesco Dolcini <[email protected]>

---

arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 8 ++++++++
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 8 ++++++++
2 files changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
index eafa88d980b3..a819ed43e727 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
@@ -154,6 +154,14 @@ &A53_3 {
cpu-supply = <&reg_vdd_arm>;
};

+&cpu_alert0 {
+ temperature = <95000>;
+};
+
+&cpu_crit0 {
+ temperature = <105000>;
+};
+
&ddrc {
operating-points-v2 = <&ddrc_opp_table>;

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index fb17e329cd37..7d8d8df569c5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -146,6 +146,14 @@ reserved-memory {
};
};

+&cpu_alert0 {
+ temperature = <95000>;
+};
+
+&cpu_crit0 {
+ temperature = <105000>;
+};
+
/* Verdin SPI_1 */
&ecspi1 {
#address-cells = <1>;
--
2.36.1


2022-06-27 08:33:57

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: imx8m{m,p}-verdin: use IT temperatures

On Wed, Jun 22, 2022 at 06:44:10PM +0200, Philippe Schenker wrote:
> From: Philippe Schenker <[email protected]>
>
> Use IT temperature threshold for critical/passive trip point
> on Verdin iMX8M Plus and Mini.
>
> Signed-off-by: Philippe Schenker <[email protected]>
> Reviewed-by: Francesco Dolcini <[email protected]>

Applied, thanks!