Message ID | 1488364190-23488-2-git-send-email-j-keerthy@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 597BF604DC for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:30:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9077B28522 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:30:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 852D62853C; Wed, 1 Mar 2017 10:30:44 +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 8C46428522 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:30:43 +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: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=i9utJ14KhQG3DWDFImHxCUU3aDJVOFpAMSGzyxB1spw=; b=EGI0P6YTR3l13F tqcj8mwiyy11oiWgGZnVys3Cl58OOQpuyTiEe/EUU6WBilRa97gG8A9JTZpY1kUHdugYFO8wkdP6w nOJF1TlceeYm/u/SZkCtr46Z0Qo0nZUXwbNJa4BRoXWO/28QJlBLewnUE52NJbP+btnPSJwKWOMyQ wiulZKTGzyEUs7Xhqj7Qswx+MdfjS9FeMYRolAdrqCexIR/pnnL7aFG84Uto3rYCtKtfHNevtdpDT bWhyMDhiCIzKX3WE4UoWfVeEmYCwRbcXWrpAxaAo6ZHeE9MZe6ZoVJRXFcwef0VPjTamQ1Ng+nRXF pF9JpWvfXh4c2XiQtQGw==; 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 1cj1Wr-00062Y-Aj; Wed, 01 Mar 2017 10:30:41 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj1Wn-0005yU-Q4 for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 10:30:39 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v21AUDPY003368; Wed, 1 Mar 2017 04:30:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488364213; bh=kuDEnDe5nl2Q20UlBrhDYCAMRSUVgXt4j28O+Oxfr/8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Qrg9xJaJJNkpGos8Kw7BvrXPenScNZDxpHEgYd4SxHgyVBa0EWyv7snms6VXJ2Nmi fJkx/sKjo70y8z5jqPBKrMxrXL/DBAL8J9vnAjvC5bxktgPqW9PrZy5hpjvOv8Ab59 Tl/WVOr1SO+VUjOlC9m+rS3q8KIs6NzVFtW1Eksc= Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v21AUCLY024842; Wed, 1 Mar 2017 04:30:13 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Wed, 1 Mar 2017 04:30:12 -0600 Received: from ula0393675.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v21AU5Zd020471; Wed, 1 Mar 2017 04:30:09 -0600 From: Keerthy <j-keerthy@ti.com> To: <tony@atomide.com>, <edubezval@gmail.com> Subject: [PATCH 1/7] ARM: DRA7: Thermal: Add slope and offset values Date: Wed, 1 Mar 2017 15:59:44 +0530 Message-ID: <1488364190-23488-2-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488364190-23488-1-git-send-email-j-keerthy@ti.com> References: <1488364190-23488-1-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_023037_981436_C099D979 X-CRM114-Status: UNSURE ( 5.91 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-pm@vger.kernel.org, j-keerthy@ti.com, linux-kernel@vger.kernel.org, t-kristo@ti.com, robh+dt@kernel.org, rui.zhang@intel.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 2c9e56f..10e09dc 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1982,6 +1982,23 @@ &cpu_thermal { polling-delay = <500>; /* milliseconds */ + coefficients = <0 2000>; +}; + +&gpu_thermal { + coefficients = <0 2000>; +}; + +&core_thermal { + coefficients = <0 2000>; +}; + +&dspeve_thermal { + coefficients = <0 2000>; +}; + +&iva_thermal { + coefficients = <0 2000>; }; /include/ "dra7xx-clocks.dtsi"
Currently the slope and offset values for calculating the hot spot temperature of a particular thermal zone is part of driver data. Pass them here instead and obtain the values while of node parsing. Signed-off-by: Keerthy <j-keerthy@ti.com> --- arch/arm/boot/dts/dra7.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)