brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · bf5a43a Raw
81 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 chips8 9description: |10  Datasheet at: https://www.ti.com/product/ADS129811  Bindings for this chip aren't complete.12 13maintainers:14  - Mike Looijmans <mike.looijmans@topic.nl>15 16properties:17  compatible:18    enum:19      - ti,ads129820 21  reg:22    maxItems: 123 24  spi-cpha: true25 26  reset-gpios:27    maxItems: 128 29  avdd-supply:30    description:31      Analog power supply, voltage between AVDD and AVSS. When providing a32      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 pin41    maxItems: 142 43  interrupts:44    description: Interrupt on DRDY pin, triggers on falling edge45    maxItems: 146 47  label: true48 49required:50  - compatible51  - reg52  - avdd-supply53  - interrupts54 55allOf:56  - $ref: /schemas/spi/spi-peripheral-props.yaml#57 58unevaluatedProperties: false59 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 = <&reg_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