Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alexandru Ardelean and committed by
Jonathan Cameron
ab38c083 94aab7a0

+4
+4
Documentation/devicetree/bindings/iio/adc/adc.yaml
··· 37 37 to both the positive and negative inputs of a differential ADC. 38 38 The first value specifies the positive input pin, the second 39 39 specifies the negative input pin. 40 + There are also some ADCs, where the differential channel has dedicated 41 + positive and negative inputs which can be used to measure differential 42 + voltage levels. For those setups, this property can be configured with 43 + the 'reg' property for both inputs (i.e. diff-channels = <reg reg>). 40 44 41 45 single-channel: 42 46 $ref: /schemas/types.yaml#/definitions/uint32