Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / health / ti,afe4403.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/health/ti,afe4403.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Texas Instruments AFE4403 Heart rate and Pulse Oximeter
8
9 maintainers:
10   - Jonathan Cameron <jic23@kernel.org>
11
12 properties:
13   compatible:
14     const: ti,afe4403
15
16   reg:
17     maxItems: 1
18
19   tx-supply:
20     description: Supply to transmitting LEDs.
21
22   interrupts:
23     maxItems: 1
24     description: Connected to ADC_RDY pin.
25
26   reset-gpios: true
27
28   spi-max-frequency: true
29
30 additionalProperties: false
31
32 required:
33   - compatible
34   - reg
35
36 examples:
37   - |
38     #include <dt-bindings/gpio/gpio.h>
39     #include <dt-bindings/interrupt-controller/irq.h>
40     spi {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         heart_mon@0 {
45             compatible = "ti,afe4403";
46             reg = <0>;
47             spi-max-frequency = <10000000>;
48             tx-supply = <&vbat>;
49             interrupt-parent = <&gpio1>;
50             interrupts = <28 IRQ_TYPE_EDGE_RISING>;
51             reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
52         };
53     };
54 ...