Re: [RFC PATCH] iio: adc: at91-sama5d2_adc: add support for oversampling resolution

2018-06-16 Thread Jonathan Cameron
On Mon, 11 Jun 2018 09:52:34 +0300 Eugen Hristev wrote: > This is implements oversampling support for the SAMA5D2 ADC > device. > Enabling oversampling : OSR can improve resolution from 12 bits to > 13 or 14 bits. > To not modify the scan element of the buffer , from 12 bits to 13 or 14, > I have

[RFC PATCH] iio: adc: at91-sama5d2_adc: add support for oversampling resolution

2018-06-10 Thread Eugen Hristev
This is implements oversampling support for the SAMA5D2 ADC device. Enabling oversampling : OSR can improve resolution from 12 bits to 13 or 14 bits. To not modify the scan element of the buffer , from 12 bits to 13 or 14, I have added the extra bit(s) as MICRO values to the INT value from the conv