From patchwork Sun Mar 12 22:11:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9619581 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 0E14B60414 for ; Sun, 12 Mar 2017 22:12:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2E8020007 for ; Sun, 12 Mar 2017 22:12:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3DDF28415; Sun, 12 Mar 2017 22:12:45 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 BBF1720007 for ; Sun, 12 Mar 2017 22:12:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935384AbdCLWMo (ORCPT ); Sun, 12 Mar 2017 18:12:44 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:62800 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935371AbdCLWMn (ORCPT ); Sun, 12 Mar 2017 18:12:43 -0400 Received: from localhost.localdomain ([95.91.4.8]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MQJuC-1cfSUv2vEq-00Tin2; Sun, 12 Mar 2017 23:11:21 +0100 From: Stefan Wahren To: Eduardo Valentin , Zhang Rui , kernel@martin.sperl.org Cc: Eric Anholt , Rob Herring , Frank Rowand , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Stefan Wahren Subject: [PATCH V11 5/6] ARM64: dts: bcm2837: Define CPU thermal coefficients Date: Sun, 12 Mar 2017 22:11:04 +0000 Message-Id: <1489356665-3175-6-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1489356665-3175-1-git-send-email-stefan.wahren@i2se.com> References: <1489356665-3175-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:DilEwP42ValMC0Z1rrRbU8hLbue1nA32gJaFLjMxzKm/q6O+iO0 l54SfoAyZDBZx8uRS5bkccmgWgKGT9oLEBmJYIslPtbXfuwDn6ivU9igBPz8agLXDTF5Lej RXLttOXzGT3JB7ZBlmJ33XGfsQHzuD7e0xuVi9G/Hjbv3z2DvR14N44t3S3X3d8siw3ukZU Z9lTHem2Gr41ZmqrlrqJQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:5ZMVytLZOzU=:QGnPcga8PsHNY6sUpS8fQJ RqQU+2tmy20td8wnOmAloiDpkB4o2vMY+Xz3FHR7YGD5L9oGzv3AmiEBst/jpnckMvzM0albz ozwQK8L+U4qg2tyQahs/5bvGKEWIHfZfkpL2zdcie60dALQA1r0uNqPjZEXB0a1rIq69ZPzqN IOM7VMQ7cCILw4bcFl5EPeYP9gr726u2+qMR1VFKOvlnDmBH5TA28BMS+dnlCb2C8VehrH0dI j2tGcNnUXNcqdD8NEUxF1fX+oEaICEakUmkMS1+gi9A6MzU+2J/DwP/VQwtjKIhF75xaty5u7 tVSUweeth9d0JMx8z0YG6uetR0YeIvQZ8Rk1Rzk+ccxhwaGFKspqLBzX2U7SeNdOachvf5d/b QNlV+W6U9upERIAlpgxPncMZXsCKC4Wx2UWG6X51hWwLHOmsmrzY31ggdCSmcyq3ym5gh1b+L RtCdU6wPyoW+37Fwdo7gJRIi0+SgUsBWlBP8zslbDBlJpsznCrPunTJ8awVzsBHzoAe7wafrJ aimHLMFvJLpZqQzJlApJzFN4Iyo9X4VIYlh14G/k2WCHerTQyueZctTPNfItUD+Fl2xdtpFfm /XwXNsJq7fvGju9MpKYgk4x3YiLG/EN7FtboFsXvynw3mEPE25VSDCtMEWPIc2Iljv1DtmBoA fdr/yB5jX4SeEHAEcsiyhgcvVS1MFOqjaEWcK7iMqnytIGDe5+KDtrWl/MbhdR9AzT+0= 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..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";