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: 9603689 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 3E1F6604E2 for ; Fri, 3 Mar 2017 23:21:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FC84285B8 for ; Fri, 3 Mar 2017 23:21:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24AA82846A; Fri, 3 Mar 2017 23:21:41 +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 CE561285B8 for ; Fri, 3 Mar 2017 23:21:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbdCCXVf (ORCPT ); Fri, 3 Mar 2017 18:21:35 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:52027 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752105AbdCCXVM (ORCPT ); Fri, 3 Mar 2017 18:21:12 -0500 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 Cc: Martin Sperl , Catalin Marinas , Will Deacon , Rob Herring , Frank Rowand , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren 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= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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";