From patchwork Fri Mar 3 23:18:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9603693 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 2B503602B4 for ; Fri, 3 Mar 2017 23:22:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A142285C8 for ; Fri, 3 Mar 2017 23:22:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A50D2861C; Fri, 3 Mar 2017 23:22:31 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 8734E285C8 for ; Fri, 3 Mar 2017 23:22:30 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=2Vpr6wXYrUb8E71SLF2DzVNv3VjEYgzMwWAGnqsydsI=; b=U0jak0nKzbWCy1JDeW8XjfIRg9 JLf6VkNtur9jObkbiWAtsxWe+UK4N5RK8ZjUH1wOKjMYx45UiqY2jgkAWB+EiaGk/LZSxa39odd09 iNuOlZoDSOCyZEpkLtv6F0ITD/GosN0IX2VC8+JCBcb0ikkxvfp7ezZ9W6IjPPkpqzvSA7ucWzyEK vME3xVhviMUHUcH/sTzkUkzMvqIvboQtTj39Rlz2lkRDHUC4AUnAXxjdLYSmHwYAKbXOwdq3MgssT laeph4boMD0RsOLqGPqmPamscmyGz4kXLhqF+yl++bVBC6jfhSXxlbt7knu/e/2EXJDYVxKj+gaQ/ jg0cB9Gg==; 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 1cjwWs-0004OI-7Z; Fri, 03 Mar 2017 23:22:30 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cjwU5-0001f2-4S; Fri, 03 Mar 2017 23:19:41 +0000 Received: from localhost.localdomain ([95.91.4.8]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MIUU3-1cj7853QeF-004E71; Sat, 04 Mar 2017 00:19:03 +0100 From: Stefan Wahren To: Eric Anholt , Zhang Rui , Eduardo Valentin Subject: [PATCH V10 5/6] ARM64: dts: bcm2837: Define CPU thermal coefficients Date: Fri, 3 Mar 2017 23:18:48 +0000 Message-Id: <1488583129-4159-6-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1488583129-4159-1-git-send-email-stefan.wahren@i2se.com> References: <1488583129-4159-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:Eq6PPQwDF3Qnz1O3ZoEPwqs57S7BUqlCPuQhdpb5zmrInJjhi3U 70YDkyZuLLns3YUDxj4Lu0KpQnztl0dQod0i5rHV126fOwtN7vlARcqAbQnrkH3yRtjDQDb SWGgyMoJocdS907FduS60EbXUvXtZSo7MAF2RsZxljeSW8BJMe2LCRRKaaTaaZ74gAoxYNc tW3gWx0CXkVoQjB2TsYXQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:LKYedC1guUE=:RBg6v4l1mJuHhQ1uWv6XN4 T34fPjq2jpUzBAeii47BUTFYEUaZnTrU8MxfWFWvgCc9z64r9ltaGIGhZjFMmth9aWmzUUQjM xRLCUmNZmDpAgQlcv7m+3f0+4ZC7b0N2oRgSFxyV1D78+dieouNiLb0ew67N5BqWsZyiHffut BtJmFw7wTR9+W8US2lsB7fjpLRDZHjdkjJ6iLigZLVP+f2/dKL69y5a4TTZMO+6uys0nnS1NH FUui6zzEtOhWhDHJC5BE2Jst8qAryyf0ys/QyJSs0tuttaw2EpHheM4LlqV+uCzrsuSxANh7N ZpbIUiVZ9yTA+wMcS8Sn5Ib6I15bcUKifGZk1hWBt58B/jAsfq1JTloP8MUtqpQhPXAlr2QMr o/Xx76Jckm9RfDOl3mLssHC84NsCjxHLa3kowu5feYfmDKF3gfIz3NngHHOrJDlh7Vh1W24vl ROhG7N3YWjTsbmLf7wgqSt04SV8dKHcorHe955Wwp69E/qNhGqJHmKLzft620OPyC+39tLqZM aaMWU6KUfySDwDSNUUhRQA/6nhXxx62gnjUoFrMb870dLdRhTyNVGFe+eD6uLqbd52/TYjr3n d7wQR43RQl8F1rkNceI+1DhKiiOEymITop+2Ar0xmE9FL7znZDTIwV5xiG9P7col7HZ78xilw ilBJk6pYX466ooAKGGO7frQnk5vwpq48/awjPx8dK4iA9O0Hh7P0diqstyhb075mTf4k= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170303_151937_544146_ABE918A3 X-CRM114-Status: UNSURE ( 6.43 ) 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: Stefan Wahren , devicetree@vger.kernel.org, Florian Fainelli , linux-pm@vger.kernel.org, Catalin Marinas , Will Deacon , Rob Herring , linux-rpi-kernel@lists.infradead.org, Martin Sperl , Frank Rowand , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 This defines the bcm2837 SoC specific thermal coefficients in order to initialize the thermal driver correctly. Signed-off-by: Stefan Wahren --- arch/arm64/boot/dts/broadcom/bcm2837.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2837.dtsi b/arch/arm64/boot/dts/broadcom/bcm2837.dtsi index 19f2fe6..666c713 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2837.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2837.dtsi @@ -75,6 +75,10 @@ interrupts = <8>; }; +&cpu_thermal { + coefficients = <(-538) 412000>; +} + /* enable thermal sensor with the correct compatible property set */ &thermal { compatible = "brcm,bcm2837-thermal";