mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
37cd3c8768
The datasheets for ADC122S021 and ADC124S021 list two more pin-compatible alternatives for each device. Add their IDs as compatible strings. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Javier Arteaga <javier@emutex.com> Signed-off-by: Dan O'Donovan <dan@emutex.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
26 lines
622 B
Plaintext
26 lines
622 B
Plaintext
* Texas Instruments' ADC128S052, ADC122S021 and ADC124S021 ADC chip
|
|
|
|
Required properties:
|
|
- compatible: Should be one of:
|
|
- "ti,adc128s052"
|
|
- "ti,adc122s021"
|
|
- "ti,adc122s051"
|
|
- "ti,adc122s101"
|
|
- "ti,adc124s021"
|
|
- "ti,adc124s051"
|
|
- "ti,adc124s101"
|
|
- reg: spi chip select number for the device
|
|
- vref-supply: The regulator supply for ADC reference voltage
|
|
|
|
Recommended properties:
|
|
- spi-max-frequency: Definition as per
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
adc@0 {
|
|
compatible = "ti,adc128s052";
|
|
reg = <0>;
|
|
vref-supply = <&vdd_supply>;
|
|
spi-max-frequency = <1000000>;
|
|
};
|