[PATCH v5 02/10] pinctrl: single: support gpio request and free
Tony Lindgren
tony at atomide.com
Fri Nov 16 19:44:25 EST 2012
* Haojian Zhuang <haojian.zhuang at gmail.com> [121115 00:39]:
> Marvell's PXA/MMP silicon also match the behavior of pinctrl-single.
> Each pin binds to one register. A lot of pins could be configured
> as gpio.
>
> GPIO range is defined as a child node of pinmux in .dtsi file. If those
> pins are with the same gpio function configuration in the pinmux
> register, they could be defined in the same GPIO range. For this new
> child node, two properties are used.
>
> reg = <the start of pinmux register in range, size of range>
>
> pinctrl-single,gpio: <gpio base in range, the gpio function of the range
> in the pinmux register>
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at gmail.com>
Acked-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel
mailing list