xref: /linux/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
159c3662bSUwe Kleine-König# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
259c3662bSUwe Kleine-König%YAML 1.2
359c3662bSUwe Kleine-König---
459c3662bSUwe Kleine-König$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml#
559c3662bSUwe Kleine-König$schema: http://devicetree.org/meta-schemas/core.yaml#
659c3662bSUwe Kleine-König
759c3662bSUwe Kleine-Königtitle: Linear Technology / Analog Devices LTC2496 ADC
859c3662bSUwe Kleine-König
959c3662bSUwe Kleine-Königmaintainers:
1059c3662bSUwe Kleine-König  - Lars-Peter Clausen <lars@metafoo.de>
1159c3662bSUwe Kleine-König  - Michael Hennerich <Michael.Hennerich@analog.com>
1259c3662bSUwe Kleine-König  - Stefan Popa <stefan.popa@analog.com>
1359c3662bSUwe Kleine-König
1459c3662bSUwe Kleine-Königproperties:
1559c3662bSUwe Kleine-König  compatible:
1659c3662bSUwe Kleine-König    enum:
1759c3662bSUwe Kleine-König      - lltc,ltc2496
1859c3662bSUwe Kleine-König
1959c3662bSUwe Kleine-König  vref-supply:
209bfaf9c7SRob Herring    description: Power supply for the reference voltage
2159c3662bSUwe Kleine-König
2259c3662bSUwe Kleine-König  reg:
230499220dSRob Herring    maxItems: 1
2459c3662bSUwe Kleine-König
2559c3662bSUwe Kleine-Königrequired:
2659c3662bSUwe Kleine-König  - compatible
2759c3662bSUwe Kleine-König  - vref-supply
2859c3662bSUwe Kleine-König  - reg
2959c3662bSUwe Kleine-König
30*80137388SKrzysztof KozlowskiallOf:
31*80137388SKrzysztof Kozlowski  - $ref: /schemas/spi/spi-peripheral-props.yaml#
32*80137388SKrzysztof Kozlowski
33*80137388SKrzysztof KozlowskiunevaluatedProperties: false
347f464532SRob Herring
3559c3662bSUwe Kleine-Königexamples:
3659c3662bSUwe Kleine-König  - |
3759c3662bSUwe Kleine-König    spi {
3859c3662bSUwe Kleine-König        #address-cells = <1>;
3959c3662bSUwe Kleine-König        #size-cells = <0>;
4059c3662bSUwe Kleine-König
4159c3662bSUwe Kleine-König        adc@0 {
4259c3662bSUwe Kleine-König            compatible = "lltc,ltc2496";
4359c3662bSUwe Kleine-König            reg = <0>;
4459c3662bSUwe Kleine-König            vref-supply = <&ltc2496_reg>;
4559c3662bSUwe Kleine-König            spi-max-frequency = <2000000>;
4659c3662bSUwe Kleine-König        };
4759c3662bSUwe Kleine-König    };
48