diff options
author | Vlad Dogaru <vlad.dogaru@intel.com> | 2014-10-21 10:09:58 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-22 21:28:27 +0200 |
commit | d5c94568cc1d11dffee349468ae996e420381453 (patch) | |
tree | 0cd2dd3bc2c6b59db3cf576a33f808eb6577dcf9 /drivers/iio/pressure/Kconfig | |
parent | iio: add ABI documentation for scaled pressure (diff) | |
download | linux-d5c94568cc1d11dffee349468ae996e420381453.tar.xz linux-d5c94568cc1d11dffee349468ae996e420381453.zip |
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/Kconfig | 11 |
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 |