iio: cros_ec_accel_legacy: Add support for veyron-minnie
authorGwendal Grignou <gwendal@chromium.org>
Mon, 15 Jul 2019 23:14:54 +0000 (16:14 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 22:08:30 +0000 (23:08 +0100)
commit9566cb1ddb81c4f232d08cb2c7aff5b947959381
tree6c4754257a7d1911fca2b2ca0c065baae60ffd42
parentd96e267762fc723079b8089172077e94a4cf8dd2
iio: cros_ec_accel_legacy: Add support for veyron-minnie

Veyron minnie embedded controller presents 2 accelerometers using an
older interface. Add function to query the data in cros_ec_accel.

Verify accelerometers on veyron-minnie are presented and working.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/cros_ec_accel_legacy.c