From patchwork Thu Aug 30 20:52:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10582789 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 1B6A0920 for ; Thu, 30 Aug 2018 20:53:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96B1F28685 for ; Thu, 30 Aug 2018 20:53:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8831C28696; Thu, 30 Aug 2018 20:53:15 +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 910C628685 for ; Thu, 30 Aug 2018 20:53:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726959AbeHaA5N (ORCPT ); Thu, 30 Aug 2018 20:57:13 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34908 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbeHaA5N (ORCPT ); Thu, 30 Aug 2018 20:57:13 -0400 Received: by mail-wr1-f65.google.com with SMTP id j26-v6so9276512wre.2 for ; Thu, 30 Aug 2018 13:53:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bqP1WGS1+CNegsmIl4yvkS3pCVOX2c0X5InrWIDE8Ag=; b=Vijmw1yXYDwe1onvplJ79pWHs12GIQ5pF/wOoeSCdhaARhYF/eoezvP3NxWC2X/XCS wvv1/dy1ylxkvd4cTVmyPO+/DrvWHDX6UBYCJ7stBQ+rIh0jbx9xYVykfKvBVm8AxPab OXKQLspFLZ9kkw78mNVulCytrfCQN40EzduRcDC6an3/aZ0YZllDBsfkba9u27VHCH3d bbiS6GGr86L5LatV1D/YpTs5zS5FH30xFvCZ5Fvgf/1ONdcf99kpCALrozX5OlVzjFUI zXwVQlQckEVEkJbaENgFfRtxjV4Dpb13woA2WNca5niaTfR1ihiCbzOYGJcxeFTUDB4C 2Uhw== X-Gm-Message-State: APzg51BXoO2LS2vThToIESqtDoCiLCIyHEwo61uYRZYyzz+UYW9qtaZ8 m2+zzs7Ih3Xp3gWZYitg7Zw92Q== X-Google-Smtp-Source: ANB0VdZge7aGwmQ8jA/aSMu14q9quWNI1e/Pny9BTZkQLlauOvn/3Yutie4gbta9c27vzeqcMgMauA== X-Received: by 2002:adf:be81:: with SMTP id i1-v6mr8155027wrh.235.1535662391246; Thu, 30 Aug 2018 13:53:11 -0700 (PDT) Received: from localhost.localdomain ([151.66.53.29]) by smtp.gmail.com with ESMTPSA id k35-v6sm13178125wrc.14.2018.08.30.13.53.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 13:53:10 -0700 (PDT) From: Lorenzo Bianconi To: jic23@kernel.org Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/5] add support to STM LSM6DSO 6-axis Mems sensor Date: Thu, 30 Aug 2018 22:52:54 +0200 Message-Id: <20180830205259.7029-1-lorenzo.bianconi@redhat.com> X-Mailer: git-send-email 2.18.0 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 Lorenzo Bianconi (5): iio: imu: st_lsm6dsx: add read_fifo callback to fifo_ops iio: imu: st_lsm6dsx: make st_lsm6dsx_check_odr() non-static iio: imu: st_lsm6dsx: add addr/max_word_len to st_lsm6dsx_read_block() iio: imu: st_lsm6dsx: add support to LSM6DSO dt-bindings: iio: imu: st_lsm6dsx: add LSM6DSO device bindings .../bindings/iio/imu/st_lsm6dsx.txt | 1 + drivers/iio/imu/st_lsm6dsx/Kconfig | 2 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 18 +- .../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 166 ++++++++++++++++-- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 51 +++++- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c | 5 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c | 5 + 7 files changed, 228 insertions(+), 20 deletions(-)