Received: by 10.223.176.46 with SMTP id f43csp851380wra; Fri, 19 Jan 2018 03:03:19 -0800 (PST) X-Google-Smtp-Source: ACJfBovgLdqvVUtiiXAZTVBkKOSJmgDPvUbJ6g7bGHqZk97vI3dLv9bRr46UsXWAJdThdx4t9tD7 X-Received: by 10.98.14.3 with SMTP id w3mr20350689pfi.154.1516359799340; Fri, 19 Jan 2018 03:03:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516359799; cv=none; d=google.com; s=arc-20160816; b=XktUsZMeGlHuHyzTw+UKa57C90zps7cXtg3JflvkIFp08U3y9IVsz3W+PDtdF1qvCI fSMrPmVcjA6kW/Ggi8YQPjGzZi6ypJyd95mOfnYCl0pOLdPCMsdYnMF1xHsmc8LTBe6L aowHA3dXqVCoCe+N54cNop4nMgk0nFDTVuG5CtrE8tzEgYftaK8yF+KWMIBS+WRRP3Gr usnOjF8rthkIgxFYWV++eYuDFWBHHeqjCG4uClXN8knYw9Os16HoRLPO+asr/EsTHjBi kr+1q3c4E5Emo7FGmYg0873QXkgH6vDlq4ZaVAZRwVpGy+4CzjhjfRwM0dfRqUNZbHkw voLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfert-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=S24p4tOgEM3xWtyoeHESvSHxduiEKX2NGHU0RynGmBE=; b=tkFQwTdINHJp3Rcdf8nmciyfRFjQp9ge/D4C6A0o+5ejnThgS2RIqDtBsV1lHA1z0e vqmoMK/OP/hXC63QnY1LRn2g64UpZxH7YS/wq+qL8lvYh1C3+PPp3BgEaKJr+m3m8Bl1 /vOxY4dyjNSuu09fiysnjYPVK8cQwv2oYyEeWrwZUXV1pm4G1GZzNS78ub+44le/hNQo KAsextV9Vk66FgvGtaaCZHfV9MN9c7UHz/MhE2bQh9YkkGqVYQpIquLWvRPm40zd1tOo TM9TMovvNnzzBgBCV3B+oB4VfwjHmvjyM09omkQaC5RvG6s33WWvFV74jZT/BSoLHHl2 EtxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si732516plq.400.2018.01.19.03.03.05; Fri, 19 Jan 2018 03:03:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755172AbeASLBB (ORCPT + 99 others); Fri, 19 Jan 2018 06:01:01 -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 Received: from localhost.localdomain (unknown [IPv6:2a01:e35:8a7e:4790:6c57:6322:4d6a:e396]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tescande) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id E762127316C; Fri, 19 Jan 2018 11:00:54 +0000 (GMT) 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 Precedence: bulk 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