From patchwork Thu Dec 14 09:08:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 10111699 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5617960352 for ; Thu, 14 Dec 2017 09:09:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51E4D29BF8 for ; Thu, 14 Dec 2017 09:09:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4686B29BFE; Thu, 14 Dec 2017 09:09:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A60A929BF8 for ; Thu, 14 Dec 2017 09:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751173AbdLNJJL (ORCPT ); Thu, 14 Dec 2017 04:09:11 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:28661 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751175AbdLNJJG (ORCPT ); Thu, 14 Dec 2017 04:09:06 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 14 Dec 2017 18:09:05 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 79ACB8460A; Thu, 14 Dec 2017 18:09:05 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.45,400,1508770800"; d="scan'208";a="266371014" Received: from unknown (HELO renesas-VirtualBox.ree.adwin.renesas.com) ([10.226.37.68]) by relmlii2.idc.renesas.com with ESMTP; 14 Dec 2017 18:09:02 +0900 From: Chris Paterson To: Kuninori Morimoto , Rob Herring , Mark Rutland , Simon Horman Cc: Magnus Damm , Russell King , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Paterson Subject: [PATCH 1/3] ARM: dts: r8a7790: Correct critical CPU temperature Date: Thu, 14 Dec 2017 09:08:39 +0000 Message-Id: <1513242521-11236-2-git-send-email-chris.paterson2@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1513242521-11236-1-git-send-email-chris.paterson2@renesas.com> References: <1513242521-11236-1-git-send-email-chris.paterson2@renesas.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Geert Uytterhoeven --- 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"; };