Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Thierry Reding
On Sat, Nov 24, 2012 at 10:54:03AM +, Jonathan Cameron wrote: > On 11/23/2012 03:13 PM, Thierry Reding wrote: > > Add support for reading conversion results from the ADC and provide them > > through a single IIO channel. A proper scaling factor is also exported > > based on the reference

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Jonathan Cameron
On 11/24/2012 03:54 PM, Lars-Peter Clausen wrote: > On 11/24/2012 11:54 AM, Jonathan Cameron wrote: >> On 11/23/2012 03:13 PM, Thierry Reding wrote: >>> Add support for reading conversion results from the ADC and provide them >>> through a single IIO channel. A proper scaling factor is also

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Lars-Peter Clausen
On 11/24/2012 11:54 AM, Jonathan Cameron wrote: > On 11/23/2012 03:13 PM, Thierry Reding wrote: >> Add support for reading conversion results from the ADC and provide them >> through a single IIO channel. A proper scaling factor is also exported >> based on the reference voltage provided by a

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Jonathan Cameron
On 11/23/2012 03:13 PM, Thierry Reding wrote: > Add support for reading conversion results from the ADC and provide them > through a single IIO channel. A proper scaling factor is also exported > based on the reference voltage provided by a regulator. > > Signed-off-by: Thierry Reding Looks good

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Jonathan Cameron
On 11/23/2012 03:13 PM, Thierry Reding wrote: Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based on the reference voltage provided by a regulator. Signed-off-by: Thierry Reding

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Lars-Peter Clausen
On 11/24/2012 11:54 AM, Jonathan Cameron wrote: On 11/23/2012 03:13 PM, Thierry Reding wrote: Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based on the reference voltage provided by a regulator.

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Jonathan Cameron
On 11/24/2012 03:54 PM, Lars-Peter Clausen wrote: On 11/24/2012 11:54 AM, Jonathan Cameron wrote: On 11/23/2012 03:13 PM, Thierry Reding wrote: Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based

Re: [PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-24 Thread Thierry Reding
On Sat, Nov 24, 2012 at 10:54:03AM +, Jonathan Cameron wrote: On 11/23/2012 03:13 PM, Thierry Reding wrote: Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based on the reference voltage

[PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-23 Thread Thierry Reding
Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based on the reference voltage provided by a regulator. Signed-off-by: Thierry Reding --- Changes in v2: - use the more common IIO_VAL_FRACTIONAL_LOG2

[PATCH v2] iio: adc: Add Texas Instruments ADC081C021/027 support

2012-11-23 Thread Thierry Reding
Add support for reading conversion results from the ADC and provide them through a single IIO channel. A proper scaling factor is also exported based on the reference voltage provided by a regulator. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- Changes in v2: - use the more