GPIO polarity in bindings for Freescale MXS

Hector Palacios hector.palacios at digi.com
Thu Mar 14 23:35:47 EST 2013


On 03/14/2013 11:02 AM, Hector Palacios wrote:
> Hello,
>
> Maybe I'm missing something but the MXS processors (at least i.MX23 and i.MX28) cannot
> set the polarity of the GPIOs, so shouldn't the #gpio-cells be 1?
>
> (From Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt):

Sorry, I meant: from Documentation/devicetree/bindings/gpio/gpio-mxs.txt

>
> - #gpio-cells : Should be two.  The first cell is the pin number and
>    the second cell is used to specify the gpio polarity:
>        0 = active high
>        1 = active low
>
> Regards,



More information about the devicetree-discuss mailing list