Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348744

Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal zones

From Eduardo Valentin <edubezval@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal zones
Date 2016-03-03 04:30 +0100
Message-ID <r8s7F-UT-19@gated-at.bofh.it> (permalink)
References <qyK1r-7ZU-9@gated-at.bofh.it> <qyK1s-7ZU-21@gated-at.bofh.it> <r8rXZ-Ry-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal  zones Eduardo Valentin <edubezval@gmail.com> - 2016-03-03 04:20 +0100
  Re: [PATCH v3 1/4] thermal: Add support for hierarchical thermal  zones Eduardo Valentin <edubezval@gmail.com> - 2016-03-03 04:30 +0100

csiph-web