Skip to content

Replace bmp085 with bmp18x

Eric Andersson lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers/misc: add support for BMP18x pressure sensorsdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/bmp18x-core.c +3 more+864 -01 reply
2/3Documentation: add sysfs ABI documentation for bmp18xDocumentation/ABI/testing/sysfs-i2c-bmp18x Documentation/ABI/testing/sysfs-spi-bmp18x+62 -00 replies
3/3drivers/misc: remove bmp085 driverDocumentation/ABI/testing/sysfs-i2c-bmp085 drivers/misc/Kconfig drivers/misc/Makefile +1 more+0 -5250 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchStefan NilssonZhengguang Guo
1/3R-b T-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Replace bmp085 with bmp18x

Hi,

This patch-set replaces the BMP085 driver with a driver for Bosch Sensortec's new generation of pressure sensors called BMP18x. These pressure sensors can be connected on I2C but also on SPI as a variant, so the driver implements both. Register-wise they are fully compatible with the older BMP085, so the driver will support those chips as well.

The driver is based on bmp085.c by Christoph Mair.

--
Best regards,
Eric

http://www.unixphere.com

Eric Andersson (3):
drivers/misc: add support for BMP18x pressure sensors
Documentation: add sysfs ABI documentation for bmp18x drivers/misc: remove bmp085 driver

 Documentation/ABI/testing/sysfs-i2c-bmp085 |   31 --
 Documentation/ABI/testing/sysfs-i2c-bmp18x |   31 ++
 Documentation/ABI/testing/sysfs-spi-bmp18x |   31 ++
 drivers/misc/Kconfig                       |   40 ++-
 drivers/misc/Makefile                      |    4 +-
 drivers/misc/bmp085.c                      |  483 ---------------------------
 drivers/misc/bmp18x-core.c                 |  500 ++++++++++++++++++++++++++++
 drivers/misc/bmp18x-i2c.c                  |  121 +++++++
 drivers/misc/bmp18x-spi.c                  |  143 ++++++++
 include/linux/i2c/bmp18x.h                 |   65 ++++
 10 files changed, 924 insertions(+), 525 deletions(-)
 delete mode 100644 Documentation/ABI/testing/sysfs-i2c-bmp085
 create mode 100644 Documentation/ABI/testing/sysfs-i2c-bmp18x
 create mode 100644 Documentation/ABI/testing/sysfs-spi-bmp18x
 delete mode 100644 drivers/misc/bmp085.c
 create mode 100644 drivers/misc/bmp18x-core.c
 create mode 100644 drivers/misc/bmp18x-i2c.c
 create mode 100644 drivers/misc/bmp18x-spi.c
 create mode 100644 include/linux/i2c/bmp18x.h
Signature · 1 line
1.7.3.4