[PATCH 0/5] Add support for BMP390 and various driver cleanups
From: Angel Iglesias
Date: Sun Oct 15 2023 - 11:17:50 EST
Add support for the Bosch BMP390 pressure sensors and includes minor
driver code cleanups.
Patches 1 and 2 update I2C and SPI driver matching logic using newer
helper functions available.
Patch 3 fixes minor coding style incoherences.
Patches 4 and 5 introduce support for the new BMP390 sensor allowing
sensor families to have a list of known device IDs to improve detection
This patch series is aggregates patches from various series:
https://lore.kernel.org/all/20230812175808.236405-1-biju.das.jz@xxxxxxxxxxxxxx/
https://lore.kernel.org/all/cover.1691952005.git.ang.iglesiasg@xxxxxxxxx/
https://lore.kernel.org/all/cover.1692805377.git.ang.iglesiasg@xxxxxxxxx/
Angel Iglesias (4):
iio: pressure: bmp280: Use spi_get_device_match_data()
iio: pressure: bmp280: Rearrange vars in reverse xmas tree order
iio: pressure: bmp280: Allow multiple chips id per family of devices
iio: pressure: bmp280: Add support for BMP390
Biju Das (1):
iio: pressure: bmp280: Use i2c_get_match_data()
drivers/iio/pressure/bmp280-core.c | 56 ++++++++++++++++++++++++------
drivers/iio/pressure/bmp280-i2c.c | 8 ++---
drivers/iio/pressure/bmp280-spi.c | 10 ++----
drivers/iio/pressure/bmp280.h | 4 ++-
4 files changed, 54 insertions(+), 24 deletions(-)
base-commit: 73006239ef2313f1986f86af86f8b06150a807e9
--
2.42.0