Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4171707imm; Tue, 11 Sep 2018 08:01:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZoXptA7W3UANB6UzljNj5MIaXP0eQ3TthuR37Cqr6m9kexu1VD7Vh7Yb19NRFJKAxx3knT X-Received: by 2002:a63:ef4f:: with SMTP id c15-v6mr28506493pgk.368.1536678086041; Tue, 11 Sep 2018 08:01:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1536678086; cv=pass; d=google.com; s=arc-20160816; b=q/+tMe7oin3iLniocQEY3xYO69JumuPmsKdgPxMbfKnnB3ZanaBr3ykKlgFlBycQOK VyA9sb/4SLdZF01Lg2q3aSQSksd8Ug3jokK+j6tl4bxd653mLefa0qrHIWIgndVYSn2o a0DDmVqSDpco/7QGhEtR5Ly7zPo51qTgW4LFWRecrzm5/OCfRqdKTKtiDnKRQKvumgG+ GzsVm0+yxIVz39tcm/PmSrDgS/H4pFwAdD+ccnlPcn1L+Y72nfZx/m9iRUMRoV6IBPmy 2mQ+Zl52fuGsoRWjQUElp9jgF/En7ZyVvoHJSl+FXBciYJSU+Uc18R3hGNnkonYiKMgc S+0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9G3x+PNll/uFQgPFi2pIBK2BDE9clu4T1TiRWNUVNNY=; b=BfBr+qdLdivV2e4mq6yn0xkV8y4Vdn/EZzFrzVdJSVoGNMFClRo62feE9KqPji9dEZ APUHCEMnEUyItNxOVxVJ3abRQKjUtsbUHLfk4UEvVdZEHeR5lyUo7r2rGiFJueTxBDpO /XxZuhPRlXZsjE5acB+y8iRgvmFlwDgU7S3+5wk5mowkmn+fxr5EppM0FxDbsZD0Btem 75ltuIgJroItkfdgsveLddlDZDvjDa31YymomlN2qX/sAavYD5CHoEjmbQ3/dtgYPsIe QXTaNa+s6cpcwMPQbGi165eMOeKZ2+SXEus+3NYi9QxBV9+JCfBS2RVJQIKO5sNTx/DE /WAA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@az8.co header.s=dkimmail header.b=LKd3wImH; arc=pass (i=1 spf=pass spfdomain=az8.co dkim=pass dkdomain=az8.co dmarc=pass fromdomain=az8.co>); 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=pass (p=NONE sp=NONE dis=NONE) header.from=az8.co Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4-v6si21246609pgo.626.2018.09.11.08.01.09; Tue, 11 Sep 2018 08:01:25 -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; dkim=pass header.i=@az8.co header.s=dkimmail header.b=LKd3wImH; arc=pass (i=1 spf=pass spfdomain=az8.co dkim=pass dkdomain=az8.co dmarc=pass fromdomain=az8.co>); 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=pass (p=NONE sp=NONE dis=NONE) header.from=az8.co Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728050AbeIKUAf (ORCPT + 99 others); Tue, 11 Sep 2018 16:00:35 -0400 Received: from sender-of-o52.zoho.com ([135.84.80.217]:21401 "EHLO sender-of-o52.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbeIKUAd (ORCPT ); Tue, 11 Sep 2018 16:00:33 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1536678027; cv=none; d=zoho.com; s=zohoarc; b=JIcrrf/2FIewE6C8GK6a5tzX2coryMBmafT7yhNiyIuqss9VwNzpCgjWIdZ5lH2H8Z92h3+XufnghJf/Dn5y7zJh+G+2dSBvIG+hGOOO0pjywaXHc3gYL/l6GqHfB1nzNtMsmZvDWbOTlDmd/RuKPOYfxSLQi6+dJdAW29uhBcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1536678027; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=9G3x+PNll/uFQgPFi2pIBK2BDE9clu4T1TiRWNUVNNY=; b=kMN1bOsYfrNW9mtOE5W9ZbbjgDNEM6CReVvEcV+wRytsK12Dakekm+c8KA2nedjHMZQnAhdTrrMheFDkx5j/qsjKzx9LLQBwe420d0u7aGRMDlcbRPa3G9Gr7Zyp6ReFWPlAegncaO3bD8F0/2MQarNMyUOsSnC4+7wPPouW/DI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=az8.co; spf=pass smtp.mailfrom=afonsobordado@az8.co; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1536678027; s=dkimmail; d=az8.co; i=afonsobordado@az8.co; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=1649; bh=9G3x+PNll/uFQgPFi2pIBK2BDE9clu4T1TiRWNUVNNY=; b=LKd3wImH1izuDGzdTOGUG/6+Jnzxy0rYlhUHOGixmo/tHnMtyRmmUjzXRjDSEctZ teE2Rq9GVHTCnWLQK92vtXKOJC0WV2N05iC89BAQr9qkkpHEKGsQSD/ujyQ36zZpL41 aCIjU1Y4WrkKTy/Izexw79mXacprxN5Q+0eqotMY= Received: from localhost (bl9-77-228.dsl.telepac.pt [85.242.77.228]) by mx.zohomail.com with SMTPS id 1536678027167132.88179067181272; Tue, 11 Sep 2018 08:00:27 -0700 (PDT) From: Afonso Bordado To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 3/5] dt-bindings: fxas21002c: Document the fxas21002c I2C bindings Date: Tue, 11 Sep 2018 16:00:09 +0100 Message-Id: <20180911150011.31964-3-afonsobordado@az8.co> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180911150011.31964-1-afonsobordado@az8.co> References: <20180911150011.31964-1-afonsobordado@az8.co> X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for the fxas21002c I2C bindings. Signed-off-by: Afonso Bordado --- .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt diff --git a/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt b/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt new file mode 100644 index 000000000000..9e5cdf0c0b69 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt @@ -0,0 +1,33 @@ +* Freescale FXAS21002C Digital Angular Rate Gyroscope + +Required properties: + + - compatible: must be "fsl,fxas21002c" + - reg : the I2C address of the sensor + +Optional properties: + + - interrupts : The first interrupt listed must be the one + connected to the INT1 pin, the second interrupt + listed must be the one connected to the INT2 pin. + The interrupts can be triggered on rising or falling + edges alike. + see interrupt-controller/interrupts.txt + - vdd-supply : The main voltage regulator + - iovdd-supply : The IO voltage regulator + see regulator/regulator.txt + - reset-gpios : GPIO used to reset the device. + see gpio/gpio.txt. + - mount-matrix : see iio/mount-matrix.txt + +Example: +gyroscope@20 { + compatible = "fsl,fxas21002c"; + reg = <0x20>; + reset-gpios = <&gpio0 2 0>; + vdd-supply = <&vref>; + iovdd-supply = <&vref2>; + interrupt-parent = <&foo>; + interrupts = <0 IRQ_TYPE_EDGE_RISING>, + <1 (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING)>; +}; -- 2.18.0