From patchwork Tue Aug 13 07:35:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 11091385 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E5E4746 for ; Tue, 13 Aug 2019 07:36:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AC4D271E6 for ; Tue, 13 Aug 2019 07:36:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F204285D1; Tue, 13 Aug 2019 07:36:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5E7A271E6 for ; Tue, 13 Aug 2019 07:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727692AbfHMHg1 (ORCPT ); Tue, 13 Aug 2019 03:36:27 -0400 Received: from comms.puri.sm ([159.203.221.185]:43632 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727605AbfHMHg1 (ORCPT ); Tue, 13 Aug 2019 03:36:27 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 6096DE02ED; Tue, 13 Aug 2019 00:36:26 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fzMDDzpVYdlG; Tue, 13 Aug 2019 00:36:25 -0700 (PDT) From: Martin Kepplinger To: lorenzo.bianconi83@gmail.com, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v4 0/3] iio: imu: st_lsm6dsx: Add support for LSM9DS1 Date: Tue, 13 Aug 2019 09:35:30 +0200 Message-Id: <20190813073533.8007-1-martin.kepplinger@puri.sm> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add basic functionality for LSM9DS1. This has become a trivial addition by now. revision history ---------------- v4: rebase on top of today's iio testing branch with Lorenzo's recent work v3: rebase and add Lorenzo's patches in order to apply to the iio testing brach v2: further simplifications based on Lorenzo's feedback v1: initial change for adding lsm9ds1 support Martin Kepplinger (3): iio: imu: st_lsm6sdx: move register definitions to sensor_settings struct iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9sd1 dt-bindings: iio: imu: st_lsm6dsx: add lsm9ds1 device bindings .../bindings/iio/imu/st_lsm6dsx.txt | 1 + drivers/iio/imu/st_lsm6dsx/Kconfig | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 8 ++ drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 118 ++++++++++++++++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 5 + 6 files changed, 129 insertions(+), 10 deletions(-)