All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add support for BMP390 and various driver cleanups
@ 2023-10-22 17:22 Angel Iglesias
  2023-10-22 17:22 ` [PATCH v2 1/5] iio: pressure: bmp280: Use i2c_get_match_data() Angel Iglesias
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Angel Iglesias @ 2023-10-22 17:22 UTC (permalink / raw)
  To: linux-iio
  Cc: Biju Das, linux-kernel, Angel Iglesias, Jonathan Cameron,
	Lars-Peter Clausen, Andy Shevchenko, Phil Elwell, Linus Walleij,
	Uwe Kleine-König

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@bp.renesas.com/
https://lore.kernel.org/all/cover.1691952005.git.ang.iglesiasg@gmail.com/
https://lore.kernel.org/all/cover.1692805377.git.ang.iglesiasg@gmail.com/

Changes in v2:
	- Dropped unnecessary register reorder in patch 3.
	- Simplified error reporting on patch 4 avoiding string memallocs.
	- Added fallback logic on patch 4 to follow firmware configuration
	  whether device ID matches with any of the known devices IDs.


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 | 38 +++++++++++++++++++++++-------
 drivers/iio/pressure/bmp280-i2c.c  |  8 +++----
 drivers/iio/pressure/bmp280-spi.c  | 10 +++-----
 drivers/iio/pressure/bmp280.h      |  4 +++-
 4 files changed, 38 insertions(+), 22 deletions(-)


base-commit: 89e2233386a5670d15908628b63e611cb03b0d03
-- 
2.42.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-28 13:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-22 17:22 [PATCH v2 0/5] Add support for BMP390 and various driver cleanups Angel Iglesias
2023-10-22 17:22 ` [PATCH v2 1/5] iio: pressure: bmp280: Use i2c_get_match_data() Angel Iglesias
2023-10-23 11:21   ` Andy Shevchenko
2023-10-23 14:00     ` Angel Iglesias
2023-10-23 20:05       ` Andy Shevchenko
2023-10-22 17:22 ` [PATCH v2 2/5] iio: pressure: bmp280: Use spi_get_device_match_data() Angel Iglesias
2023-10-22 17:22 ` [PATCH v2 3/5] iio: pressure: bmp280: Rearrange vars in reverse xmas tree order Angel Iglesias
2023-10-22 17:22 ` [PATCH v2 4/5] iio: pressure: bmp280: Allow multiple chips id per family of devices Angel Iglesias
2023-10-23 11:25   ` Andy Shevchenko
     [not found]     ` <20231027144234.0ad6c7b6@jic23-huawei>
     [not found]       ` <20231027144625.36cc694c@jic23-huawei>
2023-10-28 11:23         ` Angel Iglesias
2023-10-28 13:07           ` Jonathan Cameron
2023-10-22 17:22 ` [PATCH v2 5/5] iio: pressure: bmp280: Add support for BMP390 Angel Iglesias

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.