From patchwork Wed Mar 1 10:29:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 9598465 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 AE32160453 for ; Wed, 1 Mar 2017 14:06:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DAF728306 for ; Wed, 1 Mar 2017 14:06:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90DA628563; Wed, 1 Mar 2017 14:06:27 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 8803728306 for ; Wed, 1 Mar 2017 14:06:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbdCAOGY (ORCPT ); Wed, 1 Mar 2017 09:06:24 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:45349 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbdCAOGX (ORCPT ); Wed, 1 Mar 2017 09:06:23 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v21AUMeO030180; Wed, 1 Mar 2017 04:30:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488364222; bh=V9UOKsaU3KM7uAQQFYTIXQp9cc+7lgIItb2QtrDNy7Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ky3BFrmIoalGcPeQg207R5Rq2Wc+nuDkSPK5fCmWNrOxc9Jw1/ITnyycITW0gQyMi 8pmTR4hm+oEQt93D4i54xjqZJaBi4o7mPutnkoLX/p44vrG7QIat0dSzhhBqEONfAj GECv4ehyyJy7gw96MlGaGQIP96TPku5yqXNfQmFM= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v21AUMPA026569; Wed, 1 Mar 2017 04:30:22 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Wed, 1 Mar 2017 04:30:22 -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 v21AU5Zg020471; Wed, 1 Mar 2017 04:30:19 -0600 From: Keerthy To: , CC: , , , , , , , Subject: [PATCH 4/7] ARM: OMAP4460: Thermal: Add slope and offset values Date: Wed, 1 Mar 2017 15:59:47 +0530 Message-ID: <1488364190-23488-5-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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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/omap4460.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index ef66e12..c43f2a2 100644 --- a/arch/arm/boot/dts/omap4460.dtsi +++ b/arch/arm/boot/dts/omap4460.dtsi @@ -90,4 +90,8 @@ }; +&cpu_thermal { + coefficients = <348 (-9301)>; +}; + /include/ "omap446x-clocks.dtsi"