From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755202AbeASLBC (ORCPT ); Fri, 19 Jan 2018 06:01:02 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:47762 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbeASLA4 (ORCPT ); Fri, 19 Jan 2018 06:00:56 -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 v6 0/3] platform/chrome: Support for cros_ec_accel_legacy driver Date: Fri, 19 Jan 2018 12:00:27 +0100 Message-Id: <20180119110028.18800-1-thierry.escande@collabora.com> X-Mailer: git-send-email 2.14.1 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 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