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/lltc,ltc2496.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Linear Technology / Analog Devices LTC2496 ADC
0008 
0009 maintainers:
0010   - Lars-Peter Clausen <lars@metafoo.de>
0011   - Michael Hennerich <Michael.Hennerich@analog.com>
0012   - Stefan Popa <stefan.popa@analog.com>
0013 
0014 properties:
0015   compatible:
0016     enum:
0017       - lltc,ltc2496
0018 
0019   vref-supply:
0020     description: Power supply for the reference voltage
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   spi-max-frequency:
0026     description: maximal spi bus frequency supported
0027 
0028 required:
0029   - compatible
0030   - vref-supply
0031   - reg
0032 
0033 additionalProperties: false
0034 
0035 examples:
0036   - |
0037     spi {
0038         #address-cells = <1>;
0039         #size-cells = <0>;
0040 
0041         adc@0 {
0042             compatible = "lltc,ltc2496";
0043             reg = <0>;
0044             vref-supply = <&ltc2496_reg>;
0045             spi-max-frequency = <2000000>;
0046         };
0047     };