From: Thierry Escande <thierry.escande@collabora.com>
To: Benson Leung <bleung@chromium.org>,
Lee Jones <lee.jones@linaro.org>,
Jonathan Cameron <jic23@kernel.org>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Gwendal Grignou <gwendal@chromium.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH v5 0/3] platform/chrome: Support for cros_ec_accel_legacy driver
Date: Fri, 1 Dec 2017 14:42:20 +0100 [thread overview]
Message-ID: <1512135743-16529-1-git-send-email-thierry.escande@collabora.com> (raw)
Hi,
This series enables the legacy accelerometer driver used on Chromebook
devices with older EC firmware.
The cros_ec_accel_legacy driver itself is no more part of this patchset
as it has already been merged in mainline. This patchset still contains
the patch that registers the cros_ec_accel_legacy driver if the usual
way of registering the croc_ec sensors hub fails. This patch has been
rebased on top of [1].
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).
[1] https://lkml.org/lkml/2017/11/20/408
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
next reply other threads:[~2017-12-01 13:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-01 13:42 Thierry Escande [this message]
2017-12-01 13:42 ` [PATCH v5 1/3] platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing Thierry Escande
2017-12-01 19:49 ` Gwendal Grignou
2017-12-16 6:12 ` Benson Leung
2017-12-16 6:03 ` Benson Leung
2017-12-16 6:04 ` Benson Leung
2017-12-01 13:42 ` [PATCH v5 2/3] platform/chrome: cros_ec_lpc: Add support for Google Glimmer Thierry Escande
2017-12-01 19:54 ` Gwendal Grignou
2017-12-05 21:55 ` Thierry Escande
2017-12-06 18:04 ` Gwendal Grignou
2017-12-16 6:10 ` Benson Leung
2017-12-01 13:42 ` [PATCH v5 3/3] platform/chrome: Register cros_ec_accel_legacy driver Thierry Escande
2017-12-01 20:00 ` Gwendal Grignou
2017-12-07 9:31 ` Lee Jones
2018-01-18 8:05 ` Gwendal Grignou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512135743-16529-1-git-send-email-thierry.escande@collabora.com \
--to=thierry.escande@collabora.com \
--cc=bleung@chromium.org \
--cc=enric.balletbo@collabora.com \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®