dt-bindings: iio: stm32-adc: add generic channel binding
authorOlivier Moysan <olivier.moysan@foss.st.com>
Thu, 14 Oct 2021 13:12:22 +0000 (15:12 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 20 Oct 2021 13:43:54 +0000 (14:43 +0100)
commit664b9879f56ef97d2ac98ec66e846814669b7e4a
tree8754ca014060cdf7ed2da0e98e48e666bed36ea7
parent1ea3615b6168eaaf07445c8d32a4c6bc965d9579
dt-bindings: iio: stm32-adc: add generic channel binding

Add ADC generic channel binding. This binding should
be used as an alternate to legacy channel properties
whenever possible.
ADC generic channel binding allows to identify supported
internal channels through the following reserved label names:
"vddcore", "vrefint" and "vbat".
This binding also allows to set a different sampling time
for each channel.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211014131228.4692-2-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml