Messages in this thread | | | Date | Thu, 29 Aug 2013 14:29:32 -0600 | From | Stephen Warren <> | Subject | Re: [PATCH V5] gpio: New driver for LSI ZEVIO SoCs |
| |
On 08/29/2013 02:28 PM, Fabian Vogt wrote: >> On 08/26/2013 12:18 PM, Fabian Vogt wrote: >>> This driver supports the GPIO controller found in LSI ZEVIO SoCs. >>> It has been successfully tested on a TI nspire CX calculator.
>>> diff --git a/Documentation/devicetree/bindings/gpio/gpio-zevio.txt >>> b/Documentation/devicetree/bindings/gpio/gpio-zevio.txt
>>> +- #gpio-cells = <2> >> This should describe what those cells are. For example perhaps: >> >> #gpio-cells. Must be 2. The first cell is the GPIO number. The second >> cell is used to specify optional parameters: >> - bit 0 specifies polarity (0 for normal, 1 for inverted) > > "Must be 2. The second cell is ... optional"?
I'm not sure what your question is, but perhaps this will answer it:
The 2nd cell isn't optional, but setting the various flags within the cell is optional.
| |