Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 8d32930

Browse files
angiglesiasjic23
authored andcommittedSep 21, 2022
iio: pressure: bmp280: Add support for BMP380 sensor family
Adds compatibility with the new generation of this sensor, the BMP380. Includes basic sensor initialization to do pressure and temp measurements and allows tuning oversampling settings for each channel. The compensation algorithms are adapted from the device datasheet and the repository https://github.com/BoschSensortec/BMP3-Sensor-API. Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com> Link: https://lore.kernel.org/r/f1da2a2f1bc5bb083f318335c23b4f3d9bb8e536.1663025017.git.ang.iglesiasg@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 18d1bb3 commit 8d32930

File tree

6 files changed

+555
-3
lines changed

6 files changed

+555
-3
lines changed
 

‎drivers/iio/pressure/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ config ABP060MG
1717
will be called abp060mg.
1818

1919
config BMP280
20-
tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
20+
tristate "Bosch Sensortec BMP180/BMP280/BMP380 pressure sensor I2C driver"
2121
depends on (I2C || SPI_MASTER)
2222
select REGMAP
2323
select BMP280_I2C if (I2C)
2424
select BMP280_SPI if (SPI_MASTER)
2525
help
26-
Say yes here to build support for Bosch Sensortec BMP180 and BMP280
27-
pressure and temperature sensors. Also supports the BME280 with
26+
Say yes here to build support for Bosch Sensortec BMP180, BMP280 and
27+
BMP380 pressure and temperature sensors. Also supports the BME280 with
2828
an additional humidity sensor channel.
2929

3030
To compile this driver as a module, choose M here: the core module

0 commit comments

Comments
 (0)
This repository has been archived.