From: Angel Iglesias <ang.iglesiasg@gmail.com>
To: linux-iio@vger.kernel.org
Cc: Angel Iglesias <ang.iglesiasg@gmail.com>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Ulf Hansson <ulf.hansson@linaro.org>,
Paul Cercueil <paul@crapouillou.net>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] Add support for pressure sensor Bosch BMP580
Date: Sun, 25 Dec 2022 17:55:28 +0100 [thread overview]
Message-ID: <cover.1671986815.git.ang.iglesiasg@gmail.com> (raw)
This patchset adds support for the new pressure sensors BMP580 extending
the bmp280 driver.
Patch 1 introduces a variant enumeration and refactors sensor verification
logic adding a chip_id field to the chip_info struct. This change is
required because BMP380 and BMP580 have the same chip_id and values would
collide using the chip_id as the driver_data value.
Patch 2 introduces new preinit callback and unifies init logic across all
supported variants.
Patch 3 adds the logic to read measurements and configure operations params
of the BMP580 pressure sensor.
Patch 4 updates the devicetree binding docs with the new sensor id
Patch 5 adds the NVMEM operations to read and program the NVM user range
contained in the non-volatile memory of the BMP580 sensors.
Angel Iglesias (5):
iio: pressure: bmp280: Add enumeration to handle chip variants
iio: pressure: bmp280: Add preinit callback
iio: pressure: bmp280: Add support for new sensor BMP580
dt-bindings: iio: pressure: bmp085: Add BMP580 compatible string
iio: pressure: bmp280: Add nvmem operations for BMP580
.../bindings/iio/pressure/bmp085.yaml | 2 +
drivers/iio/pressure/Kconfig | 6 +-
drivers/iio/pressure/bmp280-core.c | 617 +++++++++++++++++-
drivers/iio/pressure/bmp280-i2c.c | 33 +-
drivers/iio/pressure/bmp280-regmap.c | 60 ++
drivers/iio/pressure/bmp280-spi.c | 23 +-
drivers/iio/pressure/bmp280.h | 115 ++++
7 files changed, 815 insertions(+), 41 deletions(-)
base-commit: e807541c2b273677e82ef50b5747ec7ae7d652b9
--
2.39.0
next reply other threads:[~2022-12-25 16:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-25 16:55 Angel Iglesias [this message]
2022-12-25 16:56 ` [PATCH 1/5] iio: pressure: bmp280: Add enumeration to handle chip variants Angel Iglesias
2022-12-27 21:36 ` Andy Shevchenko
2022-12-25 16:57 ` [PATCH 2/5] iio: pressure: bmp280: Add preinit callback Angel Iglesias
2022-12-25 16:58 ` [PATCH 3/5] iio: pressure: bmp280: Add support for new sensor BMP580 Angel Iglesias
2022-12-25 16:59 ` [PATCH 4/5] dt-bindings: iio: pressure: bmp085: Add BMP580 compatible string Angel Iglesias
2022-12-26 12:05 ` Krzysztof Kozlowski
2022-12-26 12:43 ` Angel Iglesias
2022-12-25 17:00 ` [PATCH 5/5] iio: pressure: bmp280: Add nvmem operations for BMP580 Angel Iglesias
-- strict thread matches above, loose matches on Subject: below --
2022-12-25 19:52 [PATCH 3/5] iio: pressure: bmp280: Add support for new sensor BMP580 kernel test robot
2022-12-29 9:20 ` Dan Carpenter
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=cover.1671986815.git.ang.iglesiasg@gmail.com \
--to=ang.iglesiasg@gmail.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@crapouillou.net \
--cc=rafael.j.wysocki@intel.com \
--cc=ulf.hansson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.