* [PATCH v3 2/5] iio: pressure: Kconfig: Add references to BMP380
@ 2022-07-10 9:16 Angel Iglesias
2022-07-17 14:53 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Angel Iglesias @ 2022-07-10 9:16 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Angel Iglesias, Jonathan Cameron, Lars-Peter Clausen,
Nikita Yushchenko, linux-iio, linux-kernel
Adds reference to BMP380 in bmp280 driver descriptions and symbols
Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com>
---
drivers/iio/pressure/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index 0ff756cea63a..c9453389e4f7 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -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
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3 2/5] iio: pressure: Kconfig: Add references to BMP380
2022-07-10 9:16 [PATCH v3 2/5] iio: pressure: Kconfig: Add references to BMP380 Angel Iglesias
@ 2022-07-17 14:53 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2022-07-17 14:53 UTC (permalink / raw)
To: Angel Iglesias
Cc: Andy Shevchenko, Lars-Peter Clausen, Nikita Yushchenko, linux-iio,
linux-kernel
On Sun, 10 Jul 2022 11:16:17 +0200
Angel Iglesias <ang.iglesiasg@gmail.com> wrote:
> Adds reference to BMP380 in bmp280 driver descriptions and symbols
>
> Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com>
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
> ---
> drivers/iio/pressure/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
> index 0ff756cea63a..c9453389e4f7 100644
> --- a/drivers/iio/pressure/Kconfig
> +++ b/drivers/iio/pressure/Kconfig
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-17 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-10 9:16 [PATCH v3 2/5] iio: pressure: Kconfig: Add references to BMP380 Angel Iglesias
2022-07-17 14:53 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox