From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFC76378828 for ; Fri, 17 Jul 2026 20:11:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784319105; cv=none; b=TPKMwfSH2X1YH7txXno4Qcy/CakTCF5+3CtJF/SEPEr7fLR/gTDBnNwksu+6gvITfR+bAuHxS0b8oMCWcZH7cXJ1ecljG3LR78nuzCxj54f+phS62s8TLMNFYl46XS/wHTgLqkaaWVZ7rEakwPwY1JZZZ0vTeJzK9VJJowMxjuM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784319105; c=relaxed/simple; bh=BCVGMZJMqKv9mEWFv1asCj8XmBIDC6Y8WkqH06d1nCQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SFE1vPMk0F2XZOiPRnvk3/sxsQHlAWjpwlkXulQIVf+ic3+i4rpZCu3HZZ1glF6F9SqABm3ynAs1SJE522kpl/GMzGXkAbKtASidrlgfgKnlbEigTnpNjttpridTDSO1zBvj6dt1foivgY2+a3rws81BSLX320itJepS6fFHT1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MuJ3T1B3; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MuJ3T1B3" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-39b3931e259so74857741fa.2 for ; Fri, 17 Jul 2026 13:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784319102; x=1784923902; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QE9NqWnp+0llPNlHSCBGG32bbwPzbNgAMLIqj11/XOg=; b=MuJ3T1B3HaHfJ45wbixMpH3i+nhcSI7a5ebyshfJEbrbIRU3eDQLmAdDqEWewo1tAE dFr9ftLLJ1Dy05kIqICcDILzFcsLTux77bN8IpuS7CWQEbyQVvjxlBGzxeDUpMdYO5QT 6RQiklm2/8mznmypPP3idA6vXsevZvhFPg68vJGyoidG3ZCbQbbCl7t//NDQY0+b5AbC 9hlauVzHjyAU6SFGOnCbhB5isilgHrglHxj+HTzlS671r6Fr6ZXPui9nMZsDSrrS3tvF BYxRktPGfmUsBvAeCNkj1l26OtUIn6tSaescKvkJnQ6k/OCkscmdBT2yDn7PR0UoiOzP drEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784319102; x=1784923902; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=QE9NqWnp+0llPNlHSCBGG32bbwPzbNgAMLIqj11/XOg=; b=UMrQFSwMsAof0PJcO9zJ3I08tlZn2EL82yHU3TCxcjtAwA8KIrqAl1uVXJhw/naEBG 9AHL1R8tJzQfr8jQtpkTdkh5YlR4xRjPjEIz+s+3DfhC4zDUW6pTf1Kj1F9fnGPMxXXH c831ns9Z2RyiyVyflkUV0cJiJgGTIhR063MoA7JyAOU7dink0oXPDjxm0Y/uTPOttkIh sGpnxQnBp5D3QqMme3qdJBCcM2cJxfrhekctBUZgaCTwSLC1DL8gCUvFgz05CvvkzdzE XpWgXf/y8yFY9XLH1Gt0DetKmQTslq/9nimg2g3SUi3NdZ00MYAKcRioLLUMSQcc8Wom Xq7w== X-Forwarded-Encrypted: i=1; AHgh+RquhEoxDbFDUA00Iq4tbdtrVKNX4WGVrdRX21WTpvGyqirNECPdNvTymgeuGSiVtRivMkfTHqIk7Nzb6sk=@vger.kernel.org X-Gm-Message-State: AOJu0YzfG2tlbYNJb3iAvUIs2nmrNnej1Qnanop06MfaW/FOEyUyFi9s L8booZlgL7qc2p97hCKhf2lbxjn+j/EzohLzvto7VxJdRdmSIW6ExdU7 X-Gm-Gg: AfdE7clbItd9ljbJ6yLQUK7nIMqKffJiqPdeZAloVhe2vBOP8mM7otg4pMJeagqsfrM Jmx4ssE1JdGv2vWgBcey9snWrFOhj9L52+anGg/0i/r4W/5uiyGH8D3w5c+WmGfOlAPbA9a9FBM xd03motOzVq4xyGJ6T98HoFp3Jgf2OVlqfy6qGDKCZHFzVwXbbdJRx7FvQ3aC7kJfPjtlmugYR1 pRof5UHqQjs8uu42kZhq63FpTfiZPHSkEu3Uio608vJqTTdPdLDS6V8bqQRW5qqMlL3E8HxiKSm DcUzLRyUyn1yqQqHb8JWSuLlzzadyoFPMneCIztfSww2tWjWgiYiYGBwnI2u90cqMlOrcpiqYzg E5d2W54pI6dqxfXsV1VBH28+bkbWRO2zAtMYDvuCvaug3wnVFXJ20FPLMv6xiP7SqA6c4vOcudC 5cT7+OZCxWmeQ4vB7SPG6Dbc70neUONmo= X-Received: by 2002:ac2:484a:0:b0:5b0:1380:ca35 with SMTP id 2adb3069b0e04-5b28f9ac996mr678330e87.41.1784319101662; Fri, 17 Jul 2026 13:11:41 -0700 (PDT) Received: from Shofiq.home (87-92-108-63.bb.dnainternet.fi. [87.92.108.63]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b291da7bafsm571257e87.33.2026.07.17.13.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 13:11:40 -0700 (PDT) From: Md Shofiqul Islam To: linux-iio@vger.kernel.org Cc: Md Shofiqul Islam , jic23@kernel.org, devicetree@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andriy.shevchenko@intel.com, u.kleine-koenig@baylibre.com, joshua.crofts1@gmail.com, nuno.sa@analog.com, Michael.Hennerich@analog.com, dlechner@baylibre.com, linux@analog.com, linux-kernel@vger.kernel.org Subject: [PATCH v10 1/2] dt-bindings: iio: health: add adi,max86150 Date: Fri, 17 Jul 2026 23:11:36 +0300 Message-ID: <20260717201138.1078019-2-shofiqtest@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20260717201138.1078019-1-shofiqtest@gmail.com> References: <20260717201138.1078019-1-shofiqtest@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the Device Tree binding schema for the Analog Devices MAX86150 integrated biosensor, which combines two photoplethysmography (PPG) channels (Red LED and IR LED) and one electrocardiogram (ECG) channel in a single I2C device. Samples are buffered in a 32-entry hardware FIFO with a configurable almost-full interrupt. The device requires four independent supply rails per the datasheet power tree: digital core (vdd), analog core (avdd), ECG reference (vref), and LED anode (leds). Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Md Shofiqul Islam --- .../bindings/iio/health/adi,max86150.yaml | 78 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/health/adi,max86150.yaml diff --git a/Documentation/devicetree/bindings/iio/health/adi,max86150.yaml b/Documentation/devicetree/bindings/iio/health/adi,max86150.yaml new file mode 100644 index 0000000000000..da2ff9b0ada2b --- /dev/null +++ b/Documentation/devicetree/bindings/iio/health/adi,max86150.yaml @@ -0,0 +1,78 @@ +# 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 + +description: | + The MAX86150 is an integrated biosensor SoC that combines: + - Two PPG (photoplethysmography) channels: Red LED and IR LED, + for heart rate and blood-oxygen saturation (SpO2) measurement. + - One ECG (electrocardiogram) channel for biopotential recording. + + The device communicates over I2C at up to 400 kHz and raises an + active-low interrupt when the 32-entry hardware FIFO reaches its + configurable almost-full threshold. + + 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: | + Active-low interrupt line. Asserted when the FIFO almost-full + threshold is reached or when a new PPG sample is ready. + + vdd-supply: + description: Digital core power supply (1.8 V). + + avdd-supply: + description: Analog core power supply (1.8 V). + + vref-supply: + description: ECG reference voltage supply. + + leds-supply: + description: LED anode supply, typically 3.3 V. + +required: + - compatible + - reg + - vdd-supply + - avdd-supply + - vref-supply + - leds-supply + +additionalProperties: false + +examples: + - | + #include + + 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>; + avdd-supply = <&vdd_1v8>; + vref-supply = <&vdd_1v8>; + leds-supply = <&vdd_3v3>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 3115538ce8291..189385966de82 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15705,6 +15705,12 @@ S: Orphan F: Documentation/hwmon/max6650.rst F: drivers/hwmon/max6650.c +MAX86150 ECG AND PPG BIOSENSOR DRIVER +M: Md Shofiqul Islam +L: linux-iio@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/iio/health/adi,max86150.yaml + MAX9286 QUAD GMSL DESERIALIZER DRIVER M: Jacopo Mondi M: Kieran Bingham -- 2.51.1