[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190620185259.142133-1-gwendal@chromium.org>
Date: Thu, 20 Jun 2019 11:52:57 -0700
From: Gwendal Grignou <gwendal@...omium.org>
To: jic23@...nel.org, bleung@...omium.org,
enric.balletbo@...labora.com, groeck@...omium.org
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Gwendal Grignou <gwendal@...omium.org>
Subject: [PATCH 0/2] Support accelerometers for veyron_minnie
veyron_minnie - ASUS Chromebook Flip C100PA - embedded controller
controls two accelerometers, one in the lid, one in the base.
However, the EC firmware does not follow the new interface that
cros_ec_accel driver use.
Extend the legacy driver used on glimmer - Lenovo ThinkPad 11e
Chromebook - to veyron_minnie.
veyron_minnie being ARM based, issue command over the I2C bus to the EC
instead of relying on the shared registers over LPC.
Gwendal Grignou (2):
iio: cros_ec: Add sign vector in core for backward compatibility
iio: cros_ec : Extend legacy support to ARM device
drivers/iio/accel/Kconfig | 4 +-
drivers/iio/accel/cros_ec_accel_legacy.c | 353 ++++--------------
.../cros_ec_sensors/cros_ec_sensors_core.c | 5 +-
.../linux/iio/common/cros_ec_sensors_core.h | 1 +
4 files changed, 84 insertions(+), 279 deletions(-)
--
2.22.0.410.gd8fdbe21b5-goog
Powered by blists - more mailing lists