diff options
author | Joel Stanley <joel@jms.id.au> | 2019-05-21 04:13:32 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-05-27 11:51:58 +0200 |
commit | ba6ec48e76bcd405c47d90b4497ddbcd4c9a578f (patch) | |
tree | 0d398aaf4e6c9d11c737c6ead3b5287fbe6a28fa /drivers/iio/pressure/Kconfig | |
parent | staging: iio: adis16240: add of_match_table entry (diff) | |
download | linux-ba6ec48e76bcd405c47d90b4497ddbcd4c9a578f.tar.xz linux-ba6ec48e76bcd405c47d90b4497ddbcd4c9a578f.zip |
iio: Add driver for Infineon DPS310
The DPS310 is a temperature and pressure sensor. It can be accessed over
i2c and SPI, but this driver only supports polling over i2c.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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 efeb89f3df71..97976de3f07e 100644 --- a/drivers/iio/pressure/Kconfig +++ b/drivers/iio/pressure/Kconfig @@ -52,6 +52,17 @@ config IIO_CROS_EC_BARO To compile this driver as a module, choose M here: the module will be called cros_ec_baro. +config DPS310 + tristate "Infineon DPS310 pressure and temperature sensor" + depends on I2C + select REGMAP_I2C + help + Support for the Infineon DPS310 digital barometric pressure sensor. + It can be accessed over I2C bus. + + This driver can also be built as a module. If so, the module will be + called dps310. + config HID_SENSOR_PRESS depends on HID_SENSOR_HUB select IIO_BUFFER |