Re: [PATCH V4 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-20 Thread Eduardo Valentin
On Thu, Apr 21, 2016 at 06:42:16AM +0530, Laxman Dewangan wrote: > > On Thursday 21 April 2016 05:13 AM, Eduardo Valentin wrote: > >Laxman, > > > >On Tue, Apr 19, 2016 at 12:52:01PM +0530, Laxman Dewangan wrote: > >>In some of platform, thermal sensors like NCT thermistors are > >>connected to the

Re: [PATCH V4 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-20 Thread Laxman Dewangan
On Thursday 21 April 2016 05:13 AM, Eduardo Valentin wrote: Laxman, On Tue, Apr 19, 2016 at 12:52:01PM +0530, Laxman Dewangan wrote: In some of platform, thermal sensors like NCT thermistors are connected to the one of ADC channel. The temperature is read by reading the voltage across the sens

Re: [PATCH V4 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-20 Thread Eduardo Valentin
Laxman, On Tue, Apr 19, 2016 at 12:52:01PM +0530, Laxman Dewangan wrote: > In some of platform, thermal sensors like NCT thermistors are > connected to the one of ADC channel. The temperature is read by > reading the voltage across the sensor resistance via ADC. Lookup > table for ADC read value t

Re: [PATCH V4 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-19 Thread Jonathan Cameron
On 19/04/16 08:22, Laxman Dewangan wrote: > In some of platform, thermal sensors like NCT thermistors are > connected to the one of ADC channel. The temperature is read by > reading the voltage across the sensor resistance via ADC. Lookup > table for ADC read value to temperature is referred to get

[PATCH V4 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-19 Thread Laxman Dewangan
In some of platform, thermal sensors like NCT thermistors are connected to the one of ADC channel. The temperature is read by reading the voltage across the sensor resistance via ADC. Lookup table for ADC read value to temperature is referred to get temperature. ADC is read via IIO framework. Add