From patchwork Wed Mar 1 10:29:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 9598119 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 21F98604DC for ; Wed, 1 Mar 2017 10:34:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 664F728537 for ; Wed, 1 Mar 2017 10:34:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AF9028541; Wed, 1 Mar 2017 10:34:29 +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 EA29028537 for ; Wed, 1 Mar 2017 10:34:28 +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=Nboap3/LXJC2Sc2+/vqxqN0coCo89JtWrwATerwHTxQ=; b=DgQiFWxzHQ1MAJ K3HxEMAw4PjGvlprliUOJpnC1vpXDSHiOk6puVkKmCQPetVsb64VP1E+11YErJIdqkUU7MJ+OBLot Nts9jOqTu4IwoWhQ8y4m+mar09lXs1sx957yz/w6BwxnzCvcubpqq3FoihyCMpX4/w0PMmKDMQ0O6 c/ADPH/hk4LjIAloxvZPoq//YUfSRoD+QrlRjLAF6RuaR8dlGQpd1a/OY2ICr/iKeQqtLAY1QotdH YIFnyJjXjya0JIP5S4XV3aPbMw2dO+CumJMR4ljcZZTRgbnU0ujt5rw+aEvTH2mBv/l5tYvjd4AVK /McVqgCwimiWK57cdX3A==; 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 1cj1aV-0007vV-Fa; Wed, 01 Mar 2017 10:34:27 +0000 Received: from lelnx194.ext.ti.com ([198.47.27.80]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj1Wv-000605-6x for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 10:30:46 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v21AUJDk009925; Wed, 1 Mar 2017 04:30:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488364219; bh=EGJljR1AZcACXzM9ttSF4sTDGM+Ac+Bev7LBkJt+OTc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pXZAqAVNfScz0XJQNz9z6xlDml5XTZxVgvYovSSZaR4+1I9N80alFXjFCVbCfp0we Ow8aWh1pm+9MdCciQrgapUmsESgLz7wUR1JC0CrB1klBZVMS/Arn9wQWknw9PPoEYF /KfmBezaYwRd5NeuB1El1dhgkvNbZXxR6mQsDlcw= 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 v21AUJ0p025013; Wed, 1 Mar 2017 04:30:19 -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:18 -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 v21AU5Zf020471; Wed, 1 Mar 2017 04:30:16 -0600 From: Keerthy To: , Subject: [PATCH 3/7] ARM: OMAP443x: Thermal: Add slope and offset values Date: Wed, 1 Mar 2017 15:59:46 +0530 Message-ID: <1488364190-23488-4-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_023045_401361_239B0BCC X-CRM114-Status: UNSURE ( 5.33 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm/boot/dts/omap443x.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index fc6a861..03c8ad9 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -71,4 +71,8 @@ }; +&cpu_thermal { + coefficients = <0 20000>; +}; + /include/ "omap443x-clocks.dtsi"