]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: iio: adc: stm32: add optional st,min-sample-time-nsecs
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 24 Jul 2017 16:10:39 +0000 (18:10 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 9 Aug 2017 13:11:57 +0000 (14:11 +0100)
commita11b4d793138e59024afd1479b2d1718f513e9e7
tree73617759f9cc83f3de2edce0586bc6f1d00b1ffe
parent192de9b18501607fab34d760f76cf90f02607764
dt-bindings: iio: adc: stm32: add optional st,min-sample-time-nsecs

STM32 ADC allows each channel to be sampled with a different sampling
time. There's an application note that deals with this: 'How to get
the best ADC accuracy in STM32...' It basically depends on analog input
signal electrical properties (depends on board).

Add optional 'st,min-sample-time-nsecs' property so this can be tuned
in dt.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt