From patchwork Thu Mar 27 15:25:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harini Katakam X-Patchwork-Id: 3898271 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 85088BF540 for ; Thu, 27 Mar 2014 15:27:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B02C42024D for ; Thu, 27 Mar 2014 15:27:04 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 AF5F320237 for ; Thu, 27 Mar 2014 15:27:03 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTCC5-0001wH-0K; Thu, 27 Mar 2014 15:26:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTCBs-0000bx-QQ; Thu, 27 Mar 2014 15:26:00 +0000 Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTCBc-0000Zq-6q for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 15:25:45 +0000 Received: by mail-ie0-f170.google.com with SMTP id rd18so3603558iec.29 for ; Thu, 27 Mar 2014 08:25:22 -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=3o9Op0mVkVAtB837Q8EP8idT+mG3YDgmU/st/WCiTiU=; b=KcHut0mujAEi3XjFHzereU7N7RN3w38R3+QZuJ4+f1hi9YAzyozxwj568hwHp3J5JI dg8nThOFN9xhUz3MrqcaJNhWCN7+HYRazCWcbzmutc0w6klYNeyxWVmnjx3sw8KsbeYR 53Qucw9U+G8d/7Y32QYxFNY4Lq/oTfPZMz8HCc858JLhHDTI4mNvF871OVuWaYAsZiqv FZd71aWYcmgczhRwunS6Ec6zse4cMhG3EyE2rSFlrqG826rsdegdnl8hAfZEFgajG18k ZbfGecfZaK/FpDVQ7SPaqRbOjquxhJCEw2FFBQfsRG78lbjZOZ+B9YRwA+QkNRleRQuJ TcsA== X-Received: by 10.43.135.202 with SMTP id ih10mr2668651icc.22.1395933922099; Thu, 27 Mar 2014 08:25:22 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id on9sm5518764igb.11.2014.03.27.08.25.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 27 Mar 2014 08:25:21 -0700 (PDT) From: Harini Katakam To: linus.walleij@linaro.org, gnurou@gmail.com, michal.simek@xilinx.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 2/2] Devicetree: Add Zynq GPIO devicetree bindings documentation Date: Thu, 27 Mar 2014 20:55:06 +0530 Message-Id: <1395933906-2268-2-git-send-email-harinik@xilinx.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1395933906-2268-1-git-send-email-harinik@xilinx.com> References: <1395933906-2268-1-git-send-email-harinik@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140327_112544_374328_DCEF576D X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: devicetree@vger.kernel.org, Harini Katakam , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, michals@xilinx.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 Add gpio-zynq bindings documentation. Signed-off-by: Harini Katakam --- .../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..1b6e83f --- /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 phandles (see clock bindings for details) +- gpio-controller : Marks the device node as a GPIO controller. +- interrupts : Property with a value describing the interrupt + number. +- 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>; + } ;