dt-bindings: iio: health: add adi,max86150
Subsystems (3)
PATCH v9 1/2 dt-bindings: iio: health: add adi,max86150
Add Device Tree binding schema for the Analog Devices MAX86150 integrated ECG and PPG biosensor.
The device exposes two PPG channels (Red LED and IR LED) and one ECG channel over I2C, with a 32-entry hardware FIFO and an active-low interrupt.
--- .../bindings/iio/health/adi,max86150.yaml | 65 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/health/adi,max86150.yaml
Documentation/devicetree/bindings/iio/health/adi,max86150.yaml new file +65 -0
@@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/health/adi,max86150.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX86150 ECG and PPG Biosensor + +maintainers: + - Md Shofiqul Islam <[email protected]> + +description: | + The MAX86150 is an integrated biosensor that combines two + photoplethysmography (PPG) channels (Red LED and IR LED) and one + electrocardiogram (ECG) channel for biopotential recording. Samples + are buffered in a 32-entry hardware FIFO with a configurable + almost-full interrupt. + + Datasheet: + https://www.analog.com/media/en/technical-documentation/data-sheets/MAX86150.pdf + +properties: + compatible: + const: adi,max86150 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: + Interrupt line, asserted when the FIFO almost-full threshold is + reached. + + vdd-supply: + description: VDD power supply (1.8 V). + + vled-supply: + description: VLED LED anode supply (3.3 V to 5 V). + +required: + - compatible + - reg + - vdd-supply + - vled-supply + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + heart-rate@5e { + compatible = "adi,max86150"; + reg = <0x5e>; + interrupt-parent = <&gpio1>; + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vdd_1v8>; + vled-supply = <&vdd_3v3>; + }; + };
MAINTAINERS +6 -0
@@ -15863,6 +15863,12 @@ S: Supported F: Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml F: drivers/power/supply/max77976_charger.c +MAX86150 ECG AND PPG BIOSENSOR DRIVER +M: Md Shofiqul Islam <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/iio/health/adi,max86150.yaml + MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS M: Krzysztof Kozlowski <[email protected]> L: [email protected]
Signature · 1 line
2.51.1
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The new MAINTAINERS section 'MAX86150 ECG AND PPG BIOSENSOR DRIVER' is placed out of alphabetical…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The new MAINTAINERS section 'MAX86150 ECG AND PPG BIOSENSOR DRIVER' is placed out of alphabetical order. --
--- Patch [1]: [PATCH v9 1/2] dt-bindings: iio: health: add adi,max86150 --- commit 5abdccc1a1cc20780d9daca161bb926907771020
Author: Md Shofiqul Islam <[email protected]>
dt-bindings: iio: health: add adi,max86150
This commit adds the Device Tree binding schema for the Analog Devices MAX86150 integrated ECG and PPG biosensor. It also adds a corresponding entry to the MAINTAINERS file.
Quoted 4 lines
MAINTAINERS +0
-0
[ ... ]
MAINTAINERS S: Supported · line 14852
Quoted 6 lines
MAINTAINERS +2
-0@@ -14848,6 +14848,12 @@ S: Supported F: Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml F: drivers/power/supply/max77976_charger.c +MAX86150 ECG AND PPG BIOSENSOR DRIVER +M: Md Shofiqul Islam <[email protected]>
[Severity: Low]
This isn't a bug, but is this new MAINTAINERS section placed out of alphabetical order?
MAX86150 is inserted between MAXIM MAX77976 and MAXIM MUIC, but MAX8 should sort before MAXI in the file.
Quoted 5 lines
MAINTAINERS +4
-0+L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/iio/health/adi,max86150.yaml + MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 8 lines · Md Shofiqul Islam
Add Device Tree binding schema for the Analog Devices MAX86150 integrated ECG and PPG biosensor.
The device exposes two PPG channels (Red LED and IR LED) and one ECG channel over I2C, with a 32-entry hardware FIFO and an active-low interrupt.
Signed-off-by Md Shofiqul Islam <[email protected]>
Please slow down. Now two versions sent within one hour. Before also posting multiple times per day.
One version per 24h..
Best regards,
Krzysztof
Quoted 11 lines · Md Shofiqul Islam
Add Device Tree binding schema for the Analog Devices MAX86150 integrated ECG and PPG biosensor.
The device exposes two PPG channels (Red LED and IR LED) and one ECG channel over I2C, with a 32-entry hardware FIFO and an active-low interrupt.
Signed-off-by Md Shofiqul Islam <[email protected]>--- .../bindings/iio/health/adi,max86150.yaml | 65 +++++++++++++++++++ MAINTAINERS | 6 ++
I downloaded entire thread and... it is only patch #1. No user. Please thread your patches correctly.
Best regards,
Krzysztof