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

From: Thierry Escande
Date: Fri Jan 19 2018 - 06:01:06 EST


Hi,

This patchset registers the cros_ec_accel_legacy driver if the usual way
of registering the croc_ec sensors hub fails.

Changes in v6:
- Only register accelerometer for the main EC

Changes in v5:
- Remove the driver which is already merged
- Rebased on top of patchset [1]

Changes in v4:
- Use correct bitmask for scale channel specification
- Use precomputed scale factor value

Changes in v3:
- Use kernel-doc notation for function headers
- Add more comment to sensor ID sysfs attribute documentation
- Restore accidentally deleted comment for IIO_CHAN_INFO_CALIBBIAS handling in
iio_info write_raw() callback

Changes in v2:
- Reorganize code to avoid forward declarations
- Simplify capture buffer declaration (also helps to remove forward
declarations)
- Make use of iio_push_to_buffers_with_timestamp() and let the
framework handle timestamp copy into capture buffer
- Added missing sysfs attribute documentation
- Few cosmetic changes here and there


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

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

drivers/mfd/cros_ec_dev.c | 53 +++++++++++++++++++++++++++++++++++
drivers/platform/chrome/cros_ec_lpc.c | 41 ++++++++++++++++++++++++++-
2 files changed, 93 insertions(+), 1 deletion(-)

--
2.7.4