Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752656AbdLANmc (ORCPT ); Fri, 1 Dec 2017 08:42:32 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39942 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752172AbdLANmb (ORCPT ); Fri, 1 Dec 2017 08:42:31 -0500 From: Thierry Escande To: Benson Leung , Lee Jones , Jonathan Cameron Cc: Enric Balletbo i Serra , Gwendal Grignou , 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 Message-Id: <1512135743-16529-1-git-send-email-thierry.escande@collabora.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2044 Lines: 57 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