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,ads8344.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments ADS8344 ADC
0008 
0009 maintainers:
0010   - Gregory Clement <gregory.clement@bootlin.com>
0011 
0012 description: |
0013   16bit 8-channel ADC with single ended inputs.
0014 
0015 properties:
0016   compatible:
0017     const: ti,ads8344
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   spi-max-frequency: true
0023 
0024   vref-supply:
0025     description: Supply the 2.5V or 5V reference voltage
0026 
0027   "#io-channel-cells":
0028     const: 1
0029 
0030 required:
0031   - compatible
0032   - reg
0033   - vref-supply
0034 
0035 additionalProperties: false
0036 
0037 examples:
0038   - |
0039     spi {
0040         #address-cells = <1>;
0041         #size-cells = <0>;
0042 
0043         adc@0 {
0044             compatible = "ti,ads8344";
0045             reg = <0>;
0046             vref-supply = <&refin_supply>;
0047             spi-max-frequency = <10000000>;
0048             #io-channel-cells = <1>;
0049         };
0050     };
0051 ...