mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
8b20be87e1
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
* Nuvoton NAU7802 Analog to Digital Converter (ADC)
|
|
|
|
Required properties:
|
|
- compatible: Should be "nuvoton,nau7802"
|
|
- reg: Should contain the ADC I2C address
|
|
|
|
Optional properties:
|
|
- nuvoton,vldo: Internal reference voltage in millivolts to be
|
|
configured valid values are between 2400 mV and 4500 mV.
|
|
- interrupts: IRQ line for the ADC. If not used the driver will use
|
|
polling.
|
|
|
|
Example:
|
|
adc2: nau7802@2a {
|
|
compatible = "nuvoton,nau7802";
|
|
reg = <0x2a>;
|
|
nuvoton,vldo = <3000>;
|
|
};
|