From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 A717738D6A9 for ; Tue, 23 Jun 2026 17:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782236770; cv=none; b=aJspf1GqCyrGh1ltakFeR80TV1zBdmjQXJwewHUaKONx6qCnEPEA40O+qfOaf/9JuZcn1bau/xhftm16dVjwoYW/bHPksNQzmdLhzcMH9bS2N0uk0LQEN1ADi/FxfCn3dM+EqjjefjV1cRWpNXku7lhFnTXpXVd/NOAAvrzdTOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782236770; c=relaxed/simple; bh=bDrgqU2B+UkBBmPBzeWE0+W7wImAlYaHQusokmx8XJ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rUvqjWKCX8bDfc66W71Gd+twbyuHgxrtw41QwSqkQkiz3IMl4FaY+5FGx3wWvLh2xMKl94HOuPvUrop5qmeT3Woq6D/tNXHQASwcXjLIx/EhRUR8epLw7rNuZ4A0WakT5zbnLlsRdd5pLw6xorMUcCEUcrTdFqm9JIbgpAanAmg= 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=rszAvOdl; arc=none smtp.client-ip=209.85.167.47 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="rszAvOdl" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5ad53c8d4dfso136123e87.1 for ; Tue, 23 Jun 2026 10:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782236767; x=1782841567; 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; bh=pD39JBAAp2uVwZ98fWzVa8hs4x0Q++h2beL6bLFgwHE=; b=rszAvOdl0gTA286+WIjRKfAS/m0LBNpE0IMWOMqF9qEPKR9/OY7wl9w5G7zFDdprYt 7KC3Cu6zP0d2Ei1jK3QWlkuygD0BHT8kuXa1UH5awB5V3hFkPhmOtyc4d6RZqEQC9YDG GPuYmV+tI+5nlZlm8/GXGmeqJ2eS0/GZHk95HFurQTkZTd9/m46XYF0nq96AEhq0wxcK bCyHLLAxn28pOXhMXoKvBqlzQKRAXqvNRbAmGUfxKMdO1f1wEdurLyVG9yWAx6sLCiPh f2BNCHPA9i8q1lyOWSXg4Ra3nteo+ag1AoKQyVr+8GioMrWOb9pLUAYgFjOHjhLBQ8f9 9Vsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782236767; x=1782841567; 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; bh=pD39JBAAp2uVwZ98fWzVa8hs4x0Q++h2beL6bLFgwHE=; b=fQukKh4gqKwIIPsz1iKGX34EBPNBo4Hg6umaFFELNcwjJrxQZf3Xo5z6t8igg1V/L5 W9IUJb1rN2pbbMJSp6g0btDdf5/CE35EHreM2QZMuBiua0xC9xGlfkus+ox8X4OUUVNp IiH+CZLOvUkbZbY5M2c6S/dvFmr46CDcPgy9JRg7ha8cVGpeu/h+wsJgT+euSX5VU96d TvCm2YORfHDgYZdLrTANe1dKG+HxuzNtaLyP5h4w0mDyLuaCikPGoKYWYriDuNnR6UPR WTwxaAlWQB6xQAS1TNnfJhHcpnDDuga9xOP74X5JgMdbRh2jW+n6dDuscNI6vtD0YmA4 YOrA== X-Forwarded-Encrypted: i=1; AFNElJ/SDcI/aBqOy10uGLtX++u1he59/RX9qwX2ALXz9dUOz2AOR5QQQuQ471oTkYA0oAmXOUjYu0Mcf3lMB9M=@vger.kernel.org X-Gm-Message-State: AOJu0YyiP8F2lX8GxBCGsCR2VqRNzAKKiPZoJoss8SJ74OaAoYtm0MKX PX0nP/dXTtApkfSHkN09SIOjxP4K9OY8A9EcNOmxMf8l4li2BYVKzSad X-Gm-Gg: AfdE7cktWlVKFnCv3FMmBiDuKlSVg3fj5ZDwJR4WKvAI5E7RoOyX4sJizpGEp8B6WYu QEXueJRmqAV2tPpAN5KI5U89xPxbTt3imtxP9XQ7L9ZWMCFq2uhetdWXskzwtljk/ZbG4r1DXXv WvgGhyPOgUMy1LXdqfupLmc/sCTtYJJOjgoWde1WnE8vQHNQWkRhxR6zCi6TG80rLYEtn4MRGY8 ecK6GU2uCBc+AQkCExtZ8MbpyNGOtL2+ma3SDr0fCb5/CnNXseHz8F1941R20AsBv+yWOaQLOwH HkCvTyCanS815j5aKFGnZZdgdC+sHA5zqoLioEorrgs338OAtVe32fbnwnoMczHz9N2/ngcPmuE 5wWLkVe9lpDL1pUADcIgbh/+3KF8ZCxg8RgVvgS8Ic0zy3zak+ZnnRZv5KKo4sRyX7Sfzt2V4LD X9K2vDgxy8s744jiYLM/XfKWTxNJFvW/981ZlFWhiBQeMfIw== X-Received: by 2002:a05:6512:1156:b0:5aa:71e1:edab with SMTP id 2adb3069b0e04-5ad696c015amr1362920e87.23.1782236766715; Tue, 23 Jun 2026 10:46:06 -0700 (PDT) Received: from Shofiq.home (87-92-251-137.rev.dnainternet.fi. [87.92.251.137]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3999afc7005sm27198651fa.13.2026.06.23.10.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 10:46:05 -0700 (PDT) From: Md Shofiqul Islam To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lars@metafoo.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Md Shofiqul Islam Subject: [PATCH v4 1/3] dt-bindings: iio: health: add maxim,max86150 Date: Tue, 23 Jun 2026 20:45:58 +0300 Message-ID: <20260623174600.17100-2-shofiqtest@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20260623174600.17100-1-shofiqtest@gmail.com> References: <20260623155556.13701-1-shofiqtest@gmail.com> <20260623174600.17100-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 YAML binding schema for the Maxim MAX86150 combined ECG and PPG biosensor. The device exposes two PPG optical channels (Red and IR LED) for heart rate and SpO2 measurement, and one ECG biopotential channel, all accessible over I2C at up to 400 kHz. An optional active-low interrupt line connects to the 32-entry hardware FIFO almost-full output. Two optional regulator supplies (vdd for the digital core and leds for the LED anodes) cover boards that require explicit power sequencing. Signed-off-by: Md Shofiqul Islam --- .../bindings/iio/health/maxim,max86150.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/health/maxim,max86150.yaml diff --git a/Documentation/devicetree/bindings/iio/health/maxim,max86150.yaml b/Documentation/devicetree/bindings/iio/health/maxim,max86150.yaml new file mode 100644 index 000000000000..1bf10fd1a3d2 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/health/maxim,max86150.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/health/maxim,max86150.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim 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: maxim,max86150 + + reg: + maxItems: 1 + description: I2C device address, always 0x5E. + + 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 supply, 1.71 V to 1.89 V. + + leds-supply: + description: LED anode supply, 3.0 V to 5.5 V. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + biosensor@5e { + compatible = "maxim,max86150"; + reg = <0x5e>; + interrupt-parent = <&gpio1>; + interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&vdd_1v8>; + leds-supply = <&vdd_3v3>; + }; + }; -- 2.51.1