Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp956229ybl; Wed, 21 Aug 2019 08:02:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8nwfd2jJbxyASHGJ0dLclDt2LxglBMNfNoUbDAyUXotP+lkCy/82ICfdr5nvmqet2bfaI X-Received: by 2002:a17:902:9689:: with SMTP id n9mr34851411plp.241.1566399723932; Wed, 21 Aug 2019 08:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566399723; cv=none; d=google.com; s=arc-20160816; b=UnsIz4ZbJwzZVkVXCcW75dbB6gZIhNfEy9akgPwECatOJxDscy5HSVuks0kMZriPUc pf/iFR526lzve/ghPNgerS6vNSqtLKdOtPKwtoYqz3ACxevUVvoWvax10ExnXzhvtjbj EmlGyNkP14h45003tm60xMvGTmUxp8dc57JpSSzgt1p37FL5F/Q4x4JbSG8ZMIvM629x Df4SF96QES94XTkPMQWc4eb9Gu/YpHIWaXCika9rwYMYbi9Bg4sbUNTISEKkVhP2miDh lVZY6n44BOvHryzTBbySlzd8yyGEoovI4MehIJJeQUNcrzX+AgwSiSvcaXHjVo7xZF7y Tu5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :subject:cc:to:from; bh=VfwhqoQbrUSZZPGOLpbXzJlaslQbnxWu5mwd1RpBW/Q=; b=yepnlNZl7hE3o8/uJGfK4PL1kWJuVsPUMdbCQjF75+xoyZdThfu6KeJfBsXpWBg6go qWXCrYSo/5v49GfuN/IjsWWYDDr/TmpYldz50ylsYMqf5CvmAoNxqJkWLRhkaU+GI1Kj sC6X6JdD9GVU3YTcnL75pOu21Xg0GGldFn3hJE6OUDVrpd4Be1yDloH8oMOXGqmNNxPz S5gAgLu9kpzHdhCh1pbCwGuJoeGOp99GcSl6tpsbFkAqcdbea6bXyurZ985A0oE0CfAj JE+awFy6bZH8HSNwmXweTgvng76irs/+Bv04dplI0yGFNhMBDWC1oniyzQRAh+YVwAQU 1Rug== 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=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si11631929plr.12.2019.08.21.08.01.44; Wed, 21 Aug 2019 08:02:03 -0700 (PDT) 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=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728781AbfHUNZx (ORCPT + 99 others); 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> Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.20.1