lkml.org 
[lkml]   [2016]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/4] thermal: Add support for hierarchical thermal zones
On Wed, Mar 02, 2016 at 07:12:46PM -0800, Eduardo Valentin wrote:
>
> Thanks for moving this forward Javi,
>
> Few comments inline.
>
> On Wed, Nov 25, 2015 at 03:09:43PM +0000, Javi Merino wrote:
> > Add the ability to stack thermal zones on top of each other, creating a
> > hierarchy of thermal zones.

> > +
> > + if (!tz->ops->get_temp) {
> > + ret = get_subtz_temp(tz, temp);
> > + goto unlock;
> > + }

In fact, if we follow the semantics in DT, we should allow both,
regular sensors (.get_temp) and subtzs.

\
 
 \ /
  Last update: 2016-03-03 05:01    [W:0.060 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site