From: Md Shofiqul Islam <shofiqtest@gmail.com>
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 <shofiqtest@gmail.com>
Subject: [PATCH v4 0/3] iio: health: add MAX86150 ECG and PPG biosensor driver
Date: Tue, 23 Jun 2026 20:45:57 +0300 [thread overview]
Message-ID: <20260623174600.17100-1-shofiqtest@gmail.com> (raw)
In-Reply-To: <20260623155556.13701-1-shofiqtest@gmail.com>
Changes in v4 (addressing Sashiko review of v3):
- [High] Fix optional regulator probe failure: treat -ENODEV from
devm_regulator_get_enable_optional() as success (supply absent,
not an error).
- [High] Align fifo_raw to ARCH_DMA_MINALIGN to satisfy DMA mapping
requirements of I2C host controllers that use DMA for burst transfers.
- [High] Disambiguate FIFO empty vs exactly-full: when wr_ptr == rd_ptr
with OVF_COUNTER == 0, consult the A_FULL interrupt status bit to
determine whether the FIFO pointer wrapped to full or is truly empty.
- [High] Remove iio_trigger_get() in probe: the incremented refcount
leaks on the error path when devm_iio_device_register() fails because
iio_device_unregister() (and its paired iio_trigger_put()) never runs.
Users set the trigger via the current_trigger sysfs attribute as normal.
- [High] Assert SYS_SHDN in chip_init() so the LED drivers draw no
current while capture is inactive. set_trigger_state() clears SHDN
when the buffer is enabled and re-asserts it when disabled.
read_raw() wakes and sleeps the device around each single-shot read.
- [Medium] Replace IRQF_TRIGGER_FALLING with irq_get_trigger_type() to
honour the interrupt trigger type from the device tree; falls back to
falling-edge if the DT does not specify one.
- [Medium] Add .validate_trigger = iio_trigger_validate_own_device to
prevent incompatible external triggers from being attached.
- [Medium] Fix per-sample timestamp jitter: anchor timestamps to the
A_FULL IRQ capture time. The sample at index (A_FULL_SAMPLES - 1)
corresponds to pf->timestamp; samples accumulated between the IRQ and
handler execution receive future timestamps, eliminating scheduling-
latency-dependent jitter in multi-sample drains.
Link: https://lore.kernel.org/linux-iio/20260623155556.13701-1-shofiqtest@gmail.com/
v3 cover letter
Md Shofiqul Islam (3):
dt-bindings: iio: health: add maxim,max86150
iio: health: add MAX86150 ECG and PPG biosensor driver
MAINTAINERS: add entry for MAX86150 IIO health driver
--
2.49.0
next prev parent reply other threads:[~2026-06-23 17:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-23 14:01 [PATCH 0/1] iio: health: add MAX86150 ECG and PPG biosensor driver Md Shofiqul Islam
2026-06-23 14:01 ` [PATCH 1/1] " Md Shofiqul Islam
2026-06-23 14:14 ` sashiko-bot
2026-06-23 14:38 ` Joshua Crofts
2026-06-23 15:38 ` Krzysztof Kozlowski
2026-06-23 15:55 ` [PATCH v2 0/3] " Md Shofiqul Islam
2026-06-23 15:55 ` [PATCH v2 1/3] dt-bindings: iio: health: add maxim,max86150 Md Shofiqul Islam
2026-06-23 16:02 ` sashiko-bot
2026-06-23 15:55 ` [PATCH v2 2/3] iio: health: add MAX86150 ECG and PPG biosensor driver Md Shofiqul Islam
2026-06-23 16:12 ` sashiko-bot
2026-06-23 15:55 ` [PATCH v2 3/3] MAINTAINERS: add entry for MAX86150 IIO health driver Md Shofiqul Islam
2026-06-23 17:45 ` Md Shofiqul Islam [this message]
2026-06-23 17:45 ` [PATCH v4 1/3] dt-bindings: iio: health: add maxim,max86150 Md Shofiqul Islam
2026-06-23 17:45 ` [PATCH v4 2/3] iio: health: add MAX86150 ECG and PPG biosensor driver Md Shofiqul Islam
2026-06-23 17:57 ` sashiko-bot
2026-06-23 17:46 ` [PATCH v4 3/3] MAINTAINERS: add entry for MAX86150 IIO health driver Md Shofiqul Islam
2026-06-23 16:43 ` [PATCH v3 0/3] iio: health: add MAX86150 ECG and PPG biosensor driver Md Shofiqul Islam
2026-06-23 16:43 ` [PATCH v3 1/3] dt-bindings: iio: health: add maxim,max86150 Md Shofiqul Islam
2026-06-23 17:53 ` Conor Dooley
2026-06-23 16:43 ` [PATCH v3 2/3] iio: health: add MAX86150 ECG and PPG biosensor driver Md Shofiqul Islam
2026-06-23 16:57 ` sashiko-bot
2026-06-23 16:43 ` [PATCH v3 3/3] MAINTAINERS: add entry for MAX86150 IIO health driver Md Shofiqul Islam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260623174600.17100-1-shofiqtest@gmail.com \
--to=shofiqtest@gmail.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox