Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport bmp580 and bmp390 support #5577

Draft
wants to merge 9 commits into
base: rpi-6.1.y
Choose a base branch
from
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/iio/pressure/bmp085.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ description: |
https://www.bosch-sensortec.com/bst/products/all_products/bmp280
https://www.bosch-sensortec.com/bst/products/all_products/bme280
https://www.bosch-sensortec.com/bst/products/all_products/bmp380
https://www.bosch-sensortec.com/bst/products/all_products/bmp580

properties:
compatible:
Expand All @@ -26,6 +27,7 @@ properties:
- bosch,bmp280
- bosch,bme280
- bosch,bmp380
- bosch,bmp580

reg:
maxItems: 1
Expand Down
6 changes: 3 additions & 3 deletions drivers/iio/pressure/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ config ABP060MG
will be called abp060mg.

config BMP280
tristate "Bosch Sensortec BMP180/BMP280/BMP380 pressure sensor I2C driver"
tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
depends on (I2C || SPI_MASTER)
select REGMAP
select BMP280_I2C if (I2C)
select BMP280_SPI if (SPI_MASTER)
help
Say yes here to build support for Bosch Sensortec BMP180, BMP280 and
BMP380 pressure and temperature sensors. Also supports the BME280 with
Say yes here to build support for Bosch Sensortec BMP180, BMP280, BMP380
and BMP580 pressure and temperature sensors. Also supports the BME280 with
an additional humidity sensor channel.

To compile this driver as a module, choose M here: the core module
Expand Down
Loading