1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7780.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7170/AD7171/AD7780/AD7781 analog to digital converters
10 - Michael Hennerich <michael.hennerich@analog.com>
13 The ad7780 is a sigma-delta analog to digital converter. This driver provides
14 reading voltage values and status bits from both the ad778x and ad717x series.
15 Its interface also allows writing on the FILTER and GAIN GPIO pins on the
18 Specifications on the converters can be found at:
20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf
22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf
24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf
26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf
41 The regulator supply for the ADC reference voltage.
45 Must be the device tree identifier of the PDRST pin. If
46 specified, it will be asserted during driver probe. As the
47 line is active high, it should be marked GPIO_ACTIVE_HIGH.
52 Must be the device tree identifier of the GAIN pin. Only for
53 the ad778x chips. If specified, it will be asserted during
54 driver probe. As the line is active low, it should be marked
60 Must be the device tree identifier of the FILTER pin. Only
61 for the ad778x chips. If specified, it will be asserted
62 during driver probe. As the line is active low, it should be
63 marked GPIO_ACTIVE_LOW.
72 #include <dt-bindings/gpio/gpio.h>
78 compatible = "adi,ad7780";
81 avdd-supply = <&vdd_supply>;
82 powerdown-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
83 adi,gain-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
84 adi,filter-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;