mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b2d226caec
commit
d732248fdb
5 changed files with 236 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue