From patchwork Thu Jun 26 22:59:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 4432651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 317679F333 for ; Thu, 26 Jun 2014 23:02:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31C262038D for ; Thu, 26 Jun 2014 23:02:39 +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 2AD502038C for ; Thu, 26 Jun 2014 23:02:38 +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 1X0Iev-00010A-VM; Thu, 26 Jun 2014 23:00:49 +0000 Received: from exprod5og111.obsmtp.com ([64.18.0.22]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0IeV-0007yg-8H for linux-arm-kernel@lists.infradead.org; Thu, 26 Jun 2014 23:00:24 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) (using TLSv1) by exprod5ob111.postini.com ([64.18.4.12]) with SMTP ID DSNKU6yl7fV3pUd99oQhlrxkliz9AdTLucp3@postini.com; Thu, 26 Jun 2014 16:00:23 PDT Received: by mail-pd0-f178.google.com with SMTP id r10so3601976pdi.37 for ; Thu, 26 Jun 2014 15:59:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=z3sCjOwaKpdUVWxMrPppnvT7GxCkhuS4HugLixPjrOA=; b=H2VrRKdREzQP8m+BhAPOWRMZlQHkbFfcbLv2Ozb1H4MIaFgaThR+vwNKSOsO/+TW9F TEmzj0RbYeCV0A2N0smgz2y4rqcRaIb8Dk6fqicRvTg6dFVGRUdToZpK/XE4gM4KHHOv njiyfQdedi1FOWlUnV2itMIXS/PNEWzUkxqCqmScgA8qAnqaNYVmpXGH6cBkrgFuYTUv Tw/5D5pMOhD+xQaG07xWhIZfIZmhtI4oWvLoJW+QVYWveovKiSOeSC648HpOs7Yxj1aB jtHTs/pcKr0V/EOPGgMYQrCM02r+Fnf2dvUrArspewknyqVB/dNgLNz0Zz8Pbtl9Pic4 qFGg== X-Gm-Message-State: ALoCoQlVFcZFwQ88Plbvwnm4UbbhBfL6NzA9ek74zNxy/iJhgLsr0MDklpI9CkyDxaZb8wQiQQUbutqdLNt1lYQgSNGYSwXteL6GGQdW3AYNqog4d/Tbw/0HkLI3PHmUyawuA5nUFY6BnZy5ck7LkgX9ovJB/vUR6w== X-Received: by 10.69.18.11 with SMTP id gi11mr25714445pbd.36.1403823597197; Thu, 26 Jun 2014 15:59:57 -0700 (PDT) X-Received: by 10.69.18.11 with SMTP id gi11mr25714428pbd.36.1403823597026; Thu, 26 Jun 2014 15:59:57 -0700 (PDT) Received: from fkan-lpt.amcc.com (63-147-59-2.dia.static.qwest.net. [63.147.59.2]) by mx.google.com with ESMTPSA id jb5sm11649186pbd.73.2014.06.26.15.59.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jun 2014 15:59:56 -0700 (PDT) From: Feng Kan To: patches@apm.com, linus.walleij@linaro.org, gnurou@gmail.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH V5 2/3] Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding Date: Thu, 26 Jun 2014 15:59:46 -0700 Message-Id: <1403823587-23404-3-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1403823587-23404-1-git-send-email-fkan@apm.com> References: <1403823587-23404-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_160023_343294_B4D25585 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Feng Kan 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=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, 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 Documentation for APM X-Gene SoC GPIO controller DTS binding. Signed-off-by: Feng Kan Reviewed-by: Alexandre Courbot --- .../devicetree/bindings/gpio/gpio-xgene.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xgene.txt diff --git a/Documentation/devicetree/bindings/gpio/gpio-xgene.txt b/Documentation/devicetree/bindings/gpio/gpio-xgene.txt new file mode 100644 index 0000000..bd5fd85 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-xgene.txt @@ -0,0 +1,20 @@ +APM X-Gene SoC GPIO controller bindings + +This is a gpio controller that is part of the flash controller. +This gpio controller controls a total of 48 gpios. + +Required properties: +- compatible: "apm,xgene-gpio" for X-Gene GPIO controller +- reg: Physical base address and size of the controller's registers +- #gpio-cells: Should be two. + - first cell is the pin number + - second cell is used to specify optional parameters (unused) +- gpio-controller: Marks the device node as a GPIO controller. + +Example: + gpio0: gpio0@1701c000 { + compatible = "apm,xgene-gpio"; + reg = <0x0 0x1701c000 0x0 0x40>; + gpio-controller; + #gpio-cells = <2>; + };