1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/adc/ti,ads1298.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments' ads1298 medical ADC chips 8 9description: | 10 Datasheet at: https://www.ti.com/product/ADS1298 11 Bindings for this chip aren't complete. 12 13maintainers: 14 - Mike Looijmans <mike.looijmans@topic.nl> 15 16properties: 17 compatible: 18 enum: 19 - ti,ads1298 20 21 reg: 22 maxItems: 1 23 24 spi-cpha: true 25 26 reset-gpios: 27 maxItems: 1 28 29 avdd-supply: 30 description: 31 Analog power supply, voltage between AVDD and AVSS. When providing a 32 symmetric +/- 2.5V, the regulator should report 5V. 33 34 vref-supply: 35 description: 36 Optional reference voltage. If omitted, internal reference is used, 37 which is 2.4V when analog supply is below 4.4V, 4V otherwise. 38 39 clocks: 40 description: Optional 2.048 MHz external source clock on CLK pin 41 maxItems: 1 42 43 interrupts: 44 description: Interrupt on DRDY pin, triggers on falling edge 45 maxItems: 1 46 47 label: true 48 49required: 50 - compatible 51 - reg 52 - avdd-supply 53 - interrupts 54 55allOf: 56 - $ref: /schemas/spi/spi-peripheral-props.yaml# 57 58unevaluatedProperties: false 59 60examples: 61 - | 62 #include <dt-bindings/gpio/gpio.h> 63 #include <dt-bindings/interrupt-controller/irq.h> 64 spi { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 68 adc@1 { 69 reg = <1>; 70 compatible = "ti,ads1298"; 71 label = "ads1298-1-ecg"; 72 avdd-supply = <®_iso_5v_a>; 73 clocks = <&clk_ads1298>; 74 interrupt-parent = <&gpio0>; 75 interrupts = <78 IRQ_TYPE_EDGE_FALLING>; 76 spi-max-frequency = <20000000>; 77 spi-cpha; 78 }; 79 }; 80... 81