mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

Allow IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_OFFSET attributes for processing by checking voltage from a regulator. Signed-off-by: Matt Ranostay <matt@ranostay.consulting> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
18 lines
466 B
Text
18 lines
466 B
Text
* Texas Instruments ADC141S626 and ADC161S626 chips
|
|
|
|
Required properties:
|
|
- compatible: Should be "ti,adc141s626" or "ti,adc161s626"
|
|
- reg: spi chip select number for the device
|
|
- vdda-supply: supply voltage to VDDA pin
|
|
|
|
Recommended properties:
|
|
- spi-max-frequency: Definition as per
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
adc@0 {
|
|
compatible = "ti,adc161s626";
|
|
vdda-supply = <&vdda_fixed>;
|
|
reg = <0>;
|
|
spi-max-frequency = <4300000>;
|
|
};
|