From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55DFDC2BA19 for ; Mon, 13 Apr 2020 16:27:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23F4820732 for ; Mon, 13 Apr 2020 16:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586795248; bh=SG3tyY+QA76N57A8euSxUFRadA775l4wTg04eR/Ax98=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=gzcA6Vsg5ahptCGEaUCJonPgR/c2hAtrTtxi0XMMtcBDQIs9inKne+AZV/u562dKv rxw5oVI22DYkiEFDxGc/J7Q2FyZiOue9O26V/6mnyUlDN6D/Hk+4yDaSrH2pT0qHFJ UX5BMhD5hAiuyapcfNMkllvVY5WYwiQT1GmoTFAk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731532AbgDMQ11 (ORCPT ); Mon, 13 Apr 2020 12:27:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:53534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731526AbgDMQ11 (ORCPT ); Mon, 13 Apr 2020 12:27:27 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DF47A20692; Mon, 13 Apr 2020 16:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586795246; bh=SG3tyY+QA76N57A8euSxUFRadA775l4wTg04eR/Ax98=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rJoXKZXpNOkpEMCQc/XanWQU0BCF75DO/feDoj2Me4AhLC2H2hq5j7w4wPGyFKtOO D1RwbHkhHdTw5HBdRQxZVwdZxd0i6h8jJZLnaBg/8CWWt0Myx4tC7jtPZxHgouTaTo tgo4xMoYTLIO0jWBoQikvKpGGGODzRjGr8I22tKM= Date: Mon, 13 Apr 2020 17:27:22 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Alexandru Ardelean , Michael Hennerich Subject: Re: [PATCH v5 0/6] Support ADIS16475 and similar IMUs Message-ID: <20200413172722.1cb5f55e@archlinux> In-Reply-To: <20200413082445.17324-1-nuno.sa@analog.com> References: <20200413082445.17324-1-nuno.sa@analog.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 13 Apr 2020 10:24:39 +0200 Nuno S=C3=A1 wrote: > This series adds support for the adis16475 and similar IMUs. This driver > will be the first user of some changes on the adis library. Hence, the > first three patches are related to the library: > * Add anaged device functions for registering triggers with the library; > * Updates the way `irq_mask` is passed to `request_irq()`; > * It adds an update_bits() like API. >=20 > A new patch was introduced (iio: adis: Add burst_max_len variable) in > order to make burst32 configuration at runtime. Series looks good to me, but I'd like to allow a bit of time for DT review + anyone else who wants to take another look. Thanks, Jonathan >=20 > Nuno S=C3=A1 (6): > iio: imu: adis: Add Managed device functions > iio: imu: adis: Add irq mask variable > iio: adis: Add adis_update_bits() APIs > iio: adis: Support different burst sizes > iio: imu: Add support for adis16475 > dt-bindings: iio: Add adis16475 documentation >=20 > .../bindings/iio/imu/adi,adis16475.yaml | 137 ++ > MAINTAINERS | 8 + > drivers/iio/imu/Kconfig | 13 + > drivers/iio/imu/Makefile | 1 + > drivers/iio/imu/adis.c | 25 + > drivers/iio/imu/adis16400.c | 2 +- > drivers/iio/imu/adis16475.c | 1336 +++++++++++++++++ > drivers/iio/imu/adis_buffer.c | 58 +- > drivers/iio/imu/adis_trigger.c | 72 +- > include/linux/iio/imu/adis.h | 87 +- > 10 files changed, 1728 insertions(+), 11 deletions(-) > create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis164= 75.yaml > create mode 100644 drivers/iio/imu/adis16475.c >=20