From patchwork Thu Dec 14 09:08:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 10111705 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 8CF6960352 for ; Thu, 14 Dec 2017 09:09:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 880E829BFA for ; Thu, 14 Dec 2017 09:09:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C71929C00; Thu, 14 Dec 2017 09:09:36 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 26E8029BFA for ; Thu, 14 Dec 2017 09:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hTm1CIvYADCfAgwbg0ehhuuxVPQF/50HY+8ttlTNtNE=; b=mkIgtIGXx9CC0e 5HLxz6v8+KFnhXksv6B3A6dX/J12N9iRz1iYyF1tTKpf6OIQUo+ahBHkGWSk7QOrIImH/NJg60Gj0 3y+9s9PmNZg9vywlloumhdrDTMvG2l8Yp4C8+NNXrtmFYdv9DLOkufgrFXDtnC7Ibc+WaqrLN1xtU EVeijPg4YjMNtt0oRE91rMCT0R6phaLaw+kiK9aHbjb6yao4pCisQ8p5CwS4Vg8pNSCNyso/KhaLk HVBzTcUaP0x1q+5dqh5tMfWy2XyKqojPxXRqb55dAtQaYmNXuBv0O/X39v6hR4nAvjVtwkwW9Ozfn B2z+K88pTTtWa2kKMc9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePPWJ-0003zc-43; Thu, 14 Dec 2017 09:09:35 +0000 Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePPWF-0003lK-6d for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2017 09:09:33 +0000 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 14 Dec 2017 18:09:09 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 4A14388381; Thu, 14 Dec 2017 18:09:09 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.45,400,1508770800"; d="scan'208";a="266371021" 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:06 +0900 From: Chris Paterson To: Kuninori Morimoto , Rob Herring , Mark Rutland , Simon Horman Subject: [PATCH 2/3] ARM: dts: r8a7791: Correct critical CPU temperature Date: Thu, 14 Dec 2017 09:08:40 +0000 Message-Id: <1513242521-11236-3-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171214_010931_376007_A1165D15 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Paterson , Magnus Damm , Russell King , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Geert Uytterhoeven --- 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"; };