From patchwork Tue Feb 19 16:22:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 2163601 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 65F483FDF1 for ; Tue, 19 Feb 2013 16:27:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U7q0L-0005EA-Ks; Tue, 19 Feb 2013 16:25:17 +0000 Received: from mail-pa0-f54.google.com ([209.85.220.54]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U7pyS-0004C8-GT for linux-arm-kernel@lists.infradead.org; Tue, 19 Feb 2013 16:23:21 +0000 Received: by mail-pa0-f54.google.com with SMTP id fa10so3484917pad.27 for ; Tue, 19 Feb 2013 08:23:19 -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=YHIyqXZOVo6p48rVEwtlL91EjpwJ/ry20Ke624fnHR0bHsFqQO0FGUPZLXorWk/h4P hfqPu3+05sbpB278VK3Np24K/iT1LkRwOuPkHnAGIZteMDuvXfqyUS4qgypezkK21GIA Xdq/ZX2Xp/hFFQ/OLllU22oNvaxmTalGndndT1CuKc7RFX/hzFIoRsKLtWPU5LKiw5vz eXLamv91HLEdcmO/OCxjvyzhkXEbLrMlH/LjCk1BPjSIgHFpnSdDcNwJt46LclY3PmPi Wjhk5r+jSonceag/2Ncm5pr8LrlwSQ/v5BB2HxpQYBk1AZ/YYkkYLsopjJvwnOj8B0uE cp3A== X-Received: by 10.68.137.42 with SMTP id qf10mr10011185pbb.80.1361290999028; Tue, 19 Feb 2013 08:23:19 -0800 (PST) Received: from localhost.localdomain ([27.115.121.39]) by mx.google.com with ESMTPS id rn14sm18472714pbb.33.2013.02.19.08.23.13 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 08:23:18 -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 v4 07/11] document: devicetree: add properties in mrvl gpio Date: Wed, 20 Feb 2013 00:22:24 +0800 Message-Id: <1361290948-16669-8-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361290948-16669-1-git-send-email-haojian.zhuang@linaro.org> References: <1361290948-16669-1-git-send-email-haojian.zhuang@linaro.org> X-Gm-Message-State: ALoCoQmVYCFUyg4RqC8+o9SX3x3W8++qCyLgutF273a7v+h1vL38oBcs6i+wqDAyOvd3lKIFlHr1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130219_112320_661820_AC5B8654 X-CRM114-Status: UNSURE ( 9.70 ) 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.220.54 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