lkml.org 
[lkml]   [2022]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/5] iio: pressure: Kconfig: Add references to BMP380
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

\
 
 \ /
  Last update: 2022-07-17 16:44    [W:0.039 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site