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: add vref support to sd modulator

Allow to specify the reference voltage used by the SD modulator.
When the SD modulator is defined as an IIO backend, the reference
voltage can be used to evaluate scaling information of the IIO device.
The reference voltage is not used otherwise.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240730084640.1307938-7-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Olivier Moysan and committed by
Jonathan Cameron
e7385105 281b4318

+7
+7
Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml
··· 24 24 '#io-channel-cells': 25 25 const: 0 26 26 27 + vref-supply: 28 + description: Phandle to the vref input analog reference voltage. 29 + 30 + dependencies: 31 + vref-supply: [ '#io-backend-cells' ] 32 + 27 33 required: 28 34 - compatible 29 35 ··· 44 38 // Backend binding example. SD modulator configured as an IIO backend device 45 39 ads1201_0: adc { 46 40 compatible = "sd-modulator"; 41 + vref-supply = <&vdd_adc>; 47 42 #io-backend-cells = <0>; 48 43 }; 49 44