mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
92f0afb5b2
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>
19 lines
466 B
Plaintext
19 lines
466 B
Plaintext
* 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>;
|
|
};
|