Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/health/maxim,max30100.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Maxim MAX30100 heart rate and pulse oximeter sensor
|
|
|
|
maintainers:
|
|
- Matt Ranostay <matt.ranostay@konsulko.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: maxim,max30100
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
description: Connected to ADC_RDY pin.
|
|
|
|
maxim,led-current-microamp:
|
|
minItems: 2
|
|
maxItems: 2
|
|
description: |
|
|
LED current whilst the engine is running. First indexed value is
|
|
the configuration for the RED LED, and second value is for the IR LED.
|
|
|
|
maxim,pulse-width-us:
|
|
description: |
|
|
LED pulse width in microseconds. Appropriate pulse width depends on
|
|
factors such as optical window absorption, LED-to-sensor distance,
|
|
and expected reflectivity of the skin or contact surface.
|
|
enum: [200, 400, 800, 1600]
|
|
default: 1600
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
heart-rate@57 {
|
|
compatible = "maxim,max30100";
|
|
reg = <0x57>;
|
|
maxim,led-current-microamp = <24000 50000>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <16 2>;
|
|
};
|
|
};
|
|
...
|