Re: [PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-25 Thread Mikko Perttunen
On 09/25/2014 08:59 AM, Thierry Reding wrote: On Wed, Sep 24, 2014 at 10:32:13PM +0300, Mikko Perttunen wrote: On 09/24/2014 10:18 PM, Eduardo Valentin wrote: Mikko, On Thu, Aug 21, 2014 at 01:17:22PM +0300, Mikko Perttunen wrote: ... + +static int enable_tsensor(struct tegra_soctherm *tegra

Re: [PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-24 Thread Thierry Reding
On Wed, Sep 24, 2014 at 10:32:13PM +0300, Mikko Perttunen wrote: > On 09/24/2014 10:18 PM, Eduardo Valentin wrote: > > > >Mikko, > > > >On Thu, Aug 21, 2014 at 01:17:22PM +0300, Mikko Perttunen wrote: > >>... > >>+ > >>+static int enable_tsensor(struct tegra_soctherm *tegra, > >>+

Re: [PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-24 Thread Eduardo Valentin
Hello, On Wed, Sep 24, 2014 at 10:32:13PM +0300, Mikko Perttunen wrote: > On 09/24/2014 10:18 PM, Eduardo Valentin wrote: > > > > Mikko, > > > > On Thu, Aug 21, 2014 at 01:17:22PM +0300, Mikko Perttunen wrote: > >> ... > >> + > >> +static int enable_tsensor(struct tegra_soctherm *tegra, > >> +

Re: [PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-24 Thread Mikko Perttunen
On 09/24/2014 10:18 PM, Eduardo Valentin wrote: Mikko, On Thu, Aug 21, 2014 at 01:17:22PM +0300, Mikko Perttunen wrote: ... + +static int enable_tsensor(struct tegra_soctherm *tegra, + const struct tegra_tsensor *sensor, + struct tsensor_shared_c

Re: [PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-24 Thread Eduardo Valentin
Mikko, On Thu, Aug 21, 2014 at 01:17:22PM +0300, Mikko Perttunen wrote: > This adds support for the Tegra SOCTHERM thermal sensing and management > system found in the Tegra124 system-on-chip. This initial driver supports > temperature polling for four thermal zones. > > Signed-off-by: Mikko Per

[PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-21 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen --- v5: - changed tsample_ate to 480 - constified structs - added missing --