Path: blob/master/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/health/maxim,max30102.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Maxim MAX30101/2 heart rate and pulse oximeter and MAX30105 particle-sensor78maintainers:9- Matt Ranostay <matt.ranostay@konsulko.com>1011properties:12compatible:13oneOf:14- enum:15- maxim,max3010216- maxim,max3010517- items:18- const: maxim,max3010119- const: maxim,max301052021reg:22maxItems: 12324interrupts:25maxItems: 126description: Connected to ADC_RDY pin.2728maxim,red-led-current-microamp:29description: RED LED current. Each step is approximately 200 microamps.30minimum: 031maximum: 508003233maxim,ir-led-current-microamp:34description: IR LED current. Each step is approximately 200 microamps.35minimum: 036maximum: 508003738maxim,green-led-current-microamp:39description: Green LED current. Each step is approximately 200 microamps.40minimum: 041maximum: 508004243allOf:44- if:45properties:46compatible:47contains:48const: maxim,max3010249then:50properties:51maxim,green-led-current-microamp: false5253additionalProperties: false5455required:56- compatible57- reg58- interrupts5960examples:61- |62i2c {63#address-cells = <1>;64#size-cells = <0>;6566heart-rate@57 {67compatible = "maxim,max30102";68reg = <0x57>;69maxim,red-led-current-microamp = <7000>;70maxim,ir-led-current-microamp = <7000>;71interrupt-parent = <&gpio1>;72interrupts = <16 2>;73};74};75...767778