[PATCH v5 02/10] pinctrl: single: support gpio request and free

Linus Walleij linus.walleij at linaro.org
Tue Nov 20 09:44:35 EST 2012


On Thu, Nov 15, 2012 at 9:36 AM, Haojian Zhuang
<haojian.zhuang at gmail.com> wrote:

> 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>

Patch applied with Tony's ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list