From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 8D5B443F4D2 for ; Mon, 6 Jul 2026 22:39:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783377581; cv=none; b=kMWyBcvFOVG7kBiFrfuHG+TmYVJ6jeInHHu/RGzSMEGsS5X8/rEKW6nKtr0arKrNkoxx3A71TUMFORYsT/l7t9m7B5EdsIAGOColDUqDhScg1WeLQADpBmQMWwP/lpTHXZT1zVrEHJGJE/+LXBFrIbANfDJ1++Oo4mxZ/XUtFuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783377581; c=relaxed/simple; bh=t/lScOB7CpFSN+BBpWau0Y34mVwtawmhNWrHgcJiZHo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ITMUl27LWPmNEaTKaOP7Ue0bdGkhv0VbWwyqKTRJDF8HlbFTA+faZisi8sWeGDwBpxnYcwjlE81V5lLCo6+8+UD5wbNB3/4w0imJMcoVVOKVTB/xPlJ0AbWYRYINn4MkAfs7oKfB3U4ObiCEBI43BCP9LNFka35Oi67V5fY9LJY= 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=axBEjrOA; arc=none smtp.client-ip=209.85.208.179 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="axBEjrOA" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-39b38d3c929so29062151fa.3 for ; Mon, 06 Jul 2026 15:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783377578; x=1783982378; 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=WWfH/GxGUXWLsJ6S744tEAlMTJ0a2RTRBnRY+9o/Ybw=; b=axBEjrOArXL1gQPAvRXL3kEZfzjMKdnPuqwLPwpldKM/HFilwa2bIiSTKaTz/+H2EP vdS6Mi6rldCUsxh1GbmcUVvI5dzqM3759M5blz+N0W3EbIj8bjjB9wT/M/RfCTTorjOI //FgmdQ8EZWZj2V8zHbVnld/j+1wzqZdWpjk73k2jXfcBY9E9Np+L43w1QPJ54nTEUvz zVGBFzDRaE+EnOZnU2KnIp695xhp8I8IHvWRoWvhPBzn7mumEoZG6/bMUF3qyLKBHM6Q IKk4tbf8VVulwkJCHqoONJ8I7OOiUS305O3DrQUaacjO+DcOgnfFW6iAAbqPcAc/4FLU 9yWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783377578; x=1783982378; 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=WWfH/GxGUXWLsJ6S744tEAlMTJ0a2RTRBnRY+9o/Ybw=; b=FJNHkoLq1nTiOYzH1Nv4q0oHGgwUSjc+0iR+KUTQ61caEcL/vhiIM6etc+RaLAw2BE 1AoZo6g5NwvRG0ROv0Uboh2hEzZjsAz5Su6KYSLE2OlHwCUO2VBAFAC+mIcUt/N1QEhG CAXcPFGtW0Il44Z+xLh4yf48R61O/WlpB8RmcmcRW+oA0tiPxa15bZZ3mcfH96LWpZ7j hVec9iopYDCaNTbwmHcDCsPl8m+rPIMcNV6WW0fAo+dwxcSG1yIIEogMeV9Qb6LLDuH0 5WADkn8SME3e64bfQQkS1fI+RFXxgliaU6aXSy7hg5O3qP5aoCB96TjbaieTVNPV3FJ1 w7lQ== X-Forwarded-Encrypted: i=1; AHgh+RrXTfJIXF1gFQU8ycDi+C2rRdNvtcaAy7kib/Fd9tPWrRd6yp4PPDwXBVfLTyy/FGpgxNRWmGjMoM+xpjg=@vger.kernel.org X-Gm-Message-State: AOJu0YyqYav/4xrNRbj+o6QLGe3T6X042CAl5YoRT33bljMjJqlLhrol RPoy2SeUcrh+zeEscc26rNNw6aXpugf+AjjnKbSYMwO8BkVZnDhpMxZj X-Gm-Gg: AfdE7clriVBVzDgDn1w39VbTOwfPssZWP4GpsyICE7KU5HJZ4wRjjxd74y77v2BhS9w 6PrLw8bw3Q+tasYN/RcENh8dnPNTdq4zcULGXEhJQVnoTf3GY9zpt9YgHPnjdcS/TWMmrIrXfA8 6NJ4lJbicAyg/bAjR+xfVKJdbVb/eruhvx75vqNbln/XIK/4Ghgbo1mAnzg3tR2gdrCzxNjMKeB gyuOg7VQ5bgbYGFOvGKUx2NLHx616d2wvrxQ8Oj4l8mVJZ2QWrJuYSAEKkwbrkFpyx/nt/oSmgB ADJGxpKFE5mjhgbCULseAxtZUN4nDSiaFEXnGLJL7qY9S8ltz+jissuXfxbHJGzQevc20/9i9Rn j1C4Gjy9u+35k56e26wW21Rkd05quQ91o9lxkSDeERmuUxT/GsAdMDdu55Cyh1OhEzhguDdtDjM fcCTRODyI3ZU5UNrtsIRnunqsJNP9jiyUEBesZ5YqfyYaSfQ== X-Received: by 2002:a2e:a312:0:b0:39b:35bd:e708 with SMTP id 38308e7fff4ca-39c5fd6fd45mr4667841fa.1.1783377577629; Mon, 06 Jul 2026 15:39:37 -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-39c6631e1ebsm965691fa.42.2026.07.06.15.39.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 15:39:35 -0700 (PDT) From: Md Shofiqul Islam To: jic23@kernel.org, lars@metafoo.de Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 v7 1/3] dt-bindings: iio: health: add adi,max86150 Date: Tue, 7 Jul 2026 01:39:28 +0300 Message-ID: <20260706223930.1807714-2-shofiqtest@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20260706223930.1807714-1-shofiqtest@gmail.com> References: <20260706223930.1807714-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 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 --- .../bindings/iio/health/adi,max86150.yaml | 65 +++++++++++++++++++ 1 file changed, 65 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..b0ae7d2ecfcec --- /dev/null +++ b/Documentation/devicetree/bindings/iio/health/adi,max86150.yaml @@ -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 + +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 + + 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>; + }; + }; -- 2.51.1