Re: [PATCH v2 2/2] iio: adc: stm32: add dt option to set resolution

2017-04-03 Thread Jonathan Cameron
On 02/04/17 09:54, Jonathan Cameron wrote: > On 31/03/17 13:32, Fabrice Gasnier wrote: >> stm32 adc supports several resolution. Add 'assigned-resolution-bits' >> dt optional property to set it. Default to maximum resolution in case >> it isn't set. >> >> Signed-off-by: Fabrice Gasnier > The code

Re: [PATCH v2 2/2] iio: adc: stm32: add dt option to set resolution

2017-04-02 Thread Jonathan Cameron
On 31/03/17 13:32, Fabrice Gasnier wrote: > stm32 adc supports several resolution. Add 'assigned-resolution-bits' > dt optional property to set it. Default to maximum resolution in case > it isn't set. > > Signed-off-by: Fabrice Gasnier The code is fine. Just waiting on review of the binding. G

[PATCH v2 2/2] iio: adc: stm32: add dt option to set resolution

2017-03-31 Thread Fabrice Gasnier
stm32 adc supports several resolution. Add 'assigned-resolution-bits' dt optional property to set it. Default to maximum resolution in case it isn't set. Signed-off-by: Fabrice Gasnier --- Changes in v2: - rename property from 'st,adc-res' to 'assigned-resolution-bits', so it is more common. --