linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: revert bank bindings
@ 2016-04-19 12:49 Linus Walleij
  2016-04-19 14:06 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2016-04-19 12:49 UTC (permalink / raw)
  To: linux-gpio, Alexandre Courbot; +Cc: Linus Walleij, Rob Herring

Keep the words talking about what a GPIO bank is, but remove the
binding. We have not agreed that this is something we want to have.

Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 Documentation/devicetree/bindings/gpio/gpio.txt | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index f509ecf03ece..c88d2ccb05ca 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -138,12 +138,6 @@ exposed in the device tree as an individual gpio-controller node, reflecting
 the fact that the hardware was synthesized by reusing the same IP block a
 few times over.
 
-A GPIO controller may specify a bank ID. This is a hardware index that
-indicate the logical order of the GPIO controller in the hardware architecture,
-usually in the sequence 0, 1, 2 .. n. The hardware index may be different
-from the order of register ranges and related to the backplane of how this
-one bank is connected to the outside through a pin controller for example.
-
 Optionally, a GPIO controller may have a "ngpios" property. This property
 indicates the number of in-use slots of available slots for GPIOs. The
 typical example is something like this: the hardware register is 32 bits
@@ -165,7 +159,6 @@ gpio-controller@00000000 {
 	reg = <0x00000000 0x1000>;
 	gpio-controller;
 	#gpio-cells = <2>;
-	gpio-bank = <0>;
 	ngpios = <18>;
 }
 
-- 
2.4.11


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpio: revert bank bindings
  2016-04-19 12:49 [PATCH] gpio: revert bank bindings Linus Walleij
@ 2016-04-19 14:06 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2016-04-19 14:06 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-gpio@vger.kernel.org, Alexandre Courbot,
	devicetree@vger.kernel.org

+DT list

On Tue, Apr 19, 2016 at 7:49 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
> Keep the words talking about what a GPIO bank is, but remove the
> binding. We have not agreed that this is something we want to have.
>
> Cc: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  Documentation/devicetree/bindings/gpio/gpio.txt | 7 -------
>  1 file changed, 7 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
> index f509ecf03ece..c88d2ccb05ca 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio.txt
> @@ -138,12 +138,6 @@ exposed in the device tree as an individual gpio-controller node, reflecting
>  the fact that the hardware was synthesized by reusing the same IP block a
>  few times over.
>
> -A GPIO controller may specify a bank ID. This is a hardware index that
> -indicate the logical order of the GPIO controller in the hardware architecture,
> -usually in the sequence 0, 1, 2 .. n. The hardware index may be different
> -from the order of register ranges and related to the backplane of how this
> -one bank is connected to the outside through a pin controller for example.
> -
>  Optionally, a GPIO controller may have a "ngpios" property. This property
>  indicates the number of in-use slots of available slots for GPIOs. The
>  typical example is something like this: the hardware register is 32 bits
> @@ -165,7 +159,6 @@ gpio-controller@00000000 {
>         reg = <0x00000000 0x1000>;
>         gpio-controller;
>         #gpio-cells = <2>;
> -       gpio-bank = <0>;
>         ngpios = <18>;
>  }
>
> --
> 2.4.11
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-19 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 12:49 [PATCH] gpio: revert bank bindings Linus Walleij
2016-04-19 14:06 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).