From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
linux-iio@vger.kernel.org,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Eddie James" <eajames@linux.ibm.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
"Paulius Zaleckas" <paulius.zaleckas@gmail.com>,
"Rupesh Majhi" <zoone.rupert@gmail.com>,
"Joshua Crofts" <crofts@kernel.org>,
"Luca Weiss" <luca.weiss@fairphone.com>
Subject: Re: [PATCH 3/3] iio: pressure: dps310: add Goermicro SPL07-003 support
Date: Tue, 17 Nov 2026 11:49:03 +0200 [thread overview]
Message-ID: <avwjD41YxQ8dL2gx@ashevche-desk.local> (raw)
In-Reply-To: <20261117083954.335814-4-jorijnvdgraaf@catcrafts.net>
On Tue, Nov 17, 2026 at 09:39:54AM +0100, Jorijn van der Graaf wrote:
> The Goermicro SPL07-003 needs what the ZTS8032 chip data already
> describes: c31 and c40 in the pressure polynomial, and TMP_CFG bit 7, a
> rate bit on this chip too, left clear. Its TMP_EXT is MEAS_CFG bit 3 and
> stays at the reset value, the internal sensor the datasheet recommends.
>
> Its c31 and c40 are 12 bit values packed into 0x22-0x24, where the
> ZTS8032 has 16 bit values in 0x22-0x25, so the coefficient block is 21
> bytes. Add a chip flag for that layout, the chip data and the I2C and OF
> IDs.
>
> Tested on a Fairphone (Gen. 6). The DPS310 temperature workaround skips
> this unit: bit 1 of register 0x32 is set.
I haven't checked with Datasheet, but code wise it is nice and clean
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2026-11-17 9:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 8:39 [PATCH 0/3] iio: pressure: dps310: add Goermicro SPL07-003 Jorijn van der Graaf
2026-11-17 8:39 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Goermicro Jorijn van der Graaf
2026-11-17 10:07 ` Krzysztof Kozlowski
2026-11-17 8:39 ` [PATCH 2/3] dt-bindings: iio: pressure: infineon,dps310: Add Goermicro SPL07-003 Jorijn van der Graaf
2026-11-17 10:08 ` Krzysztof Kozlowski
2026-11-17 8:39 ` [PATCH 3/3] iio: pressure: dps310: add Goermicro SPL07-003 support Jorijn van der Graaf
2026-11-17 9:49 ` Andy Shevchenko [this message]
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=avwjD41YxQ8dL2gx@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=crofts@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=eajames@linux.ibm.com \
--cc=jic23@kernel.org \
--cc=jorijnvdgraaf@catcrafts.net \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=nuno.sa@analog.com \
--cc=paulius.zaleckas@gmail.com \
--cc=robh@kernel.org \
--cc=zoone.rupert@gmail.com \
/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
all inboxes | Powered by JetHome®