From patchwork Thu Aug 14 09:40:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 4723301 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 529ADC0338 for ; Thu, 14 Aug 2014 09:42:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 80910201DC for ; Thu, 14 Aug 2014 09:42:54 +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 AF8C0200E3 for ; Thu, 14 Aug 2014 09:42:53 +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 1XHrWl-0001Rf-7m; Thu, 14 Aug 2014 09:40:59 +0000 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XHrWi-0001Jv-Q4 for linux-arm-kernel@lists.infradead.org; Thu, 14 Aug 2014 09:40:57 +0000 Received: by mail-we0-f180.google.com with SMTP id w61so839242wes.11 for ; Thu, 14 Aug 2014 02:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=7hiIdlCHKBjThiNToKvJ0qN13YLZG6F4AHudCqluCyQ=; b=kiCDRXwaIgrqiZ12rV4ri9nuvUbrsMVWw9S/rehglWuLxWnxfGgYnbHOoIIkewZWqn vdGoSRLhVyL+1DiC3WBJzoEikMUtsqkONt0GTKyvRrnopsB3QoKkEXSanwJBmrSTEJca 4EaE64TqRuCxDkZdb3/eDDUsk/yM/qZYL0rw6KTyWX63W4lTMSdFUxTtBKls0SsKAKPW 3Rn4gEIbs/pUXtjCr+Hdn1wmduJ8sKfLC6aaKzgOBvZmZ2TyBz0PY9C7XOCvaH986coK xWZ+Z/uf/l4MAIJBFCIQOnuDvez5cYiO/Ces3zvcUP5Z+x12fJOxfyP2B4QiFPxtoUbP nuIA== X-Received: by 10.180.106.99 with SMTP id gt3mr16475316wib.1.1408009232032; Thu, 14 Aug 2014 02:40:32 -0700 (PDT) Received: from tamtam.fritz.box ([2001:4dd0:ff00:9394:224:d7ff:fec6:a0ec]) by mx.google.com with ESMTPSA id ge8sm77730257wib.4.2014.08.14.02.40.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Aug 2014 02:40:30 -0700 (PDT) From: Daniel Mack To: linus.walleij@linaro.org Subject: [PATCH] gpio: pxa: Documentation: provide example bindings for PXA3xx Date: Thu, 14 Aug 2014 11:40:24 +0200 Message-Id: <1408009224-15838-1-git-send-email-zonque@gmail.com> X-Mailer: git-send-email 2.0.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140814_024057_004962_299BFCEF X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: gnurou@gmail.com, eric.y.miao@gmail.com, haojian.zhuang@gmail.com, Daniel Mack , linux-gpio@vger.kernel.org, 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=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 another example to describe bindings that work for PXA3xx boards. Signed-off-by: Daniel Mack --- Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt index 6641626..b2afdb2 100644 --- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt @@ -19,7 +19,7 @@ Required properties: - gpio-controller : Marks the device node as a gpio controller. - #gpio-cells : Should be one. It is the pin number. -Example: +Example for a MMP platform: gpio: gpio@d4019000 { compatible = "marvell,mmp-gpio"; @@ -32,6 +32,19 @@ Example: #interrupt-cells = <1>; }; +Example for a PXA3xx platform: + + gpio: gpio@40e00000 { + compatible = "intel,pxa3xx-gpio"; + reg = <0x40e00000 0x10000>; + interrupt-names = "gpio0", "gpio1", "gpio_mux"; + interrupts = <8 9 10>; + gpio-controller; + #gpio-cells = <0x2>; + interrupt-controller; + #interrupt-cells = <0x2>; + }; + * Marvell Orion GPIO Controller Required properties: