From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [lm-sensors] [RESEND PATCH V1 0/9] thermal: introduce DT thermal zone build Date: Thu, 18 Jul 2013 11:18:05 -0600 Message-ID: <51E8234D.1020607@wwwdotorg.org> References: <1374074248-31690-1-git-send-email-eduardo.valentin@ti.com> <20130717220942.GB990@roeck-us.net> <51E7F341.8020508@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51E7F341.8020508@ti.com> Sender: linux-pm-owner@vger.kernel.org To: Eduardo Valentin Cc: Guenter Roeck , Grant Likely , Rob Herring , devicetree-discuss@lists.ozlabs.org, wni@nvidia.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, l.stach@pengutronix.de List-Id: devicetree@vger.kernel.org On 07/18/2013 07:53 AM, Eduardo Valentin wrote: > Hello Guenter, > > On 17-07-2013 18:09, Guenter Roeck wrote: >> On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin >> wrote: >>> Hello all, >>> >>> As you noticed, I am working in a way to represent thermal >>> data using device tree [1]. Essentially, this should be a way >>> to say what to do with a sensor and how to associate (cooling) >>> actions with it. >>> >> Seems to me that goes way beyond the supposed scope of devicetree >> data. Devicetree data is supposed to describe hardware, not its >> configuration or use. This is clearly a use case. > > Thanks for rising your voice here. It is important to know what > hwmon ppl think about this. I meant to find time to read Guenter's original email where he initially objected to putting data into DT, and determine exactly what was being objected to. I still haven't:-( However, the arguments that Eduardo stated in his email do make sense to me; I agree that temperature limits really are a description of HW. Details of which cooling methods to invoke when certain temperature limits are reached is also part of the HW/system design, and hence I would tend to agree that they're appropriate to include in DT. Anyway, that's just my 2 cents on the matter:-)