Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10422195ybi; Wed, 24 Jul 2019 22:56:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqx94DaJMiyZ0b3YV7mvEBBLObqe8Zg6OLUpY66am4hCo6nrN+dxk05go+SH2xBXlJ07lVyb X-Received: by 2002:a17:902:2a68:: with SMTP id i95mr90959245plb.167.1564034218607; Wed, 24 Jul 2019 22:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564034218; cv=none; d=google.com; s=arc-20160816; b=aQwCBNsQ1Efk9wZoESpSubwenf0MF4Aoeq48Yb19/fNRu7IWkPSz9EZkxYtSK8hjNs qSyL/OAsSebgti2OLZfyhGDp13A4cGm1SE5pjKZGNgMffHYEvHzIJwcKC/0YSTfZXNQG C3O30XxxDtPTBnfM7wXDS+LdavHRWjbqsujgeSMj+d7ooK6vRcFHvP9zV2Hmm2bnLiL8 nm7v9w1dtUXQeMCWFnD1eK4Th/naLKiPaKQnmJJ2Z9oE/q+H6pXCgvGab/Hz70dlPLU5 JQ4wTTMvGqmLlGJxBO47MDG3s/rlgDW1M9mfxfTbIUlBCSzQ3skqe4HxyvnH/57NjyDT efFg== 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=7AklCUlIBNj/nFo5zVOGjaUE2PVMHYW5984Y5P52NAU=; b=nl5EhBz2XH3vZrwZAKwxIZbfOFlICuk7zFnMQu5+hre8fbSHQK/kEecYdNIFhLyzaQ Se+NYZvrrwn7BN8SEFc0V1ZpYQuabYWN/xM5BQcrv/al5INKXbHUAOHGctOn/SiEw3lE Thomzht/aGQ7+498mIVk52fDWbeJqhePdR+2WnZ4FZyXdT4+cNbhiaj18Tqwz8i1jE/q CJ8ypZkX0br9IOH2YwlZ51c3K6ZEs+7fcFrpSYkoxlDvYHpb/WIlcDu96MYMwLd7Mj5j 1DzA1T9MYu3erRDEDMGFsadm3x9q2qnnJwzvt+iGX/8oSLYARR9kfm52eAUoGWUsFM24 6hXA== 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 j190si19055736pge.92.2019.07.24.22.56.43; Wed, 24 Jul 2019 22:56:58 -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 S2403798AbfGYFcQ (ORCPT + 99 others); Thu, 25 Jul 2019 01:32:16 -0400 Received: from comms.puri.sm ([159.203.221.185]:59486 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403750AbfGYFcN (ORCPT ); Thu, 25 Jul 2019 01:32:13 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id DA12CE048D; Wed, 24 Jul 2019 22:32:12 -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 BHbscUMLiBDJ; Wed, 24 Jul 2019 22:32:12 -0700 (PDT) From: Martin Kepplinger To: lorenzo.bianconi83@gmail.com, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kepplinger Subject: [PATCH v3 0/5] iio: imu: st_lsm6dsx: Add support for LSM9DS1 Date: Thu, 25 Jul 2019 07:31:27 +0200 Message-Id: <20190725053132.9589-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 Resend 2 of Lorenzo's patches that this builds upon. They have been previously posted to linux-iio only: https://lore.kernel.org/linux-iio/cover.1563226641.git.lorenzo@kernel.org/ Then, add support for the LSM9DS1 accel/gyro unit in 3 simple steps. This is also only a resend and rebase of the v2: https://lore.kernel.org/linux-iio/20190716093325.7683-1-martin.kepplinger@puri.sm/ So I call this v3 and Lorenzo, I hope that it's fine for you that I just take your patches here - also since they mention to be intended for supporting the device. revision history ---------------- 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 (2): iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings iio: imu: st_lsm6dsx: move fs_table in st_lsm6dsx_sensor_settings 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 | 1 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 12 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 490 +++++++++++++++--- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 5 + 6 files changed, 440 insertions(+), 74 deletions(-) -- 2.20.1