[PATCH 0/3] iio: pressure: dps310: add Goermicro SPL07-003
From: Jorijn van der Graaf
Date: Tue Nov 17 2026 - 03:41:58 EST
The Goermicro SPL07-003 is a barometric pressure sensor that is register
compatible with the DPS310. Like the Zilltek ZTS8032 it has two more
pressure calibration coefficients (c31, c40) and a rate bit where the
DPS310 selects its temperature sensor, but it packs c31 and c40 as 12
bit values where the ZTS8032 has 16 bit ones. So it needs chip data of
its own, and neither existing compatible can be its fallback.
Tested on a Fairphone (Gen. 6) running this series on iio/testing, with
nodes for the sensor and its I2C bus added to the board's devicetree
and the driver bound through the new compatible: in_pressure_input is
within 1 Pa of the datasheet formula evaluated from the raw and
coefficient registers at every combination of pressure and temperature
oversampling ratios from 1 to 128, TMP_CFG reads 0x00 after probe, and
at 16x pressure oversampling buffered capture through the FIFO and
through a sysfs trigger averages within 2 Pa of direct reads.
The series was written with Claude Code Fable 5.2 Max.
The code, the commit messages and this cover were drafted by the model
and reviewed and edited by me and 1521 Opus 5.5 Max agents
over 7 rounds using Crafter.Review.
Jorijn van der Graaf (3):
dt-bindings: vendor-prefixes: Add Goermicro
dt-bindings: iio: pressure: infineon,dps310: Add Goermicro SPL07-003
iio: pressure: dps310: add Goermicro SPL07-003 support
.../iio/pressure/infineon,dps310.yaml | 5 +--
.../devicetree/bindings/vendor-prefixes.yaml | 2 ++
drivers/iio/pressure/Kconfig | 1 +
drivers/iio/pressure/dps310.c | 32 ++++++++++++++++---
4 files changed, 34 insertions(+), 6 deletions(-)
base-commit: 94921bc9eb214f838481faa847cda5c42e486013
--
2.56.0