[PATCH v6 0/2] iio: pressure: add Sensirion SDP31 driver
From: Muhammad Abu Bakar
Date: Wed Oct 07 2026 - 16:51:30 EST
This series adds support for the Sensirion SDP3x family of differential
pressure sensors (SDP31, SDP32 and SDP33), I2C devices that also report
temperature.
The SDP3x uses a completely different I2C command protocol from the
already supported SDP500, so extending the sdp500 driver does not make
sense.
Patch 1 adds the device tree binding.
Patch 2 adds the IIO driver, which exposes differential pressure and
temperature channels and validates each measurement using the sensor's
CRC-8 checksum. The SDP32 and SDP33 differ from the SDP31 only in range
and use it as a fallback compatible; the scale factor is read from the
sensor at runtime. Tested on an SDP31 wired to the I2C bus of a
Raspberry Pi 4.
Changes since v5:
- dt-bindings: drop the literal block marker from the description.
- driver: drop the mod_devicetable.h include and re-wrap the
sdp31_read_measurement() prototype.
- Use the plain "Assisted-by: LLM" form of the tag.
- Collect Reviewed-by tags from Krzysztof (patch 1) and Andy (patch 2).
- Fix the links to earlier versions below; previous cover letters
pointed at wrong Message-IDs.
v1: https://lore.kernel.org/linux-iio/20260919223854.13437-1-m.abubakar365@xxxxxxxxx/
v2: https://lore.kernel.org/linux-iio/20260920164724.32019-1-m.abubakar365@xxxxxxxxx/
v3: https://lore.kernel.org/linux-iio/20260926154118.5471-1-m.abubakar365@xxxxxxxxx/
v4: https://lore.kernel.org/linux-iio/20260928215422.3720-1-m.abubakar365@xxxxxxxxx/
v5: https://lore.kernel.org/linux-iio/20261003160949.4657-1-m.abubakar365@xxxxxxxxx/
Muhammad Abu Bakar (2):
dt-bindings: iio: pressure: add Sensirion SDP31
iio: pressure: add Sensirion SDP31 driver
.../iio/pressure/sensirion,sdp31.yaml | 51 ++++
MAINTAINERS | 6 +
drivers/iio/pressure/Kconfig | 11 +
drivers/iio/pressure/Makefile | 1 +
drivers/iio/pressure/sdp31.c | 243 ++++++++++++++++++
5 files changed, 312 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/pressure/sensirion,sdp31.yaml
create mode 100644 drivers/iio/pressure/sdp31.c
--
2.43.0