diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-01-24 14:41:41 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-28 16:07:46 +0100 |
commit | d732248fdb5c5434f2ab0c258ce25a7e2ff2521a (patch) | |
tree | c8fd12aca0726be5392cd443809e80926ebaee58 /drivers/iio/pressure/Kconfig | |
parent | iio: stx104: Utilize devm_ functions in driver probe callback (diff) | |
download | linux-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.tar.xz linux-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.zip |
iio: cros_ec: Add cros_ec barometer driver
Handle the barometer sensor presented by the ChromeOS EC Sensor hub.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enric Balletbo Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/Kconfig')
-rw-r--r-- | drivers/iio/pressure/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig index bd8d96b96771..5d16b252ab6b 100644 --- a/drivers/iio/pressure/Kconfig +++ b/drivers/iio/pressure/Kconfig @@ -42,6 +42,16 @@ config BMP280_SPI depends on SPI_MASTER select REGMAP +config IIO_CROS_EC_BARO + tristate "ChromeOS EC Barometer Sensor" + depends on IIO_CROS_EC_SENSORS_CORE + help + Say yes here to build support for the Barometer sensor when + presented by the ChromeOS EC Sensor hub. + + To compile this driver as a module, choose M here: the module + will be called cros_ec_baro. + config HID_SENSOR_PRESS depends on HID_SENSOR_HUB select IIO_BUFFER |