Message ID | 1488364190-23488-3-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 6E23E604DC for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B25852853C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A666328541; Wed, 1 Mar 2017 10:35:01 +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 3E1622853C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 1 Mar 2017 10:35:01 +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=qF7RuWb7AoAPb2ZIBbr/b3cC5hVMME4/F9u3X4m83EQ=; b=cs1YchN4e5OZqo O7U17IEdqlamMhyFnNTId1TtxxkzTuDwBEidzUIjBi08aXq7iHnE2B7/HNON4zuDQH640W7keDeGp N2vICLODCObt7pap6Mv8Dr2WLsrvLOOndlFVFk4J5N1Zp02hgayNfy1mIq2OKROoPwCOgvUolCc8e 4Gn6KHmFUFX60+0lTthMi2ebTvQprpCx0UPApYYvS0Qgc6aMZGhZZ86HM4porHs2rXpEmGB5XTJqj g89X5HDBmc3vkDXOlm8auUEfyq1gOWV2jL0H8zIA+0f3kAeFmaAINdvtJ69mlTTYp8wAadiKVDR9X 6uNwuA+GxZCf/s6/smdA==; 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 1cj1aw-00087h-Rp; Wed, 01 Mar 2017 10:34:54 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj1Y6-0006R6-AI for linux-arm-kernel@bombadil.infradead.org; Wed, 01 Mar 2017 10:31:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xfKwj9bdC/iDu84bOROhAXKcNXgeINRcR5UK0tPvkGM=; b=DJ7lorczc1xJ2PTY+2hZbeInF CKkdwnnS2C/7l1fj177XyyIAo5wPf+ZlhOOIbtAjxdgoZI9URwYwmDF3PBm4XPvbXQ7YuOpFRTSAD 61Voz5+k5Dz4MHDpeJjKp4o3j/CIQlYfNhxzoRKf2vApm+3LBEKGwvV8nkWazknsCEodv4Zr4hCkv 7945BJJ3uSR+yhyRH2+Eq0Kpp3zA+TbZ/cHlpep9HJE0le8SWQxkbiCyl1fm60YqXtN3Uey7zCUHj g6Nw52dwStqPNO2oKoyc8AVPRBtG74tiulY45+GD8gLUxIpMIliSK6HfwNGTxX9d+9PFNgRA0XGud kDhgYpHkw==; Received: from fllnx209.ext.ti.com ([198.47.19.16]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj1Y2-0002Bm-53 for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 10:31:56 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v21AULpK025221; Wed, 1 Mar 2017 04:30:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488364221; bh=ryWiEzEDjsjYxV/T42fz3oII6IG/OQVMgEkNXWxrCZg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TGZ+52ZE+QEzlL1Jn8VbUwyBtxy2nDuJJsxAlOosMC8bhkE1qQGL0HkD0pOzn+bUv 0uDY0iSUGjcuVZz2trwN61JBit0RV3ou+RcfZ4FAidI2KOBWxmqZVG6Os6VzMgAGfi Yhq0ge6SeE1UwuZgmiBnOMLYNN+OCu2XNp9n7T3g= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v21AUGbC024951; Wed, 1 Mar 2017 04:30:16 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Wed, 1 Mar 2017 04:30:15 -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 v21AU5Ze020471; Wed, 1 Mar 2017 04:30:13 -0600 From: Keerthy <j-keerthy@ti.com> To: <tony@atomide.com>, <edubezval@gmail.com> Subject: [PATCH 2/7] ARM: OMAP5: Thermal: Add slope and offset values Date: Wed, 1 Mar 2017 15:59:45 +0530 Message-ID: <1488364190-23488-3-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_103154_502768_097C5F62 X-CRM114-Status: UNSURE ( 7.98 ) 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/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 222155c..eaff2a5 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -1127,6 +1127,15 @@ &cpu_thermal { polling-delay = <500>; /* milliseconds */ + coefficients = <65 (-1791)>; }; /include/ "omap54xx-clocks.dtsi" + +&gpu_thermal { + coefficients = <117 (-2992)>; +}; + +&core_thermal { + coefficients = <0 2000>; +};
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/omap5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)