File Index
Files and directories
Sign in
FILE

lltc,ltc2496.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Linear Technology / Analog Devices LTC2496 ADC
 8
 9maintainers:
10  - Lars-Peter Clausen <lars@metafoo.de>
11  - Michael Hennerich <Michael.Hennerich@analog.com>
12
13properties:
14  compatible:
15    enum:
16      - lltc,ltc2496
17
18  vref-supply:
19    description: Power supply for the reference voltage
20
21  reg:
22    maxItems: 1
23
24required:
25  - compatible
26  - vref-supply
27  - reg
28
29allOf:
30  - $ref: /schemas/spi/spi-peripheral-props.yaml#
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    spi {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        adc@0 {
41            compatible = "lltc,ltc2496";
42            reg = <0>;
43            vref-supply = <&ltc2496_reg>;
44            spi-max-frequency = <2000000>;
45        };
46    };
~/ Read-only file preview.