Thread (53 messages) read the whole thread 53 messages, 7 authors, 2012-09-11
STALE5073d

[PATCH 03/14] arm: at91: at91sam9x5: fix gpio number per bank

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-08-20 08:02:58

On 21:18 Sat 18 Aug     , Arnd Bergmann wrote:
On Friday 10 August 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted
--- a/Documentation/devicetree/bindings/gpio/gpio_atmel.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio_atmel.txt
@@ -9,6 +9,10 @@ Required properties:
   unused).
 - gpio-controller: Marks the device node as a GPIO controller.
 
+optional properties:
+- gpio-nb: Number of gpio if absent 32.
+
+
 Example:
        pioA: gpio at fffff200 {
                compatible = "atmel,at91rm9200-gpio";
@@ -16,5 +20,6 @@ Example:
                interrupts = <2 4>;
                #gpio-cells = <2>;
                gpio-controller;
+               gpio-nb = <19>;
What does "nb" stand for?

The marvell-gpio binding uses "ngpio" for the number, so that would
already be established. Otherwise, I think "#gpio-lines" would be
more in line with other things we count in the bindings.
ngpio I dont like
#gpio-lines ok

Best Regards,
J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help