Analog Devices AD777X family 8-Channel, 24-Bit, Simultaneous Sampling ADCs
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/adi,ad7779.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ramona Nechita <ramona.nechita@analog.com>"
The AD777X family consist of 8-channel, simultaneous sampling analog-to- digital converter (ADC). Eight full Σ-Δ ADCs are on-chip. The AD7771 provides an ultralow input current to allow direct sensor connection. Each input channel has a programmable gain stage allowing gains of 1, 2, 4, and 8 to map lower amplitude sensor outputs into the full-scale ADC input range, maximizing the dynamic range of the signal chain.
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7770.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad7771.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad7779.pdf
Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ad7770", "adi,ad7771", "adi,ad7779"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
clocks — required here #
Maximum number of items (maxItems): 1
avdd1-supply — not listed as required here #
Front-End analog supply AVDD1. Can be used as conversion ref.
avdd2-supply — not listed as required here #
AVDD2 Analog Supply from 2.2 V to 3.6 V.
avdd4-supply — not listed as required here #
AVDD4 SAR Analog Supply and Reference Source.
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
adc_rdy: Interrupt line for DRDY signal which indicates the end of conversion independently of the interface selected to read back the Σ-∆ conversion.
Item 2
Alert: The chip includes self diagnostic features to guarantee the correct operation. If an error is detected, the ALERT pin is pulled high to generate an external interruption to the controller.
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
start-gpios — not listed as required here #
Pin that controls start synchronization pulse.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
io-backends — not listed as required here #
Maximum number of items (maxItems): 1
adi,num-lanes — not listed as required here #
Number of lanes on which the data is sent on the output when the data output interface is used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4
Default value (default): 4
Required in this object (required): "compatible", "reg", "clocks"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)When the condition matches (
then) #Properties and child nodes (
properties)
adi,num-lanes— not listed as required here
false— Not permitted by this property rule.
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
adc@0 {
compatible = "adi,ad7779";
reg = <0>;
start-gpios = <&gpio0 87 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio0 93 GPIO_ACTIVE_LOW>;
interrupt-parent = <&intc>;
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "adc_rdy";
clocks = <&adc_clk>;
};
};
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
adc@0 {
compatible = "adi,ad7779";
reg = <0>;
start-gpios = <&gpio0 87 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio0 93 GPIO_ACTIVE_LOW>;
clocks = <&adc_clk>;
io-backends = <&iio_backend>;
adi,num-lanes = <4>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)