Commit 6dba72ec authored by Akinobu Mita's avatar Akinobu Mita Committed by Jonathan Cameron

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: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Acked-by: default avatarVlad Dogaru <vlad.dogaru@intel.com>
Cc: Christoph Mair <christoph.mair@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 06ad7ea1
...@@ -6,12 +6,13 @@ ...@@ -6,12 +6,13 @@
menu "Pressure sensors" menu "Pressure sensors"
config BMP280 config BMP280
tristate "Bosch Sensortec BMP280 pressure sensor driver" tristate "Bosch Sensortec BMP180 and BMP280 pressure sensor driver"
depends on I2C depends on I2C
depends on !(BMP085_I2C=y || BMP085_I2C=m)
select REGMAP_I2C select REGMAP_I2C
help help
Say yes here to build support for Bosch Sensortec BMP280 Say yes here to build support for Bosch Sensortec BMP180 and BMP280
pressure and temperature sensor. pressure and temperature sensors.
To compile this driver as a module, choose M here: the module To compile this driver as a module, choose M here: the module
will be called bmp280. will be called bmp280.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment