Texas Instruments' ads1298 medical ADC chips
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/ti,ads1298.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Datasheet at: https://www.ti.com/product/ADS1298 Bindings for this chip aren't complete.
Maintainers (maintainers): "Mike Looijmans <mike.looijmans@topic.nl>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ads1298"
reg — required here #
Maximum number of items (maxItems): 1
spi-cpha — not listed as required here #
true — No constraints added by this property rule.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
avdd-supply — required here #
Analog power supply, voltage between AVDD and AVSS. When providing a symmetric +/- 2.5V, the regulator should report 5V.
vref-supply — not listed as required here #
Optional reference voltage. If omitted, internal reference is used, which is 2.4V when analog supply is below 4.4V, 4V otherwise.
clocks — not listed as required here #
Optional 2.048 MHz external source clock on CLK pin
Maximum number of items (maxItems): 1
interrupts — required here #
Interrupt on DRDY pin, triggers on falling edge
Maximum number of items (maxItems): 1
label — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "avdd-supply", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
adc@1 {
reg = <1>;
compatible = "ti,ads1298";
label = "ads1298-1-ecg";
avdd-supply = <®_iso_5v_a>;
clocks = <&clk_ads1298>;
interrupt-parent = <&gpio0>;
interrupts = <78 IRQ_TYPE_EDGE_FALLING>;
spi-max-frequency = <20000000>;
spi-cpha;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)