From patchwork Wed Jun 18 11:39:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harini Katakam X-Patchwork-Id: 4375621 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2690CBEECB for ; Wed, 18 Jun 2014 11:43:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 562BC2020F for ; Wed, 18 Jun 2014 11:43:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 95EDC20353 for ; Wed, 18 Jun 2014 11:43:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WxEEI-0007zo-NR; Wed, 18 Jun 2014 11:40:38 +0000 Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WxEEF-0007wP-9p for linux-arm-kernel@lists.infradead.org; Wed, 18 Jun 2014 11:40:36 +0000 Received: by mail-qa0-f51.google.com with SMTP id j7so557258qaq.38 for ; Wed, 18 Jun 2014 04:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=9gxK3ngSA8rK4ESdIWkOQw46m0Mtg72yQXq3pWPoHP4=; b=BqlDW0eYHqNVYukDEzLZhcsQdwRpbVWd84T/lbh5IHD7cFnplNq5QFDSDTnZq0yCrm WcWsgF2kRw56j9yZkCXh4IjcxjmkzQDcxWIRcxouY6yhBsYlJATg7zq2/SrQgMSrp8vv 9Q4F9H1ifNzGMnQe3PPtj+6DsejLMbwT2QyUu0k1rm99nok55Ix4t1g7MggGYtZQjztI /a5vIySPifOwcyXd1Y0JQ4spdxGbv+B8LoxD2UXcvvNqL8FtEXsiv6CgjRO3FQa4BIOE m7lkB1xvhcDFZEpd/JJdRA2x8V6Wr3yde9gygs0hhDckG1Nv12LGba4DrXyZeUmn+0oz FOig== X-Received: by 10.140.81.146 with SMTP id f18mr1937778qgd.47.1403091614196; Wed, 18 Jun 2014 04:40:14 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id a43sm1076097qge.8.2014.06.18.04.40.12 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 18 Jun 2014 04:40:13 -0700 (PDT) From: Harini Katakam To: linus.walleij@linaro.org, gnurou@gmail.com, grant.likely@linaro.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, rob@landley.net Subject: [PATCH v2 2/2] devicetree: Add Zynq GPIO devicetree bindings documentation Date: Wed, 18 Jun 2014 17:09:37 +0530 Message-Id: <1403091577-10232-2-git-send-email-harinik@xilinx.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403091577-10232-1-git-send-email-harinik@xilinx.com> References: <1403091577-10232-1-git-send-email-harinik@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140618_044035_437268_DCE1DDFF X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: devicetree@vger.kernel.org, Harini Katakam , linux-doc@vger.kernel.org, michal.simek@xilinx.com, harinikatakamlinux@gmail.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, soren.brinkmann@xilinx.com, Harini Katakam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Harini Katakam Add gpio-zynq bindings documentation. Signed-off-by: Harini Katakam Signed-off-by: Soren Brinkmann --- v2 changes: Improve description. --- .../devicetree/bindings/gpio/gpio-zynq.txt | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-zynq.txt diff --git a/Documentation/devicetree/bindings/gpio/gpio-zynq.txt b/Documentation/devicetree/bindings/gpio/gpio-zynq.txt new file mode 100644 index 0000000..b2c023a --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-zynq.txt @@ -0,0 +1,24 @@ +Xilinx Zynq GPIO controller Device Tree Bindings +------------------------------------------- + +Required properties: +- #gpio-cells : Should be two. First cell is used to mention + pin number. +- compatible : Should be "xlnx,zynq-gpio-1.0" +- clocks : Clock specifier (see clock bindings for details) +- gpio-controller : Marks the device node as a GPIO controller. +- interrupts : Interrupt specifier (see interrupt bindings for + details) +- interrupt-parent : Must be core interrupt controller +- reg : Address and length of the register set for the device + +Example: + gpio@e000a000 { + #gpio-cells = <2>; + compatible = "xlnx,zynq-gpio-1.0"; + clocks = <&clkc 42>; + gpio-controller; + interrupt-parent = <&intc>; + interrupts = <0 20 4>; + reg = <0xe000a000 0x1000>; + };