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: 2180061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id DE4233FCA4 for ; Mon, 25 Feb 2013 03:56:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U9p8Q-0004SS-6l; Mon, 25 Feb 2013 03:53:50 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U9p6G-0003LG-W9 for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2013 03:51:37 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa12so1410313pbc.22 for ; Sun, 24 Feb 2013 19:51:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=aQkFgc76nInQ4HYSPuCDExKBm4Y7r6CPrU1pkQs/KUQ=; b=YQxhZuisSJ18xx/0wNtzqRivqClxcbtuMHUKlbq3WvxJedMF5spuuLRr9ybXCtFq+9 waeJQAfbbChYM9wwgmONt03TyWDzmSrq3yJaC69NivgxGv2lPFFk3MoL94XBV66Xxxst Owx63jsz3n6xHrZYYhmGGNonSw56L5xYQUOtjj9GmcMJj+6sAgt2a2hdYz1zj5ISZRJw UsCIFDWdGlKuTywi8+3dWHljBmUvnT5ywakSi1+mCPwho/JVWNmtQOzdqE2Y7Q4QEOMf 2BqjtqRwC9+1HBDe09CQmkxN37wXbk9SrHfRZDCA9el7Fz/yoHEe/heaFvuxKGy+pVrr MXGw== 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 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: ALoCoQl9o9zgYuIiX9EuZHK6kkOZFoCtXvD+4VpTcODO1ZPlcw21T9B03XPn+NKjNUOnYIplRxEM X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130224_225137_217467_A2789477 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang , patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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