]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: iio: adc: document diff-channels corner case for some ADCs
authorAlexandru Ardelean <aardelean@baylibre.com>
Thu, 19 Sep 2024 13:04:41 +0000 (16:04 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 30 Sep 2024 08:21:04 +0000 (09:21 +0100)
commitab38c083ff12ecfd3e8e30bd5c5ccb4f5b7019f8
tree1c870dcc7f63c08c9a5437ccb3a99cba4dd09882
parent94aab7a0f5c77f1ee9be87fab3524807d78cf560
dt-bindings: iio: adc: document diff-channels corner case for some ADCs

Some ADCs have channels with negative and positive inputs, which can be
used to measure differential voltage levels. These inputs/pins are
dedicated (to the given channel) and cannot be muxed as with other ADCs.

For those types of setups, the 'diff-channels' property can be specified to
be used with the channel number (or reg property) for both negative and
positive inputs/pins.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandru Ardelean <aardelean@baylibre.com>
Link: https://patch.msgid.link/20240919130444.2100447-7-aardelean@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adc.yaml