WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / health / maxim,max30100.yaml
blob64b8626370393662d2dfaaf27d0291452d96bd76
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/health/maxim,max30100.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX30100 heart rate and pulse oximeter sensor
9 maintainers:
10   - Matt Ranostay <matt.ranostay@konsulko.com>
12 properties:
13   compatible:
14     const: maxim,max30100
16   reg:
17     maxItems: 1
19   interrupts:
20     maxItems: 1
21     description: Connected to ADC_RDY pin.
23   maxim,led-current-microamp:
24     $ref: /schemas/types.yaml#/definitions/uint32-array
25     minItems: 2
26     maxItems: 2
27     description: |
28       LED current whilst the engine is running. First indexed value is
29       the configuration for the RED LED, and second value is for the IR LED.
31 additionalProperties: false
33 required:
34   - compatible
35   - reg
36   - interrupts
38 examples:
39   - |
40     i2c {
41         #address-cells = <1>;
42         #size-cells = <0>;
44         heart-rate@57 {
45             compatible = "maxim,max30100";
46             reg = <0x57>;
47             maxim,led-current-microamp = <24000 50000>;
48             interrupt-parent = <&gpio1>;
49             interrupts = <16 2>;
50         };
51     };
52 ...