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,ads8688.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments' ADS8684 and ADS8688 ADC chip
0008 
0009 maintainers:
0010   - Sean Nyekjaer <sean@geanix.com>
0011 
0012 description: |
0013    SPI 16bit ADCs with 4/8 channels.
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - ti,ads8684
0019       - ti,ads8688
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   vref-supply:
0025     description: Optional external reference.  If not supplied, assume
0026       REFSEL input tied low to enable the internal reference.
0027 
0028   spi-max-frequency: true
0029 
0030 required:
0031   - compatible
0032   - reg
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     spi {
0039         #address-cells = <1>;
0040         #size-cells = <0>;
0041 
0042         adc@0 {
0043             compatible = "ti,ads8688";
0044             reg = <0>;
0045             vref-supply = <&vdd_supply>;
0046             spi-max-frequency = <1000000>;
0047         };
0048     };
0049 ...