Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/ti,adc108s102.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments ADC108S102 and ADC128S102
0008 
0009 maintainers:
0010   - Jonathan Cameron <jic23@kernel.org>
0011 
0012 description: |
0013   Family of 8 channel, 10/12 bit, SPI, single ended ADCs.
0014 
0015 properties:
0016   compatible:
0017     const:
0018       ti,adc108s102
0019 
0020   reg: true
0021   vref-supply: true
0022   spi-max-frequency: true
0023   "#io-channel-cells":
0024     const: 1
0025 
0026 required:
0027   - compatible
0028   - reg
0029   - vref-supply
0030 
0031 additionalProperties: false
0032 
0033 examples:
0034   - |
0035     spi {
0036         #address-cells= <1>;
0037         #size-cells = <0>;
0038 
0039         adc@0 {
0040             compatible = "ti,adc108s102";
0041             reg = <0>;
0042             vref-supply = <&vdd_supply>;
0043             spi-max-frequency = <1000000>;
0044             #io-channel-cells = <1>;
0045         };
0046     };
0047 ...