]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: iio: adc: Add single-channel property
authorAlisa-Dariana Roman <alisadariana@gmail.com>
Tue, 14 May 2024 12:02:20 +0000 (15:02 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Jun 2024 18:53:05 +0000 (19:53 +0100)
commitdd471a2b7759daf6bbb2fbfec4258f60e0243183
tree81dda8a5077f177aaad93dc71fb1264ade1ba1b5
parent2b12a52b298f41ec581efc3047792c0535dd615c
dt-bindings: iio: adc: Add single-channel property

Devices that have both single-ended channels and differential channels
cause a bit of confusion when the channels are configured in the
devicetree.

Clarify difference between these two types of channels for such devices
by adding single-channel property alongside diff-channels. They should
be mutually exclusive.

Devices that have only single-ended channels can still use reg property
to reference a channel like before.

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240514120222.56488-5-alisa.roman@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adc.yaml