From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Subject: [PATCH v2 0/6] iio:pressure:ms5637: add ms5803 support
Date: Sun, 10 Jan 2021 00:11:42 +0100 [thread overview]
Message-ID: <20210109231148.1168104-1-alexandre.belloni@bootlin.com> (raw)
Hello,
This series adds support for the Measurement Specialities ms5803. It is
very similar to the ms5805 but has a different PROM layout (which I
suspect predates the ms5805 PROM layout). Also it supports less
frequency sampling options.
After a bit of preparatory work in the ms5637 driver and its common
library, mainly to handle the PROM layout and sample frequencies, adding
support is trivial.
Changes in v2:
- Dropped "iio:pressure:ms5637: switch to probe_new" to keep the i2c_device_id
table.
- Reorder trivial-devices.yaml
Alexandre Belloni (6):
dt-bindings: trivial-devices: reorder memsic devices
iio:pressure:ms5637: introduce hardware differentiation
iio:pressure:ms5637: limit available sample frequencies
iio:common:ms_sensors:ms_sensors_i2c: rework CRC calculation helper
iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM
layout
iio:pressure:ms5637: add ms5803 support
.../devicetree/bindings/trivial-devices.yaml | 10 ++-
.../iio/common/ms_sensors/ms_sensors_i2c.c | 76 ++++++++++++++----
.../iio/common/ms_sensors/ms_sensors_i2c.h | 15 +++-
drivers/iio/pressure/ms5637.c | 77 +++++++++++++++----
4 files changed, 143 insertions(+), 35 deletions(-)
--
2.29.2
next reply other threads:[~2021-01-09 23:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-09 23:11 Alexandre Belloni [this message]
2021-01-09 23:11 ` [PATCH v2 1/6] dt-bindings: trivial-devices: reorder memsic devices Alexandre Belloni
2021-01-14 19:08 ` Rob Herring
2021-01-09 23:11 ` [PATCH v2 2/6] iio:pressure:ms5637: introduce hardware differentiation Alexandre Belloni
2021-01-09 23:11 ` [PATCH v2 3/6] iio:pressure:ms5637: limit available sample frequencies Alexandre Belloni
2021-01-09 23:11 ` [PATCH v2 4/6] iio:common:ms_sensors:ms_sensors_i2c: rework CRC calculation helper Alexandre Belloni
2021-01-09 23:11 ` [PATCH v2 5/6] iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM layout Alexandre Belloni
2021-01-09 23:11 ` [PATCH v2 6/6] iio:pressure:ms5637: add ms5803 support Alexandre Belloni
2021-01-14 19:09 ` Rob Herring
2021-01-16 18:06 ` [PATCH v2 0/6] " Jonathan Cameron
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=20210109231148.1168104-1-alexandre.belloni@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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®