Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754672AbdC3Eq0 (ORCPT ); Thu, 30 Mar 2017 00:46:26 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35513 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbdC3EqY (ORCPT ); Thu, 30 Mar 2017 00:46:24 -0400 Date: Wed, 29 Mar 2017 21:46:19 -0700 From: Eduardo Valentin To: Keerthy Cc: Tony Lindgren , rui.zhang@intel.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, robh+dt@kernel.org, t-kristo@ti.com Subject: Re: [PATCH v2 0/8] thermal: ti-soc-thermal: Migrate slope/offset data to device tree Message-ID: <20170330044617.GA12753@localhost.localdomain> References: <1489046762-11288-1-git-send-email-j-keerthy@ti.com> <64ab8413-6cf1-864f-0550-9c8db59523f7@ti.com> <20170323205256.GO10760@atomide.com> <20170324142610.GX10760@atomide.com> <20170329043753.GB1596@localhost.localdomain> <5380b1bc-f3c6-a0ef-e458-7509d95d631e@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5380b1bc-f3c6-a0ef-e458-7509d95d631e@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1941 Lines: 62 On Thu, Mar 30, 2017 at 08:59:31AM +0530, Keerthy wrote: > > > On Wednesday 29 March 2017 10:07 AM, Eduardo Valentin wrote: > > Keerthy, > > > > On Fri, Mar 24, 2017 at 07:26:10AM -0700, Tony Lindgren wrote: > >> * Keerthy [170323 20:29]: > >>> > >>> > >>> On Friday 24 March 2017 02:22 AM, Tony Lindgren wrote: > >>>> * Keerthy [170321 20:45]: > >>>>> > >>>>> > >>>>> On Thursday 09 March 2017 01:35 PM, Keerthy wrote: > >>>>>> 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. > >>>>>> > >>>>>> Tested for the slope and constant values on DRA7-EVM, OMAP3-BEAGLE. > > > > Have you tried on boards that need negative coefficients? > > > > https://patchwork.kernel.org/patch/9619577/ > > Yes. I retrieved the negative values nicely in the driver passed via > Device Tree. > > > > >>>>> > >>>>> Hi Eduardo, > >>>>> > >>>>> If the series looks okay could you please pull this? > >>>> > >>>> Also.. Are the dts changes safe for me to pick separately? > >>> > >>> Yes Tony they are safe to pulled separately. > >> > >> OK applying patches 1 - 5 of this series into omap-for-v4.12/dt-v2. > > > > Keerthy, > > > > The only thing I want you to confirm is if you are really getting the > > negative coefficients, because currently of-thermal reads the array > > using an OF helper that understands only unsigned. For this reason, I > > will be queueing your patches only for next merge window, not as a fix, > > not for rc's. > > I am getting negative co-efficients. OK. That is odd. Might be simply we get still converted after simply assigning the unsigned to the int in the thermal device data struct. Anyways, still not for rc, given the amount of changes in the driver. > > > > > > >> > >> Thanks, > >> > >> Tony