summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2017-01-24 14:41:41 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-28 15:07:46 +0000
commitd732248fdb5c5434f2ab0c258ce25a7e2ff2521a (patch)
treec8fd12aca0726be5392cd443809e80926ebaee58 /include
parentb2d226caecfc2dbf85b2abd2814b42627c5dde0a (diff)
downloadop-kernel-dev-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.zip
op-kernel-dev-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.tar.gz
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 'include')
-rw-r--r--include/linux/mfd/cros_ec_commands.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h
index 1683003..098c350 100644
--- a/include/linux/mfd/cros_ec_commands.h
+++ b/include/linux/mfd/cros_ec_commands.h
@@ -1441,7 +1441,8 @@ enum motionsensor_type {
MOTIONSENSE_TYPE_PROX = 3,
MOTIONSENSE_TYPE_LIGHT = 4,
MOTIONSENSE_TYPE_ACTIVITY = 5,
- MOTIONSENSE_TYPE_MAX
+ MOTIONSENSE_TYPE_BARO = 6,
+ MOTIONSENSE_TYPE_MAX,
};
/* List of motion sensor locations. */
OpenPOWER on IntegriCloud