[PATCH 2/5] Documentation: add description of DT binding for the gpio-mvebu driver

Olof Johansson olof at lixom.net
Mon Aug 27 17:53:26 EDT 2012


Hi,

On Sat, Aug 11, 2012 at 03:31:43PM +0200, Thomas Petazzoni wrote:
> +- gpio-controller: marks the device node as a gpio controller
> +
> +- ngpios: number of GPIOs this controller has
> +
> +- #gpio-cells: Should be one. It is the pin number.

Most platforms will hit a need to encode polarity of the GPIO, in
particular on inputs. Having an extra cell for flags is quite useful.




More information about the linux-arm-kernel mailing list