Merge branch 'master' into for-next
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / lltc,ltc2496.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
7 title: Linear Technology / Analog Devices LTC2496 ADC
8
9 maintainers:
10   - Lars-Peter Clausen <lars@metafoo.de>
11   - Michael Hennerich <Michael.Hennerich@analog.com>
12   - Stefan Popa <stefan.popa@analog.com>
13
14 properties:
15   compatible:
16     enum:
17       - lltc,ltc2496
18
19   vref-supply:
20     description: phandle to an external regulator providing the reference voltage
21     $ref: /schemas/types.yaml#/definitions/phandle
22
23   reg:
24     description: spi chipselect number according to the usual spi bindings
25
26   spi-max-frequency:
27     description: maximal spi bus frequency supported
28
29 required:
30   - compatible
31   - vref-supply
32   - reg
33
34 additionalProperties: false
35
36 examples:
37   - |
38     spi {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         adc@0 {
43             compatible = "lltc,ltc2496";
44             reg = <0>;
45             vref-supply = <&ltc2496_reg>;
46             spi-max-frequency = <2000000>;
47         };
48     };