From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Kan 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> References: <1403823587-23404-1-git-send-email-fkan@apm.com> Return-path: Received: from exprod5og102.obsmtp.com ([64.18.0.143]:60014 "HELO exprod5og102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751660AbaFZW76 (ORCPT ); Thu, 26 Jun 2014 18:59:58 -0400 Received: by mail-pb0-f51.google.com with SMTP id rp16so3723409pbb.24 for ; Thu, 26 Jun 2014 15:59:57 -0700 (PDT) In-Reply-To: <1403823587-23404-1-git-send-email-fkan@apm.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org 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 Cc: Feng Kan 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>; + }; -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: fkan@apm.com (Feng Kan) Date: Thu, 26 Jun 2014 15:59:46 -0700 Subject: [PATCH V5 2/3] Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding In-Reply-To: <1403823587-23404-1-git-send-email-fkan@apm.com> References: <1403823587-23404-1-git-send-email-fkan@apm.com> Message-ID: <1403823587-23404-3-git-send-email-fkan@apm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 at 1701c000 { + compatible = "apm,xgene-gpio"; + reg = <0x0 0x1701c000 0x0 0x40>; + gpio-controller; + #gpio-cells = <2>; + }; -- 1.9.1