aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/Kconfig
diff options
context:
space:
mode:
authorVlad Dogaru2014-10-21 11:09:58 +0300
committerJonathan Cameron2014-10-22 20:28:27 +0100
commitd5c94568cc1d11dffee349468ae996e420381453 (patch)
tree0cd2dd3bc2c6b59db3cf576a33f808eb6577dcf9 /drivers/iio/pressure/Kconfig
parentc22e15f352066e8ee4d662f4a721c2fd10590f81 (diff)
iio: add bmp280 pressure and temperature driver
Minimal implementation, can read temperature and data using direct mode. Datasheet available at <http://ae-bst.resource.bosch.com/media/products/dokumente/bmp280/BST-BMP280-DS001-09.pdf> Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/Kconfig')
-rw-r--r--drivers/iio/pressure/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index 15afbc919521..a3be53792072 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -5,6 +5,17 @@
menu "Pressure sensors"
+config BMP280
+ tristate "Bosch Sensortec BMP280 pressure sensor driver"
+ depends on I2C
+ select REGMAP_I2C
+ help
+ Say yes here to build support for Bosch Sensortec BMP280
+ pressure and temperature sensor.
+
+ To compile this driver as a module, choose M here: the module
+ will be called bmp280.
+
config HID_SENSOR_PRESS
depends on HID_SENSOR_HUB
select IIO_BUFFER