iio: cros_ec: Add cros_ec barometer driver
authorGwendal Grignou <gwendal@chromium.org>
Tue, 24 Jan 2017 13:41:41 +0000 (14:41 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Jan 2017 15:07:46 +0000 (15:07 +0000)
commitd732248fdb5c5434f2ab0c258ce25a7e2ff2521a
treec8fd12aca0726be5392cd443809e80926ebaee58
parentb2d226caecfc2dbf85b2abd2814b42627c5dde0a
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>
drivers/iio/pressure/Kconfig
drivers/iio/pressure/Makefile
drivers/iio/pressure/cros_ec_baro.c [new file with mode: 0644]
drivers/platform/chrome/cros_ec_dev.c
include/linux/mfd/cros_ec_commands.h