From patchwork Fri Mar 31 20:03:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9657257 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 C3D8A601D2 for ; Fri, 31 Mar 2017 20:04:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9F5C286FC for ; Fri, 31 Mar 2017 20:04:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E85128707; Fri, 31 Mar 2017 20:04:08 +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 4C59B286FC for ; Fri, 31 Mar 2017 20:04:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755159AbdCaUEE (ORCPT ); Fri, 31 Mar 2017 16:04:04 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:60446 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754896AbdCaUED (ORCPT ); Fri, 31 Mar 2017 16:04:03 -0400 Received: from localhost.localdomain ([95.91.4.8]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M6AMY-1bw1EA3X5u-00yDUs; Fri, 31 Mar 2017 22:03:21 +0200 From: Stefan Wahren To: Eduardo Valentin , Zhang Rui , kernel@martin.sperl.org Cc: Eric Anholt , Rob Herring , Frank Rowand , Florian Fainelli , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Stefan Wahren Subject: [PATCH V12 3/4] ARM64: dts: bcm2837: Define CPU thermal coefficients Date: Fri, 31 Mar 2017 20:03:05 +0000 Message-Id: <1490990586-30898-4-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1490990586-30898-1-git-send-email-stefan.wahren@i2se.com> References: <1490990586-30898-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:HcyVhvLZ+KPYm+DW9nTpH4UHsmmVa88ARr/EjF/MB54mZpl0KSR kEPIYECi4M/OTgK9Quqz6+G+tN7rV8TjSvGEpdwe3odSXr6AMRPp/uQu/esF/hE1yI6/qbA 2ur7E26ejJU6LMqqrRA/9U8EU5wlOTUSX1ZduabJzR3wJryaSRLC7wEHXUsOnQVsWMuiuGj 7j3FeKcganavB5SM+buiA== X-UI-Out-Filterresults: notjunk:1; V01:K0:fsdTiYYeMZw=:lmtSykuwiGv3VJM0TSJ/fp A1IYFQQltqtKGM0Y3Dk3k8tJFG8++drQFgqktxU3cuoML4bBTc0CJXwyUYAPW2C771gwCK7t0 Ek5MRu3noqnJ9hQRNUGXw5Y2URnYaaQruNT+ecTqsm0DmRoit+weWBnn8JcSJhD0mXJM11dKu z8GBbSVvz9dzwdJoBYCiEpe++yJvKOHIbJofyuBXj2uSc9Kqjn+DPmHQV8ZLsdmbF6ha/l0Sb 3FmCjSdFzPlWYbA94N75V8l9wkpN57hxfIIr4/eu0gRfUSSAR+1lYMPDCpLFc+71ik9DidA0+ fxttIJa1BaQKPTIIb0V8m5aN2mFM0Fetc0MUirWtfVL2JiS92R7G0F5pFB7Ph8IQ8pL0KiEEE 3al+dFV6Sdre2JodVuks5m7rya1zzdxNU+Nj7RPdUBmd36wFQH0XWuP426RkIgEFk0WFC5T/4 +mE6G4kfbU/klXEuBkViuppp0ocyGfzZoDu6XXgR8+Wi4V82C4rT1hTdemsTxEh8ahTDx2EkW M5dfS7kHxQKid/OwAqlaA48dARWHuu5G0TpVSaB56lIqhn26uK5QurGe13cjTIBmm7c/QSr4M LO1RNoqFowuwhHuMb0kS9Lw2dZfiSjxW53AOS9PsW5jo3Dl5FC4rJJVLi35PVE6ON49mQY8it 13RzjFlfCvtuzl8aSLP1R3D8/ukonBQ87akJ2PWhgvQR8WX/ukEXGK0WzJs3UE5H234E= 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 Acked-by: Eduardo Valentin --- 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..2d5de6f0 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";