Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/health/maxim,max30100.yaml
54804 views
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#
6
7
title: Maxim MAX30100 heart rate and pulse oximeter sensor
8
9
maintainers:
10
- Matt Ranostay <matt.ranostay@konsulko.com>
11
12
properties:
13
compatible:
14
const: maxim,max30100
15
16
reg:
17
maxItems: 1
18
19
interrupts:
20
maxItems: 1
21
description: Connected to ADC_RDY pin.
22
23
maxim,led-current-microamp:
24
minItems: 2
25
maxItems: 2
26
description: |
27
LED current whilst the engine is running. First indexed value is
28
the configuration for the RED LED, and second value is for the IR LED.
29
30
maxim,pulse-width-us:
31
description: |
32
LED pulse width in microseconds. Appropriate pulse width depends on
33
factors such as optical window absorption, LED-to-sensor distance,
34
and expected reflectivity of the skin or contact surface.
35
enum: [200, 400, 800, 1600]
36
default: 1600
37
38
additionalProperties: false
39
40
required:
41
- compatible
42
- reg
43
- interrupts
44
45
examples:
46
- |
47
i2c {
48
#address-cells = <1>;
49
#size-cells = <0>;
50
51
heart-rate@57 {
52
compatible = "maxim,max30100";
53
reg = <0x57>;
54
maxim,led-current-microamp = <24000 50000>;
55
interrupt-parent = <&gpio1>;
56
interrupts = <16 2>;
57
};
58
};
59
...
60
61