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 9DB5A395DAA for ; Tue, 23 Jun 2026 20:11:31 +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=1782245493; cv=none; b=n4Bq49958uzJp1SKQHQcgWBKk0NBV2wLLDAmxKK7/50aQnwziu3t6OZfKNdNr8S82MKJul9RWSu8aAm0pN6d0Vzp89P2BDqdND10GtIWV/ztcNTAentVs/UEamvdxFFcW52HKzbZxIVEwgOgvEK16uEXg4meOFxVXsV1drDYlt8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782245493; c=relaxed/simple; bh=9ZJTV3Tr7gPHN2x9nrz/v/mE3v7g4ksoIWC4RjqyP0Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GbjGg6V6/ozFvkE6EHItW8UEw5esAQ4HxK/jpdVe5y+PA0dMaqHjqBaORU1MHgZbcL03Ng828eAZU9BgyWbxv85RcPe9T+/6Dgf7mkRXVehgza3RmW3xOvOG8F5Mnwfp+LjXa/HPY3eMILSVC1Eqtzl8Ko0jH/LMK3bb8foJowE= 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=mpRwqLj9; 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="mpRwqLj9" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-5aa6792e7b8so247828e87.1 for ; Tue, 23 Jun 2026 13:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782245490; x=1782850290; 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=+rc26whbZ5CV6ed5f60gmU1ifWX890ncOq/U9UyLKHc=; b=mpRwqLj9ccn7VtPX/NNZB3Ym19kXT0NVvCRxKgzDNxRBnrbcbfI76Yf8WBHEW5k5gK 7rGLH9PhviQPyyJfl5360JIu+frqybVcmQ9iqiGCoJUYfuZQ0d3nkXnq937oatmqEkgZ m/uM+lrvtSWiak8SgPuycgD9M5cer73jo2wDyZGsOvJ434QG5YpYAmUbVnutLIiZsncq waK3f89DnjTfMK1apfSXH18gQPUQzbCf5pIEstfWsiDfuHAWtSbUl/2ZpHsxZAY9IeDh m/hmhjkKUkYJjmaDbgcECvMPLnSRZuypUSEcOFEdPxYIGpC8S14KmbGx3z2eZ7fO18sY WfMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782245490; x=1782850290; 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=+rc26whbZ5CV6ed5f60gmU1ifWX890ncOq/U9UyLKHc=; b=i3UiF2/hfQoe8lDtIBqBDDt3WzU+pWZQ4891tIHxcnA6vu9z1JHc4wcE7oXFFALOU3 pKOgR23vOthSbL+bH6HSyalFdcT3wfCmDLbzygxj4D4BYGGR9YQ+wosnQu6jjbMS3N3x TJoYroL18DcD3Vm+X4FtutBV6YV3SIXCNeJn6kQTO2Vv5XF/HtGKCDuB2Ly1i3cJXUGs z+HVMobgQEZTSqLW67NbF/iEDytzXXdnnZH9n/6PllOksoV6qzr7PRzWYVRK3c6hmNa3 eH9xEccsXBMjwbI5fqgMWxunHh6TBdkv+J55NVnBQvpyhkWSbRQ0exfdPOl+fVGi3bla m4cQ== X-Forwarded-Encrypted: i=1; AFNElJ/5uCfNifIS7b/Li0id9RCKwlHbD6/rLL6MZL4wMZ22oHldojePo2KnVYMd1L32RF0GfLlaF7bhPM7M@vger.kernel.org X-Gm-Message-State: AOJu0YzuIbBeP4lHwuvbvEbUAGjJWku2jQpPIOS5AS1LzV9i7o3kZVzj 1vwaBGPz80DlUhBemCGbXRBNC552qly82Ne+bxOuUVdzsweogkv02atL X-Gm-Gg: AfdE7cmWS39gjB1bG9vmfznIOy7Ap7OanQK7cKHK9tsDw/93BkuavccGatNrj4KM2+M eVC2L3o7Bz34KF9mWaPvyiHJUw1/tcZJbYxgVRjepj/YZVAEA2UaOloME5/NRWGJ8fgXAIURS/f HiYq2fCI5KOmZ52Vks7KV+PReAALk3hfXPoBcrmS/fcgF4ttJV2U5liZPkzcs3bzqUkV0WNy61m 9WTfpInsOhI4OB/QjJXexGycZQi4Pnw2mxFBLWvAptW/+QtZLnLX6JyKCIEj5IM1QB9CdfYmSPL OCpars8pSvWRT+Uz7OjOzq/bvfGFIhYfzJVXqEdl8S2ph/Z9cQuvjbPrHQMEzshGilMBdDp4Or/ +ilus9K5CyPMQsgXs2x/otOg/R0fDf0LgekOQlKrB4p/A4d5e7gIA3URoGyyLkIauVy/MN+u0cn LwBpvy4yMpZ+3fLh+DEVJ7G7moZ0VCyDC6s/Btb7Ay6e7PQw== X-Received: by 2002:a05:6512:3513:b0:5ad:4ced:9c9f with SMTP id 2adb3069b0e04-5ae9d5ad154mr8361e87.39.1782245489596; Tue, 23 Jun 2026 13:11:29 -0700 (PDT) Received: from Shofiq.home (87-92-251-137.rev.dnainternet.fi. [87.92.251.137]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5ad69551082sm1063392e87.26.2026.06.23.13.11.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 13:11:29 -0700 (PDT) From: Md Shofiqul Islam To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, lars@metafoo.de, conor@kernel.org, conor+dt@kernel.org, robh@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Md Shofiqul Islam Subject: [PATCH v5 1/3] dt-bindings: iio: health: add adi,max86150 Date: Tue, 23 Jun 2026 23:11:21 +0300 Message-ID: <20260623201124.18271-2-shofiqtest@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20260623201124.18271-1-shofiqtest@gmail.com> References: <20260623174600.17100-1-shofiqtest@gmail.com> <20260623201124.18271-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 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 | 78 +++++++++++++++++++ 1 file changed, 78 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 000000000000..c191f4f1525b --- /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_EDGE_FALLING>; + vdd-supply = <&vdd_1v8>; + avdd-supply = <&vdd_1v8>; + vref-supply = <&vdd_1v8>; + leds-supply = <&vdd_3v3>; + }; + }; -- 2.51.1