Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734198

[PATCH 0/4] platform/chrome: Support for cros_ec_accel_legacy driver

From Thierry Escande <thierry.escande@collabora.com>
Newsgroups linux.kernel
Subject [PATCH 0/4] platform/chrome: Support for cros_ec_accel_legacy driver
Date 2017-09-18 17:00 +0200
Message-ID <ur5GF-7D9-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

This series enables a driver for a legacy accelerometer driver used on
Chromebook devices with older EC firmware.

In addition to the cros_ec_accel_legacy driver, this series contains a
fix that registers the cros_ec_lpc driver on Chromebook devices that
does not have the GOOG0004 ACPI entry. In such case, the driver register
the device itself. This series also adds support to the cros_ec_lpc
driver for Glimmer based devices (Lenovo Yoga 11e).

The last patch is the code used to register this driver if the usual way
of registering the croc_ec sensors hub fails. In this case, the 2
accelerometers (base and lid) are registered using mfd_add_devices().
As there is work in progress to remove calls to mfd_add_devices() from
cros_ec_dev.c, this code is in a separate patch with the idea to make
that easier.

Regards,
 Thierry

Enric Balletbo i Serra (1):
  platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is
    missing.

Gwendal Grignou (1):
  platform/chrome: Add cros_ec_accel_legacy driver

Thierry Escande (2):
  platform/chrome: cros_ec_lpc: Add support for Google Glimmer
  platform/chrome: Register cros_ec_accel_legacy driver

 drivers/iio/accel/Kconfig                |  11 +
 drivers/iio/accel/Makefile               |   2 +
 drivers/iio/accel/cros_ec_accel_legacy.c | 444 +++++++++++++++++++++++++++++++
 drivers/platform/chrome/cros_ec_dev.c    |  53 ++++
 drivers/platform/chrome/cros_ec_lpc.c    |  41 ++-
 5 files changed, 550 insertions(+), 1 deletion(-)
 create mode 100644 drivers/iio/accel/cros_ec_accel_legacy.c

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] platform/chrome: Support for cros_ec_accel_legacy driver Thierry Escande <thierry.escande@collabora.com> - 2017-09-18 17:00 +0200
  [PATCH 3/4] platform/chrome: Add cros_ec_accel_legacy driver Thierry Escande <thierry.escande@collabora.com> - 2017-09-18 17:00 +0200
    Re: [PATCH 3/4] platform/chrome: Add cros_ec_accel_legacy driver Jonathan Cameron <jic23@kernel.org> - 2017-09-24 17:30 +0200
  [PATCH 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer Thierry Escande <thierry.escande@collabora.com> - 2017-09-18 17:00 +0200
  [PATCH 4/4] platform/chrome: Register cros_ec_accel_legacy driver Thierry Escande <thierry.escande@collabora.com> - 2017-09-18 17:00 +0200
  [PATCH 1/4] platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing. Thierry Escande <thierry.escande@collabora.com> - 2017-09-18 17:00 +0200

csiph-web