Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: chris.paterson2@renesas.com (Chris Paterson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: dts: r8a7790: Correct critical CPU temperature
Date: Thu, 14 Dec 2017 09:08:39 +0000	[thread overview]
Message-ID: <1513242521-11236-2-git-send-email-chris.paterson2@renesas.com> (raw)
In-Reply-To: <1513242521-11236-1-git-send-email-chris.paterson2@renesas.com>

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

  reply	other threads:[~2017-12-14  9:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  9:08 [PATCH 0/3] Correct R-Car Gen2 critical CPU temperature Chris Paterson
2017-12-14  9:08 ` Chris Paterson [this message]
2017-12-14 10:23   ` [PATCH 1/3] ARM: dts: r8a7790: Correct " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513242521-11236-2-git-send-email-chris.paterson2@renesas.com \
    --to=chris.paterson2@renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox