aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/Kconfig
diff options
context:
space:
mode:
authorAkinobu Mita2016-04-24 22:52:10 +0900
committerJonathan Cameron2016-04-25 19:03:14 +0100
commit6dba72eca7fb879bf2e0c8fdc784fb974cb4f9d5 (patch)
treef80000595f8ca8e709e6c58c1f4f8dc2d362611f /drivers/iio/pressure/Kconfig
parent06ad7ea10e2bcf70a602e504ea32ee6ef6d77aa9 (diff)
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>
Diffstat (limited to 'drivers/iio/pressure/Kconfig')
-rw-r--r--drivers/iio/pressure/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index 54c616520512..cda9f128f3a4 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -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.