From patchwork Wed Aug 21 13:25:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 11106709 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B027314F7 for ; Wed, 21 Aug 2019 13:25:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F03A2339E for ; Wed, 21 Aug 2019 13:25:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728222AbfHUNZx (ORCPT ); Wed, 21 Aug 2019 09:25:53 -0400 Received: from comms.puri.sm ([159.203.221.185]:44896 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728007AbfHUNZx (ORCPT ); Wed, 21 Aug 2019 09:25:53 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 34A34DF87E; Wed, 21 Aug 2019 06:25:52 -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 z7szkAvxbyyB; Wed, 21 Aug 2019 06:25:51 -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 v5 0/4] iio: imu: st_lsm6dsx: Add support for LSM9DS1 Date: Wed, 21 Aug 2019 15:25:16 +0200 Message-Id: <20190821132520.28225-1-martin.kepplinger@puri.sm> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Add basic functionality for LSM9DS1. This has become a trivial addition by now. revision history ---------------- v5: struct rename and add one patch from Lorenzo in order handle fifo-enable correctly. thanks. 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 Lorenzo Bianconi (1): iio: imu: st_lsm6dsx: introduce update_fifo function pointer 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 | 12 ++ .../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 19 ++- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 124 ++++++++++++++++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 5 + 7 files changed, 154 insertions(+), 14 deletions(-)