Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ad4030.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright 2024 Analog Devices Inc.2# Copyright 2024 BayLibre, SAS.3%YAML 1.24---5$id: http://devicetree.org/schemas/iio/adc/adi,ad4030.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#78title: Analog Devices AD4030 and AD4630 ADC families910maintainers:11- Michael Hennerich <michael.hennerich@analog.com>12- Nuno Sa <nuno.sa@analog.com>1314description: |15Analog Devices AD4030 single channel and AD4630/AD4632 dual channel precision16SAR ADC families1718* https://www.analog.com/media/en/technical-documentation/data-sheets/ad4030-24-4032-24.pdf19* https://www.analog.com/media/en/technical-documentation/data-sheets/ad4630-24_ad4632-24.pdf20* https://www.analog.com/media/en/technical-documentation/data-sheets/ad4630-16-4632-16.pdf2122properties:23compatible:24enum:25- adi,ad4030-2426- adi,ad4032-2427- adi,ad4630-1628- adi,ad4630-2429- adi,ad4632-1630- adi,ad4632-243132reg:33maxItems: 13435spi-max-frequency:36maximum: 1020408163738spi-rx-bus-width:39enum: [1, 2, 4]4041vdd-5v-supply: true42vdd-1v8-supply: true43vio-supply: true4445ref-supply:46description:47Optional External unbuffered reference. Used when refin-supply is not48connected.4950refin-supply:51description:52Internal buffered Reference. Used when ref-supply is not connected.5354cnv-gpios:55description:56The Convert Input (CNV). It initiates the sampling conversions.57maxItems: 15859reset-gpios:60description:61The Reset Input (/RST). Used for asynchronous device reset.62maxItems: 16364interrupts:65description:66The BUSY pin is used to signal that the conversions results are available67to be transferred when in SPI Clocking Mode. This nodes should be68connected to an interrupt that is triggered when the BUSY line goes low.69maxItems: 17071interrupt-names:72const: busy7374required:75- compatible76- reg77- vdd-5v-supply78- vdd-1v8-supply79- vio-supply80- cnv-gpios8182oneOf:83- required:84- ref-supply85- required:86- refin-supply8788unevaluatedProperties: false8990examples:91- |92#include <dt-bindings/gpio/gpio.h>9394spi {95#address-cells = <1>;96#size-cells = <0>;9798adc@0 {99compatible = "adi,ad4030-24";100reg = <0>;101spi-max-frequency = <80000000>;102vdd-5v-supply = <&supply_5V>;103vdd-1v8-supply = <&supply_1_8V>;104vio-supply = <&supply_1_8V>;105ref-supply = <&supply_5V>;106cnv-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;107reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;108};109};110111112