From patchwork Fri Dec 22 10:30:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 852306 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ox9E9qWM"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=verge.net.au header.i=@verge.net.au header.b="dUJxykkm"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z34mX4kGwz9sMN for ; Fri, 22 Dec 2017 21:41:00 +1100 (AEDT) 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: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:In-Reply-To:References: List-Owner; bh=eiOx1nj4xHcsfEsYEelWnm9FtKZJIx5Lm+6dsbnR3H0=; b=ox9E9qWM3m1hjf xiFrGk0r/Ejit2t8BO44s4h70C1d4KcI/64Pb+SivXROxEAjECJP1yQRjm3q+bWfZpvZSOmw2uWsD Chw5sFa5m4WFk6et9CYW+GZRDrtSxy72pLsCOTPpOctPUDuLXWIEaUyEp0dXETwk2RxQvSa9URivW hfIUwb3MYDTfy6RPqw1YFodNTLE0skrEHAkLE0LiguBTRPzsP2KJJqmZ0LyY1Z6xmqLuCvaGEsqeY KQ8Dju9Y9TPh3V6jAmsTW/I+eg0rRfZWAXjpyMo22RIge22hRFNjNVEvfd82mvEA+0eXTPwfjuwrd 4Btq8bB5H52eaYluYjaQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKl0-0002Sa-4N; Fri, 22 Dec 2017 10:40:50 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKi2-0006Vy-Mt for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2017 10:37:50 +0000 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id BE27F25BECC; Fri, 22 Dec 2017 21:30:16 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1513938617; bh=rFFHBJeRGPgrKdnVYB6BC+tFaOogt8Uf2jtcfyMvglY=; h=From:To:Cc:Subject:Date:From; b=dUJxykkma7/kEFk6XmQmlvlHK1EVKisJxHyj2p69nqRNcduITNtDfRslaYXb90ddX qlAgeNDOKx661M6rBuiT5FZPHW7Q8pYNgBYuz+3Wp5/dpjQzO5Yk3VlAk03dz6KyuT NMSs102SBAY2Ab43hKTNnEqMaoR3hHB2BQhLYdsY= Received: by penelope.horms.nl (Postfix, from userid 7100) id A1476E21422; Fri, 22 Dec 2017 11:30:14 +0100 (CET) From: Simon Horman To: arm@kernel.org Subject: [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.16 Date: Fri, 22 Dec 2017 11:30:10 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171222_023747_061130_51B0AA22 X-CRM114-Status: GOOD ( 14.18 ) X-Spam-Score: -4.1 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [202.4.237.240 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Kevin Hilman , Magnus Damm , linux-renesas-soc@vger.kernel.org, Olof Johansson , Simon Horman , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC DT updates for v4.16. This pull request is based on the previous round of such requests, tagged as renesas-dt-for-v4.16, which you have already pulled. The following changes since commit 7f32eddb81ecc06131a643babe2d0f961fbd7f08: ARM: dts: alt: Convert to named i2c-gpio bindings (2017-12-04 09:34:53 +0100) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt2-for-v4.16 for you to fetch changes up to 5b062010675b3d74c9a6c6896e2becf932a4ca74: ARM: dts: r8a7745: Add missing clock for secondary CA7 CPU core (2017-12-22 09:24:00 +0100) ---------------------------------------------------------------- Second Round of Renesas ARM Based SoC DT Updates for v4.16 * r8a7745 (RZ/G1E) SoC - Enable SMP Fabrizio Castro says "Add DT node for the Advanced Power Management Unit (APMU), add the second CPU core, and use "renesas,apmu" as "enable-method"." * r8a7743 (RZ/G1M) SoC - Add node for thermal sensor module with thermal-zone support * r8a7743 (RZ/G1M) and r8a7745 (RZ/G1E) SoCs - Add: + Renesas Core Match Timer (CMT) support + Renesas Timer Pulse Unit PWM Controller (TPU) support + Renesas PWM Timer Controller (PWM) support * r8a7743 (RZ/G1M) iW-RainboW-G20D-Qseven and r8a7745 (RZ/G1E) iW-RainboW-G22D development platforms - Add sound support * r8a7743 (RZ/G1M), r8a7745 (RZ/G1E) and r8a7792 (R-Car V2H) SoCs - Allow DTBs of boards of these SoCs to build without any warnings when compiled with W=1 using gcc-linaro-5.4.1-2017.05 + Move nodes which have no reg property out of bus, they don't belong there + Also sort sub-nodes of root node to allow for easier maintenance * r8a7790 (R-Car H2), r8a7791 (R-Car M2-W) and r8a7793 (R-Car M2-N) SoCs - Correct critical CPU temperature Chris Paterson says "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." * r8a7740 (R-Mobile A1) SoC - Correct TPU register block size Geert Uytterhoven says "The Timer Pulse Unit has registers that lie outside the declared register block. Enlarge the register block size to fix this. This was probably based on the old platform code, which also assumed a register block size of 0x100." ---------------------------------------------------------------- Biju Das (20): ARM: dts: r8a7743: Add audio clocks ARM: dts: r8a7743: Add audio DMAC support ARM: dts: r8a7743: Add sound support ARM: dts: r8a7743: Add thermal device to DT ARM: dts: iwg20d-q7-common: Enable SGTL5000 audio codec ARM: dts: iwg20d-q7-common: Sound PIO support ARM: dts: iwg20d-q7-common: Sound DMA support on DTS ARM: dts: iwg20d-q7-common: Sound DMA support via BUSIF on DTS ARM: dts: iwg20d-q7-common: Sound DMA support via SRC on DTS ARM: dts: iwg20d-q7-common: Sound DMA support via DVC on DTS ARM: dts: r8a7745: Add audio clocks ARM: dts: r8a7745: Add audio DMAC support ARM: dts: r8a7745: Add sound support ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec ARM: dts: iwg22d-sodimm: Sound PIO support ARM: dts: iwg22d-sodimm: Sound DMA support on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via DVC on DTS ARM: dts: r8a7745: Add missing clock for secondary CA7 CPU core Chris Paterson (3): ARM: dts: r8a7790: Correct critical CPU temperature ARM: dts: r8a7791: Correct critical CPU temperature ARM: dts: r8a7793: Correct critical CPU temperature Fabrizio Castro (7): ARM: dts: r8a7745: Add APMU node and second CPU core ARM: dts: r8a7743: Add PWM SoC support ARM: dts: r8a7743: Add TPU support ARM: dts: r8a7745: Add PWM SoC support ARM: dts: r8a7745: Add TPU support ARM: dts: r8a7743: Add CMT SoC specific support ARM: dts: r8a7745: Add CMT SoC specific support Geert Uytterhoeven (1): ARM: dts: r8a7740: Correct TPU register block size Simon Horman (6): ARM: dts: r8a7745: sort root sub-nodes alphabetically ARM: dts: r8a7745: move timer node out of bus ARM: dts: r8a7792: sort root sub-nodes alphabetically ARM: dts: r8a7792: move timer node out of bus ARM: dts: r8a7743: sort root sub-nodes alphabetically ARM: dts: r8a7743: move timer and thermal-zones nodes out of bus arch/arm/boot/dts/iwg20d-q7-common.dtsi | 88 +++++ arch/arm/boot/dts/r8a7740.dtsi | 2 +- arch/arm/boot/dts/r8a7743.dtsi | 486 +++++++++++++++++++++++++--- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 92 ++++++ arch/arm/boot/dts/r8a7745.dtsi | 421 ++++++++++++++++++++++-- arch/arm/boot/dts/r8a7790.dtsi | 2 +- arch/arm/boot/dts/r8a7791.dtsi | 2 +- arch/arm/boot/dts/r8a7792.dtsi | 64 ++-- arch/arm/boot/dts/r8a7793.dtsi | 2 +- 9 files changed, 1051 insertions(+), 108 deletions(-) From patchwork Fri Dec 22 10:29:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 852308 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="B7IHoCEc"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=verge.net.au header.i=@verge.net.au header.b="HAi8zl5P"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z34w656MQz9s1h for ; Fri, 22 Dec 2017 21:47:34 +1100 (AEDT) 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=OD63Ho2Qk/wLVtR98K2TGucjYyhCmcltuQezssGPDZE=; b=B7IHoCEcBFH/FV Ls+eqWcCD53oSMIDK2Jm6xnaqOimtKVRjOp9KSyHwA6pJQGxa6ZvYoY29zgbM7Dv3QGH4deLYp55o ayNgUrSaUMhtoj6lOZHddJaR4vRFSJktws2N/c6cfsjjRxtmEwAddcVaKyaXQ5Bvd7Qf2t3B+Buhy +UAYHE8ojulWtUQ3t2+v7sN38iyKUjOKLigESJs6jWrWACXg4+BkfthG/oO8nPalOHNKi1Kq6Zb02 mqLLSVEHTaLLsneq7MWvHNqhIEVaXHnmGuT9QyVJhfcKbn5RvCslsxoNKUJeBKU+WTszDZSpaDHJv +f26AAe581HEw6JUpPow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKrQ-0007r9-2p; Fri, 22 Dec 2017 10:47:28 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKiG-0006Vy-Up for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2017 10:38:08 +0000 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2477125BEDF; Fri, 22 Dec 2017 21:30:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1513938620; bh=t0GaQcwstHeAaeGc8p0t/2Czf1h23TRTgUE8UNFgVRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HAi8zl5PVZhl8v7RdS4Z0VibLUIXPuTacSMh+08oqx0osiHjaIHzLUGnWIXxUEboW xqB07vaJMXgLm8OPz1lu8KBBEBtIUERuG7/S3BX6NYLHxNPr030RgknPzglpOkeJZF MFdUfugeqrcHkwKGs7FsVnK4YsNNRlocc5LYcxwY= Received: by penelope.horms.nl (Postfix, from userid 7100) id E3E69E21427; Fri, 22 Dec 2017 11:30:17 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 05/37] ARM: dts: r8a7790: Correct critical CPU temperature Date: Fri, 22 Dec 2017 11:29:43 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171222_023801_775789_0AA5BA3A X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.1 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [202.4.237.240 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Chris Paterson , Magnus Damm , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Chris Paterson 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 Signed-off-by: Simon Horman --- 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 e2c530c330a8..606accf5ff2d 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"; }; From patchwork Fri Dec 22 10:29:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 852309 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LO0njnp7"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=verge.net.au header.i=@verge.net.au header.b="flFeioIV"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z350v4qflz9s1h for ; Fri, 22 Dec 2017 21:51:43 +1100 (AEDT) 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=V+XA3RqVVpCAv37Ov+YfyI929ilaC/e+xsslaNMrDZQ=; b=LO0njnp7DqRjdE AxkJt9yMu4uAwO19FwbjxxWjTfdE29LyW9UhUAlugsCIz72fSDKmdYUJBqtp5SWC/MPJ/ywdigExS NzGg+AdhAEk/AUgmrVfYyaql7fiexws+S+rHLvIQXHbjeao9K67svIZIoi97hRdvsMsBaGOnHwzlP KNCJXkvMbsOb9JGDMwRAMDitVL89YtIHtuEH1r0lwnrCof0GRAnfGlK80+zNCyJLT4sANhrJF2jVA YHrFuIZyPfAFXV1m57ZCrvMqzUz3f2hIgHk94aLNRPcvINrnKeztaY/yF+MNWYy76O1V3XyzhUf+6 N2C/gs0LZXZi3wPAKt1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKvN-00033x-7p; Fri, 22 Dec 2017 10:51:33 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKjT-0006Vy-Ik for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2017 10:41:17 +0000 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id CBBB325BEE1; Fri, 22 Dec 2017 21:30:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1513938623; bh=7/55Rz4N07IJF+S/sxOoeVqreRaVFE2qKWOv6XTJXbk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=flFeioIVgPeMVTIKM8FLpWSxUhyVlf8Ome6qT3Tx4pzApBS3djcj3arCFTbkvGVLd yYd+7TMvN677F+JpyUj/G/3DGnA82viPSdygyEpyv7v7O9MJ+HfyKtQZtQ6vDhuaDI THY3jtcVtgT0wnzrUwhDFHUwfF+yjlJgZuo1I89Y= Received: by penelope.horms.nl (Postfix, from userid 7100) id E8759E21428; Fri, 22 Dec 2017 11:30:17 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 06/37] ARM: dts: r8a7791: Correct critical CPU temperature Date: Fri, 22 Dec 2017 11:29:44 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171222_023916_658690_284891E2 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-Spam-Note: SpamAssassin invocation failed X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Chris Paterson , Magnus Damm , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Chris Paterson 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 Signed-off-by: Simon Horman --- 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 dfc1c406179f..008a260f86a5 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"; }; From patchwork Fri Dec 22 10:29:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 852307 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SbBJn2ki"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=verge.net.au header.i=@verge.net.au header.b="I1eYNTLZ"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z34rt5NL8z9s7n for ; Fri, 22 Dec 2017 21:44:46 +1100 (AEDT) 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=OVDU/swMT4alsT7vM7gJWQrIEEjKnXrnWc1+CgdI86M=; b=SbBJn2kiWVGFGR BHSNjm95DIyrE8tzSqGtZoyUt7ksUxx/DnxS77KFIEBMO8ql4AivcYVCwqQD7+AdUnFuUjzrXt6+2 tyGC/Tli2Cgepw7hHvp2/usjrJNItiSaiUBSLlfqdDRqIo1/s01QrpVn/T+Qt/Lq9sWBuKncd5Irw QKr96xtI6Hip06n8tezRLPs7tR0R+fESvkruu2U+NvBXRkq/iQbiu2Gnv0TMX4uH5AwPuvp4IDKiN 6eYkTZF+mLWL62HxJeUGf3PALNpAdKyUMRZHjj8m3G8Yuw6ISkYls8ewJnRG9NI/3MhpAul/uQRaN KE/4NDe4h7rgC8uKvgVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKol-0005Hj-AJ; Fri, 22 Dec 2017 10:44:43 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eSKn7-0002wv-Nc for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2017 10:43:18 +0000 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id D02CC25BEE3; Fri, 22 Dec 2017 21:30:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1513938623; bh=tjl31ecDZ3hXnUX//5uHqvocPUmwtmdUtG5X7zMLeG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I1eYNTLZ7+00O8MRlyDJDId7bikYDoBai7GiPMu/xTk+AAT0IXGYJIBqTTDRABKDn C3g+HOeOxoPLHkRjyRYEBIw/Hs5zUNrVlWbBP1eGdDgSCTxJ7nW5JY99f9kgY5M/xo g2gQKC/rY1qMT61V0Mmqxti9iC2lBovcHoB5hrtw= Received: by penelope.horms.nl (Postfix, from userid 7100) id ECFA7E21429; Fri, 22 Dec 2017 11:30:17 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 07/37] ARM: dts: r8a7793: Correct critical CPU temperature Date: Fri, 22 Dec 2017 11:29:45 +0100 Message-Id: <1dfc65cef481ac6af64380f26186d5cc585b46eb.1513938145.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171222_024302_137397_BBF04004 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.1 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [202.4.237.240 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Chris Paterson , Magnus Damm , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Chris Paterson 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 Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- 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 a83c2e9c5723..dbc62e61940d 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"; };