From patchwork Thu Feb 21 13:15:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Popa X-Patchwork-Id: 10824097 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 D952C1399 for ; Thu, 21 Feb 2019 13:16:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4D5C2E512 for ; Thu, 21 Feb 2019 13:16:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B59252E53F; Thu, 21 Feb 2019 13:16:44 +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,DKIM_SIGNED, DKIM_VALID,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 457A52E512 for ; Thu, 21 Feb 2019 13:16:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbfBUNQn (ORCPT ); Thu, 21 Feb 2019 08:16:43 -0500 Received: from mail-eopbgr810051.outbound.protection.outlook.com ([40.107.81.51]:33178 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725823AbfBUNQn (ORCPT ); Thu, 21 Feb 2019 08:16:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zHZaXtQ0enWbhkR303243cStdxXwLWp/km0Q1fx1trs=; b=GEPup4WXEg13skink8sKrezBmgfKiPLqFhLX0R68QwkI9YX10TimnGIYS4JH54+Od6Jd6xGEqVfPmWm7XroM284B9aunAUq2E6VyuiL5CS010jiEPguj3tRtcRZAhWG1B//sugyz6ytyleWFPPXiU+WkxuE6LjXjx24l3plY3e4= Received: from DM5PR03CA0045.namprd03.prod.outlook.com (2603:10b6:4:3b::34) by BN7PR03MB3745.namprd03.prod.outlook.com (2603:10b6:408:23::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Thu, 21 Feb 2019 13:16:38 +0000 Received: from CY1NAM02FT059.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by DM5PR03CA0045.outlook.office365.com (2603:10b6:4:3b::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.14 via Frontend Transport; Thu, 21 Feb 2019 13:16:38 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; gmx.de; dkim=none (message not signed) header.d=none;gmx.de; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.55 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.55; helo=nwd2mta1.analog.com; Received: from nwd2mta1.analog.com (137.71.25.55) by CY1NAM02FT059.mail.protection.outlook.com (10.152.74.211) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1643.11 via Frontend Transport; Thu, 21 Feb 2019 13:16:34 +0000 Received: from NWD2HUBCAS7.ad.analog.com (nwd2hubcas7.ad.analog.com [10.64.69.107]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id x1LDGWkO003269 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Thu, 21 Feb 2019 05:16:32 -0800 Received: from linux.ad.analog.com (10.50.1.179) by NWD2HUBCAS7.ad.analog.com (10.64.69.107) with Microsoft SMTP Server id 14.3.408.0; Thu, 21 Feb 2019 08:16:32 -0500 From: Stefan Popa To: , CC: Stefan Popa , , , , , , , , Subject: [PATCH v2 0/5] iio: imu: adis16480: Add support for ADIS1649x family of devices Date: Thu, 21 Feb 2019 15:15:01 +0200 Message-ID: <1550754906-24640-1-git-send-email-stefan.popa@analog.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(396003)(136003)(376002)(39860400002)(346002)(2980300002)(3190300001)(189003)(199004)(110136005)(54906003)(36756003)(6666004)(356004)(47776003)(7696005)(316002)(246002)(8936002)(16586007)(305945005)(7636002)(51416003)(50226002)(106002)(2906002)(8676002)(106466001)(426003)(478600001)(336012)(50466002)(486006)(186003)(72206003)(26005)(126002)(77096007)(116002)(48376002)(4326008)(2616005)(476003)(44832011)(5660300002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN7PR03MB3745;H:nwd2mta1.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail10.analog.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6e251c15-741a-42a3-20b3-08d697fecf77 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4608103)(4709054)(2017052603328)(7153060);SRVR:BN7PR03MB3745; X-MS-TrafficTypeDiagnostic: BN7PR03MB3745: X-Microsoft-Exchange-Diagnostics: 1;BN7PR03MB3745;20:lj5bpGv0RUhsFfbQ8TltPTDfaWLr1gIRw+CFVASA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change-CrossTenant-OriginalArrivalTime: 21 Feb 2019 13:16:34.3711 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6e251c15-741a-42a3-20b3-08d697fecf77 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.55];Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR03MB3745 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 This series has as main goal to add support for ADIS1649x family of devices as part of the already existing adis16480, but on the way it also deals with some outstanding items: * Make drdy pin configurable * Add OF device ID table * Deal with the temperature max scale in a generic way * Add missing docs Changes in v2: Patch 1: - use DIO1 pin as default data ready signal instead of DIO2. Patch 2: - nothing changed. Patch 3, 4: - give the scale directly in the adis16480_chip_info struct. Patch 5: - document the use of DIO1 pin as default data ready signal. Stefan Popa (5): iio: imu: adis16480: Add support for configurable drdy indicator iio: imu: adis16480: Add OF device ID table iio: imu: adis16480: Treat temperature scale in a generic way iio: imu: adis16480: Add support for ADIS1649x family of devices iio: imu: adis16480: Add docs for ADIS16480 IMU .../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 +++++ MAINTAINERS | 1 + drivers/iio/imu/adis16480.c | 197 ++++++++++++++++++++- 3 files changed, 242 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt