From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 E338737FF7A for ; Fri, 17 Jul 2026 20:11:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784319105; cv=none; b=SoTg0B9+swkXMJdc/nXdcERf3AXh3SPAg0LiAJI8BuUK+orfSy+B1/HrAapyuGliG0ZRuIxqpqbehHwvaT+/nDvvxCdV1PB3fUqs8GRIZVMnWfqwT1XDHqde4mDmCAUbSDcfY0+L82VoNLogf/hVaxUtVOugVE79koEjeRPn5Ak= 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.167.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-5aeae350e0aso9095673e87.1 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=CXeUUc5msIMZ6+FXIfjXadF533Sc+D+GXdbWPTMQdol17Yq+Gy6SqGvtNFHyPLHfU4 VwPXfxHXd3qwG+OxwVbzZ11u/jWVIWh/uCAYFMoh+9ho4/3oGL2NIRnwbhWJuiiEi+oQ VBcGdMBRgO/QAuOC72N6F+nrECEBz09NTZ2tCBq7AMx69O1OQpVGCbZXB+xlkaEVAdv8 oTVuXgpO+K7kLfOZOi+ItD2xXoPgIpSb6PYrk7MLrg45j+gean9OUVl4s4x3BNoT3Bgi WWErlHrlv+vJzbX/f6wnXQKpie+zy4zi1dDe5shILL4dAa0murVjRTW6vTw3oqs10Syd ZbIg== X-Forwarded-Encrypted: i=1; AHgh+RrxujUlrcl5IFV6jtulKxr3Fdk7UUnh2urTnOWYsUMKS2Ox8hm1J7VirII/IslYTzEwBQGG9ZD+6akM@vger.kernel.org X-Gm-Message-State: AOJu0YwpcpdtRQBa/qTVLIbl9z4ZFRbXJxswFvKUIDmQhVgBKSkzw29J 42BalVZ2hLgbdd0x2NjoLXOq/ADg53tQ0eOsyH/4AMOrMy8g4GvJPj8q X-Gm-Gg: AfdE7cm6+tTwc9Fkx/JLD1ARJmcvw6OpnM7McgPYMMK7bAbugPoDHLtJCo1AZcBbbU4 YHYaW/HpNYQKAwgJda4HBEdJY6vN8oGhIs7HG6j1EwW09a5NMe/bQGX6RV4M/iKocUYSli478FJ /BcemmP3BO2VARHl7OhArAr8IwYOEXUTcTZ0CBpJiS4AR7DWhGEYbZLHzfUcmQ7QpHJo0mChi5M XSnNTycPfjXNWDly9hKqOckvhob4tzzoZ/+M39QOR/5Gga2EfkK5dhyyGG6d9xlhmT4jZFYOQ5l jSV5oblwq7LBvjXwXBJ5IUDNDHrLyHb2VvVOhtuLmffFzeGTfk100K9mHc+HCmljW+3WdrSHiSB sHVhiRVK6ZCNaHeGJEz/N4Sw2MPV+bUwNXf/eIBZLfe+h97U6/ugjmX+Iy37eWJIhAH14EIxhb/ CjXMKxYHrKhY2cp2StKuAajMuILqvqxWo= 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: devicetree@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