You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
iio: pressure: bmp280: add support for BMP180
This adds support for the BMP180 to the bmp280 iio driver. The BMP180 has already been supported by misc/bmp085 driver but it doesn't use iio framework. This change adds the kconfig dependency not to be selected both of them in order to avoid any issues. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Vlad Dogaru <vlad.dogaru@intel.com> Cc: Christoph Mair <christoph.mair@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
committed by
Jonathan Cameron
parent
06ad7ea10e
commit
6dba72eca7
@@ -6,12 +6,13 @@
|
||||
menu "Pressure sensors"
|
||||
|
||||
config BMP280
|
||||
tristate "Bosch Sensortec BMP280 pressure sensor driver"
|
||||
tristate "Bosch Sensortec BMP180 and BMP280 pressure sensor driver"
|
||||
depends on I2C
|
||||
depends on !(BMP085_I2C=y || BMP085_I2C=m)
|
||||
select REGMAP_I2C
|
||||
help
|
||||
Say yes here to build support for Bosch Sensortec BMP280
|
||||
pressure and temperature sensor.
|
||||
Say yes here to build support for Bosch Sensortec BMP180 and BMP280
|
||||
pressure and temperature sensors.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called bmp280.
|
||||
|
||||
Reference in New Issue
Block a user