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

2017-02-19 Thread Jonathan Cameron
On 15/02/17 16:55, Fabrice Gasnier wrote: > stm32 adc supports several resolution. Add 'st,adc-res' dt optional > property to set it. Default to maximum resolution in case it isn't set. > > Signed-off-by: Fabrice Gasnier Implementation looks fine, just waiting on the

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

2017-02-19 Thread Jonathan Cameron
On 15/02/17 16:55, Fabrice Gasnier wrote: > stm32 adc supports several resolution. Add 'st,adc-res' dt optional > property to set it. Default to maximum resolution in case it isn't set. > > Signed-off-by: Fabrice Gasnier Implementation looks fine, just waiting on the binding review. Thanks,

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

2017-02-15 Thread Fabrice Gasnier
stm32 adc supports several resolution. Add 'st,adc-res' dt optional property to set it. Default to maximum resolution in case it isn't set. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc.c | 50 - 1 file changed,

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

2017-02-15 Thread Fabrice Gasnier
stm32 adc supports several resolution. Add 'st,adc-res' dt optional property to set it. Default to maximum resolution in case it isn't set. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc.c | 50 - 1 file changed, 49 insertions(+), 1