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)
commitbc8e1f5b21b1b816173937747b0e9c6db76c19b2
tree73617759f9cc83f3de2edce0586bc6f1d00b1ffe
parent0d0d4d21a09981e65b2bd386c999e8c0ecc6444e
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