forked from Minki/linux
efc945fb72
This adds ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver. I have tested with ADC0831 and ADC0832. The remaining ADC0834 and ADC0838 are very similar to ADC0832. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
20 lines
460 B
Plaintext
20 lines
460 B
Plaintext
* Texas Instruments' ADC0831/ADC0832/ADC0832/ADC0838
|
|
|
|
Required properties:
|
|
- compatible: Should be one of
|
|
* "ti,adc0831"
|
|
* "ti,adc0832"
|
|
* "ti,adc0834"
|
|
* "ti,adc0838"
|
|
- reg: spi chip select number for the device
|
|
- vref-supply: The regulator supply for ADC reference voltage
|
|
- spi-max-frequency: Max SPI frequency to use (< 400000)
|
|
|
|
Example:
|
|
adc@0 {
|
|
compatible = "ti,adc0832";
|
|
reg = <0>;
|
|
vref-supply = <&vdd_supply>;
|
|
spi-max-frequency = <200000>;
|
|
};
|