0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/adi,ad7091r5.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices AD7091R5 4-Channel 12-Bit ADC
0008
0009 maintainers:
0010 - Michael Hennerich <michael.hennerich@analog.com>
0011
0012 description: |
0013 Analog Devices AD7091R5 4-Channel 12-Bit ADC
0014 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf
0015
0016 properties:
0017 compatible:
0018 enum:
0019 - adi,ad7091r5
0020
0021 reg:
0022 maxItems: 1
0023
0024 vref-supply:
0025 description:
0026 Phandle to the vref power supply
0027
0028 interrupts:
0029 maxItems: 1
0030
0031
0032 required:
0033 - compatible
0034 - reg
0035
0036 additionalProperties: false
0037
0038 examples:
0039 - |
0040 #include <dt-bindings/gpio/gpio.h>
0041 #include <dt-bindings/interrupt-controller/irq.h>
0042 i2c {
0043 #address-cells = <1>;
0044 #size-cells = <0>;
0045
0046 adc@2f {
0047 compatible = "adi,ad7091r5";
0048 reg = <0x2f>;
0049
0050 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
0051 interrupt-parent = <&gpio>;
0052 };
0053 };
0054 ...