Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1960469img; Wed, 27 Feb 2019 08:18:50 -0800 (PST) X-Google-Smtp-Source: AHgI3IY5d/8D1UgdwjM9JVeC+KB+vRW3reNFnqjGmhP39N5T+RI79jDUtHP7rKi2ClxYYS+nEh1z X-Received: by 2002:a65:46cd:: with SMTP id n13mr3634690pgr.221.1551284330784; Wed, 27 Feb 2019 08:18:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551284330; cv=none; d=google.com; s=arc-20160816; b=hUk6P5pkZFqE4vxSRy09p2m52GalRLNBaoEkUtR0J7cRih0iP5ozJDZFEEVpMSD5Gi 0K9eY7BvdUl3Rmo7rbJAewnB8BtieKNZruSPV809cwLB4fjSMrWsh0O4GXOnBkj8nAC0 kdyQWoynjOK/zvD5FDrcButXgaY403d7Lgpf9hu+lMaDV8R9jwS8WSNPNCWK8QnkYDle IuSmRqCnBbYDsGnpI6Tyflr0/n5rGL06Bo9XHgb2/SJm+Z1Sc55+ch2XRXk21MKrJOdc 7FyILMZSYTdbLRJ0nj8t0T8cQmevL9d1enzriKOP9lrWpbZAOgWTZUQpvEb7hMwaig3d qmvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sbNycr1ODAo4AYJ7qnkI3Sh0dwDMeOkrWah9MlkF1ss=; b=hcI37662x5Z0I0c7z9biioAOMYmmTpUTjvix3wBvmHI7fCaDSI0Dz9P9KA5CfB0sCG 5ypSc5urRmudWsNvul8SBwmCEYaO+7zTYGg07h6QCTDn2bSgMJyTjtxMCBTfOlZCqMrn 122XbH2PlBTXgcilHVQwV/XQXQhnLT+g+pWAh/4/VSgdgfmIwq97QJb4WaOBx6JmeXuz yVz9FxyWc8egDqsfp4G+iEIiFsRpMw8F23F11ywuCYFBD3D9rbZ2ZPUNDK+zbno0NqRE FCMSat3lq6eLs0fyAHSCAHdBYDfh1A+DmJF+h9O8trm6bvjCVx2iLRviF9AF/U9OlrNC BPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=m4aqMHRP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si5617356pls.151.2019.02.27.08.18.29; Wed, 27 Feb 2019 08:18:50 -0800 (PST) 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; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=m4aqMHRP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730048AbfB0QRb (ORCPT + 99 others); Wed, 27 Feb 2019 11:17:31 -0500 Received: from mail-eopbgr790048.outbound.protection.outlook.com ([40.107.79.48]:15331 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727400AbfB0QRb (ORCPT ); Wed, 27 Feb 2019 11:17:31 -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=sbNycr1ODAo4AYJ7qnkI3Sh0dwDMeOkrWah9MlkF1ss=; b=m4aqMHRPARqDjDGp83lDGiMwB0qpL4sZmp9LnXC7KqnBUiCRFdLLlrYiL0taR08lmmWpqitBpiiEFvxdOdRr8u+xqUTYt+FiDKQXclemh/bm6vPYst8wt+kgD6za9/h2ppfh1t5wXgrDhd1QkdtZMCp+EEmLerYt08UuvfjMl5o= Received: from DM6PR03CA0049.namprd03.prod.outlook.com (2603:10b6:5:100::26) by DM5PR03MB3068.namprd03.prod.outlook.com (2603:10b6:4:3c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Wed, 27 Feb 2019 16:17:23 +0000 Received: from SN1NAM02FT005.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::205) by DM6PR03CA0049.outlook.office365.com (2603:10b6:5:100::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.18 via Frontend Transport; Wed, 27 Feb 2019 16:17:23 +0000 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 SN1NAM02FT005.mail.protection.outlook.com (10.152.72.117) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1643.11 via Frontend Transport; Wed, 27 Feb 2019 16:17:23 +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 x1RGHMn1022187 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 27 Feb 2019 08:17:22 -0800 Received: from linux.analog.com (10.50.1.179) by NWD2HUBCAS7.ad.analog.com (10.64.69.107) with Microsoft SMTP Server id 14.3.408.0; Wed, 27 Feb 2019 11:17:21 -0500 From: Stefan Popa To: , CC: Stefan Popa , , , , , , , , Subject: [PATCH v3 7/7] iio: imu: adis16480: Add docs for ADIS16480 IMU Date: Wed, 27 Feb 2019 18:14:28 +0200 Message-ID: <1551284068-4882-8-git-send-email-stefan.popa@analog.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551284068-4882-1-git-send-email-stefan.popa@analog.com> References: <1551284068-4882-1-git-send-email-stefan.popa@analog.com> MIME-Version: 1.0 Content-Type: text/plain 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)(376002)(396003)(346002)(39860400002)(136003)(2980300002)(3190300001)(189003)(199004)(53416004)(7696005)(72206003)(51416003)(106466001)(76176011)(54906003)(966005)(6306002)(316002)(478600001)(106002)(2906002)(110136005)(36756003)(16586007)(50466002)(48376002)(186003)(4326008)(8676002)(7636002)(8936002)(246002)(305945005)(6346003)(116002)(446003)(77096007)(476003)(126002)(26005)(11346002)(486006)(44832011)(2616005)(336012)(426003)(5660300002)(50226002)(356004)(47776003)(357404004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR03MB3068;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: 613b1e0b-077f-4253-3767-08d69ccf0e85 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4608103)(4709054)(2017052603328)(7153060);SRVR:DM5PR03MB3068; X-MS-TrafficTypeDiagnostic: DM5PR03MB3068: X-MS-Exchange-PUrlCount: 2 X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB3068;20:bwp1UJZSa5gFDHkOdSX8D73+aQTxfHmItQDIWee+qtN825UN0jGWFSfKk1Vn9YuryxmsIhnYEDLXIA31njvhWdB+KsLDSm82mztbkIyRFDU/n9GtnBDHO1Slm+RLoJv/y54iLMCZrR4EROxVD/7d0Xu7sTRi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ouR1rEtk2Co1UPly02WM1cHpOO+jjUz2zQoClq/PbJP/t6mf0CIr1ms6Qg1ESygtCIYaYqj5PoS4FoTGiqx7d4wyjc7rDUBiZ/SX7Vh9Lv94NPGzbix5ZZPhYIykTcLlg56zsHZIN0kSSumwq1rgzdvwgfSWvOVpjJugMOT5Dmxk0g4tIAcXu6K430= X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2019 16:17:23.0634 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 613b1e0b-077f-4253-3767-08d69ccf0e85 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: DM5PR03MB3068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document support for ADIS16480 Inertial Measurement Unit. Signed-off-by: Stefan Popa Reviewed-by: Rob Herring --- .../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt b/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt new file mode 100644 index 0000000..39ab016 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt @@ -0,0 +1,49 @@ + +Analog Devices ADIS16480 and similar IMUs + +Required properties for the ADIS16480: + +- compatible: Must be one of + * "adi,adis16375" + * "adi,adis16480" + * "adi,adis16485" + * "adi,adis16488" + * "adi,adis16495-1" + * "adi,adis16495-2" + * "adi,adis16495-3" + * "adi,adis16497-1" + * "adi,adis16497-2" + * "adi,adis16497-3" +- reg: SPI chip select number for the device +- spi-max-frequency: Max SPI frequency to use + see: Documentation/devicetree/bindings/spi/spi-bus.txt +- spi-cpha: See Documentation/devicetree/bindings/spi/spi-bus.txt +- spi-cpol: See Documentation/devicetree/bindings/spi/spi-bus.txt +- interrupts: interrupt mapping for IRQ, accepted values are: + * IRQF_TRIGGER_RISING + * IRQF_TRIGGER_FALLING + +Optional properties: + +- interrupt-names: Data ready line selection. Valid values are: + * DIO1 + * DIO2 + * DIO3 + * DIO4 + If this field is left empty, DIO1 is assigned as default data ready + signal. +- reset-gpios: must be the device tree identifier of the RESET pin. As the line + is active low, it should be marked GPIO_ACTIVE_LOW. + +Example: + + imu@0 { + compatible = "adi,adis16495-1"; + reg = <0>; + spi-max-frequency = <3200000>; + spi-cpol; + spi-cpha; + interrupts = <25 IRQF_TRIGGER_FALLING>; + interrupt-parent = <&gpio>; + interrupt-names = "DIO2"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index e4091ac..beecd1e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -942,6 +942,7 @@ F: drivers/dma/dma-axi-dmac.c ANALOG DEVICES INC IIO DRIVERS M: Lars-Peter Clausen M: Michael Hennerich +M: Stefan Popa W: http://wiki.analog.com/ W: http://ez.analog.com/community/linux-device-drivers S: Supported -- 2.7.4