* [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature
@ 2017-12-14 9:08 Chris Paterson
2017-12-14 9:08 ` [PATCH 1/3] ARM: dts: r8a7790: Correct " Chris Paterson
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Chris Paterson @ 2017-12-14 9:08 UTC (permalink / raw)
To: linux-arm-kernel
The current R-Car Gen2 device trees define the CPU critical
temperature as 115?C.
The R-Car hardware manuals state that Tc = ?40?C to +105?C. The
thermal sensor has an accuracy of ?5?C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.
This means that 95?C is a safer value to use.
This value should also apply to r8a7792 but thermal sensor support has
not been added yet.
Chris Paterson (3):
ARM: dts: r8a7790: Correct critical CPU temperature
ARM: dts: r8a7791: Correct critical CPU temperature
ARM: dts: r8a7793: Correct critical CPU temperature
arch/arm/boot/dts/r8a7790.dtsi | 2 +-
arch/arm/boot/dts/r8a7791.dtsi | 2 +-
arch/arm/boot/dts/r8a7793.dtsi | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/3] ARM: dts: r8a7790: Correct critical CPU temperature
2017-12-14 9:08 [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature Chris Paterson
@ 2017-12-14 9:08 ` Chris Paterson
2017-12-14 10:23 ` Geert Uytterhoeven
2017-12-14 9:08 ` [PATCH 2/3] ARM: dts: r8a7791: " Chris Paterson
2017-12-14 9:08 ` [PATCH 3/3] ARM: dts: r8a7793: " Chris Paterson
2 siblings, 1 reply; 7+ messages in thread
From: Chris Paterson @ 2017-12-14 9:08 UTC (permalink / raw)
To: linux-arm-kernel
The R-Car H2 hardware manual states that Tc = ?40?C to +105?C. The
thermal sensor has an accuracy of ?5?C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.
This means that 95?C is a safer value to use.
Fixes: a8b805f3606f7af7 ("ARM: dts: r8a7790: enable to use thermal-zone")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7790.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 450bfc0e9796a557..ed9a68538a554001 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -168,7 +168,7 @@
trips {
cpu-crit {
- temperature = <115000>;
+ temperature = <95000>;
hysteresis = <0>;
type = "critical";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 1/3] ARM: dts: r8a7790: Correct critical CPU temperature
2017-12-14 9:08 ` [PATCH 1/3] ARM: dts: r8a7790: Correct " Chris Paterson
@ 2017-12-14 10:23 ` Geert Uytterhoeven
0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-12-14 10:23 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 14, 2017 at 10:08 AM, Chris Paterson
<chris.paterson2@renesas.com> wrote:
> The R-Car H2 hardware manual states that Tc = ?40?C to +105?C. The
> thermal sensor has an accuracy of ?5?C and there can be a temperature
> difference of 1 or 2 degrees between Tjmax and the thermal sensor due
> to the location of the latter.
>
> This means that 95?C is a safer value to use.
>
> Fixes: a8b805f3606f7af7 ("ARM: dts: r8a7790: enable to use thermal-zone")
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] ARM: dts: r8a7791: Correct critical CPU temperature
2017-12-14 9:08 [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature Chris Paterson
2017-12-14 9:08 ` [PATCH 1/3] ARM: dts: r8a7790: Correct " Chris Paterson
@ 2017-12-14 9:08 ` Chris Paterson
2017-12-14 10:24 ` Geert Uytterhoeven
2017-12-14 9:08 ` [PATCH 3/3] ARM: dts: r8a7793: " Chris Paterson
2 siblings, 1 reply; 7+ messages in thread
From: Chris Paterson @ 2017-12-14 9:08 UTC (permalink / raw)
To: linux-arm-kernel
The R-Car M2W hardware manual states that Tc = ?40?C to +105?C. The
thermal sensor has an accuracy of ?5?C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.
This means that 95?C is a safer value to use.
Fixes: cac68a56e34b9810 ("ARM: dts: r8a7791: enable to use thermal-zone")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index dfc1c406179fbf3a..008a260f86a565c6 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -92,7 +92,7 @@
trips {
cpu-crit {
- temperature = <115000>;
+ temperature = <95000>;
hysteresis = <0>;
type = "critical";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] ARM: dts: r8a7791: Correct critical CPU temperature
2017-12-14 9:08 ` [PATCH 2/3] ARM: dts: r8a7791: " Chris Paterson
@ 2017-12-14 10:24 ` Geert Uytterhoeven
0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-12-14 10:24 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 14, 2017 at 10:08 AM, Chris Paterson
<chris.paterson2@renesas.com> wrote:
> The R-Car M2W hardware manual states that Tc = ?40?C to +105?C. The
M2-W
> thermal sensor has an accuracy of ?5?C and there can be a temperature
> difference of 1 or 2 degrees between Tjmax and the thermal sensor due
> to the location of the latter.
>
> This means that 95?C is a safer value to use.
>
> Fixes: cac68a56e34b9810 ("ARM: dts: r8a7791: enable to use thermal-zone")
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] ARM: dts: r8a7793: Correct critical CPU temperature
2017-12-14 9:08 [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature Chris Paterson
2017-12-14 9:08 ` [PATCH 1/3] ARM: dts: r8a7790: Correct " Chris Paterson
2017-12-14 9:08 ` [PATCH 2/3] ARM: dts: r8a7791: " Chris Paterson
@ 2017-12-14 9:08 ` Chris Paterson
2017-12-14 10:25 ` Geert Uytterhoeven
2 siblings, 1 reply; 7+ messages in thread
From: Chris Paterson @ 2017-12-14 9:08 UTC (permalink / raw)
To: linux-arm-kernel
The R-Car M2N hardware manual states that Tc = ?40?C to +105?C. The
thermal sensor has an accuracy of ?5?C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.
This means that 95?C is a safer value to use.
Fixes: 57f9156bc620ac56 ("ARM: dts: r8a7793: enable to use thermal-zone")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7793.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
index 61dd291d907da2f5..039b225175262e4b 100644
--- a/arch/arm/boot/dts/r8a7793.dtsi
+++ b/arch/arm/boot/dts/r8a7793.dtsi
@@ -89,7 +89,7 @@
trips {
cpu-crit {
- temperature = <115000>;
+ temperature = <95000>;
hysteresis = <0>;
type = "critical";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/3] ARM: dts: r8a7793: Correct critical CPU temperature
2017-12-14 9:08 ` [PATCH 3/3] ARM: dts: r8a7793: " Chris Paterson
@ 2017-12-14 10:25 ` Geert Uytterhoeven
0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-12-14 10:25 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 14, 2017 at 10:08 AM, Chris Paterson
<chris.paterson2@renesas.com> wrote:
> The R-Car M2N hardware manual states that Tc = ?40?C to +105?C. The
M2-N
> thermal sensor has an accuracy of ?5?C and there can be a temperature
> difference of 1 or 2 degrees between Tjmax and the thermal sensor due
> to the location of the latter.
>
> This means that 95?C is a safer value to use.
>
> Fixes: 57f9156bc620ac56 ("ARM: dts: r8a7793: enable to use thermal-zone")
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-12-14 10:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 9:08 [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature Chris Paterson
2017-12-14 9:08 ` [PATCH 1/3] ARM: dts: r8a7790: Correct " Chris Paterson
2017-12-14 10:23 ` Geert Uytterhoeven
2017-12-14 9:08 ` [PATCH 2/3] ARM: dts: r8a7791: " Chris Paterson
2017-12-14 10:24 ` Geert Uytterhoeven
2017-12-14 9:08 ` [PATCH 3/3] ARM: dts: r8a7793: " Chris Paterson
2017-12-14 10:25 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox