[PATCH v2] dt-bindings: iio: adc: adi,ad7816: add binding for AD7816/7/8

From: Sudharshan

Date: Tue Apr 21 2026 - 02:03:27 EST


Add device tree binding documentation for Analog Devices AD7816,
AD7817 and AD7818 10-bit ADC with on-chip temperature sensor.

The devices communicate over SPI and expose:
- up to 4 analog input channels (AD7817)
- on-chip temperature sensor
- a busy GPIO to signal ongoing conversion

Signed-off-by: Sudharshan <sudharsanam346@xxxxxxxxx>
---
.../bindings/iio/adc/adi,ad7816.yaml | 64 +++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7816.yaml

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7816.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7816.yaml
new file mode 100644
index 000000000000..6780510aaeb9
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7816.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/adc/adi,ad7816.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AD7816/AD7817/AD7818 temperature sensor and ADC
+
+maintainers:
+ - Michael Hennerich <michael.hennerich@xxxxxxxxxx>
+
+description: |
+ The AD7816/AD7817/AD7818 are 10-bit analog to digital converters
+ with an on-chip temperature sensor. They communicate over SPI bus
+ and are commonly used in robotics and industrial applications for
+ temperature monitoring and analog signal conversion.
+
+ Specifications on the converters can be found at:
+ AD7816:
+ https://www.analog.com/media/en/technical-documentation/data-sheets/AD7816.pdf
+ AD7817:
+ https://www.analog.com/media/en/technical-documentation/data-sheets/AD7817.pdf
+ AD7818:
+ https://www.analog.com/media/en/technical-documentation/data-sheets/AD7818.pdf
+
+properties:
+ compatible:
+ enum:
+ - adi,ad7816
+ - adi,ad7817
+ - adi,ad7818
+
+ reg:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 1000000
+
+ busy-gpios:
+ description:
+ GPIO connected to the busy pin of the AD7816/7/8.
+ The line is active high and indicates the chip is
+ performing a conversion.
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ adc@0 {
+ compatible = "adi,ad7816";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ busy-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+ };
+ };
--
2.53.0