Skip to contentSkip to conversation

iio: pressure: Kconfig: Add references to BMP380

PATCH Superseded Angel Iglesias 2 participants 2 messages Jul 10, 2022 – Jul 17, 2022 IIO

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 2/5 iio: pressure: Kconfig: Add references to BMP380

Adds reference to BMP380 in bmp280 driver descriptions and symbols

---
 drivers/iio/pressure/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/pressure/Kconfig +3 -3
index 0ff756cea63a..c9453389e4f7 100644
@@ -17,14 +17,14 @@ config ABP060MG
 	  will be called abp060mg.
 
 config BMP280
-	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
+	tristate "Bosch Sensortec BMP180/BMP280/BMP380 pressure sensor I2C 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 and BMP280
-	  pressure and temperature sensors. Also supports the BME280 with
+	  Say yes here to build support for Bosch Sensortec BMP180, BMP280 and
+	  BMP380 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
Signature · 1 line
2.36.1
maintainer
#1 lore raw
Quoted 3 lines · On Sun, 10 Jul 2022 11:16:17 +0200 Angel Iglesias <[email protected]>…

Adds reference to BMP380 in bmp280 driver descriptions and symbols

This should be combined with the patch that adds support for the new part which looks to be patch 4.

The rule of thumb is that, at any point in a series the state of the tree should make sense. Hence you shouldn't claim support for the BMP380 until it is present. This change is just part of adding that support.

Jonathan

Quoted 26 lines
---
 drivers/iio/pressure/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/pressure/Kconfig +3 -3
index 0ff756cea63a..c9453389e4f7 100644
@@ -17,14 +17,14 @@ config ABP060MG
 	  will be called abp060mg.
 
 config BMP280
-	tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
+	tristate "Bosch Sensortec BMP180/BMP280/BMP380 pressure sensor I2C 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 and BMP280
-	  pressure and temperature sensors. Also supports the BME280 with
+	  Say yes here to build support for Bosch Sensortec BMP180, BMP280 and
+	  BMP380 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