Messages in this thread | | | Date | Wed, 2 Mar 2016 19:23:27 -0800 | From | Eduardo Valentin <> | Subject | Re: [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.
| |