Analog Devices AD4134 ADC
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/adi,ad4134.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marcelo Schmitt <marcelo.schmitt@analog.com>"
The AD4134 is a quad channel, low noise, simultaneous sampling, precision
analog-to-digital converter (ADC).
Specifications can be found at:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4134.pdf
Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ad4134"
reg — required here #
Maximum number of items (maxItems): 1
spi-max-frequency — not listed as required here #
Maximum value (maximum): 50000000
avdd5-supply — required here #
A 5V supply that powers the chip's analog circuitry.
dvdd5-supply — required here #
A 5V supply that powers the chip's digital circuitry.
iovdd-supply — required here #
A 1.8V supply that sets the logic levels for the digital interface pins.
refin-supply — required here #
A 4.096V or 5V supply that serves as reference for ADC conversions.
avdd1v8-supply — not listed as required here #
A 1.8V supply used by the analog circuitry.
dvdd1v8-supply — not listed as required here #
A 1.8V supply used by the digital circuitry.
clkvdd-supply — not listed as required here #
A 1.8V supply for the chip's clock management circuit.
ldoin-supply — not listed as required here #
A 2.6V to 5.5V supply that generates 1.8V for AVDD1V8, DVDD1V8, and CLKVDD pins.
clocks — required here #
Maximum number of items (maxItems): 1
Required external clock source. Can specify either a crystal or CMOS clock source. If an external crystal is set, connect the CLKSEL pin to IOVDD. Otherwise, connect the CLKSEL pin to IOGND and the external CMOS clock signal to the XTAL2/CLKIN pin.
clock-names — required here #
Allowed values (enum): "xtal", "clkin"
Default value (default): "clkin"
#clock-cells — not listed as required here #
Exact value (const): 0
clock-output-names — not listed as required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
list of regulators provided by this controller.
Properties and child nodes (properties) #
vcm-output — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
Active low GPIO connected to the /PDN pin. Forces the device into full power-down mode when brought low. Pull this input to IOVDD for normal operation.
Maximum number of items (maxItems): 1
odr-gpios — not listed as required here #
GPIO connected to ODR pin. Used to sample ADC data in minimum I/O mode.
Maximum number of items (maxItems): 1
adi,asrc-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Asynchronous Sample Rate Converter (ASRC) operation mode control input. Describes whether the MODE pin is set to a high level (for master mode operation) or to a low level (for slave mode operation).
Allowed values (enum): "high", "low"
Default value (default): "low"
adi,dclkio — not listed as required here #
DCLK pin I/O direction control for when the device operates in Pin Control Slave Mode or in SPI Control Mode. Describes if DEC0/DCLKIO pin is at a high level (which configures DCLK as an output) or to set to a low level (configuring DCLK for input).
Allowed values (enum): "out", "in"
Default value (default): "in"
adi,dclkmode — not listed as required here #
DCLK mode control for when the device operates in Pin Control Slave Mode or in SPI Control Mode. Describes whether the DEC1/DCLKMODE pin is set to a high level (configuring the DCLK to operate in free running mode) or to a low level (to configure DCLK to operate in gated mode).
Allowed values (enum): "free-running", "gated"
Default value (default): "gated"
Required in this object (required): "compatible", "reg", "avdd5-supply", "dvdd5-supply", "iovdd-supply", "refin-supply", "clocks", "clock-names"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Required in this object (
required):"avdd1v8-supply","dvdd1v8-supply","clkvdd-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
adc@0 {
compatible = "adi,ad4134";
reg = <0>;
spi-max-frequency = <1000000>;
reset-gpios = <&gpio0 86 GPIO_ACTIVE_LOW>;
odr-gpios = <&gpio0 87 GPIO_ACTIVE_HIGH>;
powerdown-gpios = <&gpio0 88 GPIO_ACTIVE_LOW>;
clocks = <&sys_clk>;
clock-names = "clkin";
avdd5-supply = <&avdd5>;
dvdd5-supply = <&dvdd5>;
iovdd-supply = <&iovdd>;
refin-supply = <&refin>;
avdd1v8-supply = <&avdd1v8>;
dvdd1v8-supply = <&dvdd1v8>;
clkvdd-supply = <&clkvdd>;
regulators {
vcm_reg: vcm-output {
regulator-name = "ad4134-vcm";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)