From patchwork Mon Feb 25 03:49:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 15053 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D817723E27 for ; Mon, 25 Feb 2013 03:51:37 +0000 (UTC) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 949D7A18142 for ; Mon, 25 Feb 2013 03:51:37 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id fo13so1498278vcb.11 for ; Sun, 24 Feb 2013 19:51:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=aQkFgc76nInQ4HYSPuCDExKBm4Y7r6CPrU1pkQs/KUQ=; b=dfodC0wbKppdVWh3nMc4BIc4ZCIUMR2LjTPj+fOubJhq2k7CR1aKTz/tPrpl4vIUdD ctOh4Ui6RT6t1eGgM3+UOBNYDrzJ3ZY8iMc9zRaVzOOHXl3sYmq8dsTY176NxfzqIMOH CQsoJ3tkYrDSWEhbEYz7tpwx9MoJk6t9jCiomwl+ah0mNLZikyIFn1F/L9Fu17evZvlM XWN5S6Y/seb94piOlVHwJ9VwNulbM21Ia6c2hVBxPaSB3+1UmCe0eUfu/1MjdrumCLSj ySTFaLeeUKqmysk/L98HE4Raf/vpK5PZRK2MDNJjfeesoweYdvMB9jLX2Vj9ZUQ1prJM OtgA== X-Received: by 10.52.18.148 with SMTP id w20mr8107449vdd.8.1361764297013; Sun, 24 Feb 2013 19:51:37 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp39570veb; Sun, 24 Feb 2013 19:51:36 -0800 (PST) X-Received: by 10.68.233.229 with SMTP id tz5mr15617439pbc.172.1361764296089; Sun, 24 Feb 2013 19:51:36 -0800 (PST) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by mx.google.com with ESMTPS id pu7si10436816pbc.52.2013.02.24.19.51.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Feb 2013 19:51:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of haojian.zhuang@linaro.org) client-ip=209.85.220.47; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of haojian.zhuang@linaro.org) smtp.mail=haojian.zhuang@linaro.org Received: by mail-pa0-f47.google.com with SMTP id bj3so1490203pad.6 for ; Sun, 24 Feb 2013 19:51:35 -0800 (PST) X-Received: by 10.68.196.35 with SMTP id ij3mr15679918pbc.56.1361764295644; Sun, 24 Feb 2013 19:51:35 -0800 (PST) Received: from localhost.localdomain ([67.198.145.34]) by mx.google.com with ESMTPS id b9sm11188695pba.6.2013.02.24.19.51.31 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Feb 2013 19:51:35 -0800 (PST) From: Haojian Zhuang To: grinberg@compulab.co.il, linus.walleij@linaro.org, linux@arm.linux.org.uk, marek.vasut@gmail.com, robert.jarzmik@free.fr, daniel@caiaq.de, linux-arm-kernel@lists.infradead.org, grant.likely@secretlab.ca, cxie4@marvell.com Cc: patches@linaro.org, Haojian Zhuang Subject: [PATCH v5 08/12] document: devicetree: add properties in mrvl gpio Date: Mon, 25 Feb 2013 11:49:37 +0800 Message-Id: <1361764181-26647-9-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361764181-26647-1-git-send-email-haojian.zhuang@linaro.org> References: <1361764181-26647-1-git-send-email-haojian.zhuang@linaro.org> X-Gm-Message-State: ALoCoQmDNKu7M0x4gmWw7yyC7iawNPA2g27mKpP+ChMoVoFA2XuwTS8yFHXZBJC8LboUiRQNHz1n Append new properties for mrvl gpio. They're in below. marvell,gpio-ed-mask marvell,gpio-inverted & marvell,nr_gpios. Signed-off-by: Haojian Zhuang --- Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt index e137874..8cd5252 100644 --- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.txt @@ -14,6 +14,13 @@ Required properties: interrupt source. - gpio-controller : Marks the device node as a gpio controller. - #gpio-cells : Should be one. It is the pin number. +- marvell,nr-gpios : Should be the number of total gpio pins. + +Optional properties: +- marvell,gpio-ed-mask : It means that there's gpio edge mask register. + It only exists in mmp family SoC. +- marvell,gpio-inverted : It means that some gpio pins are inverted. + It only exists in PXA26x SoC. Example: @@ -26,6 +33,8 @@ Example: #gpio-cells = <1>; interrupt-controller; #interrupt-cells = <1>; + marvell,gpio-ed-mask; + marvell,nr-gpios = <128>; }; * Marvell Orion GPIO Controller