Thread (13 messages) 13 messages, 5 authors, 2014-07-08

Re: [PATCH V5 2/3] Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding

From: Linus Walleij <hidden>
Date: 2014-07-04 21:28:38
Also in: linux-arm-kernel, linux-gpio

On Mon, Jun 30, 2014 at 2:53 PM, Mark Rutland [off-list ref] wrote:
On Thu, Jun 26, 2014 at 11:59:46PM +0100, Feng Kan wrote:
quoted
+- #gpio-cells: Should be two.
+     - first cell is the pin number
+     - second cell is used to specify optional parameters (unused)
Why is there an unused cell?

Why not just make this a single cell if the binding defines no valid
parameters?
I don't get this either. The only reason would be that this cell
should contain flags (such as open collector) the code for using
it being inplemented later.

If the controller is too primitive to use such flags it should be onecell.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help