[PATCH] pinctrl: update GPIO range doc
Rob Landley
rob at landley.net
Mon Jun 17 01:20:35 EDT 2013
On 06/16/2013 05:18:29 AM, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
>
> This updates the GPIO range documentation with the API changes
> for sparse/random/arbitrary pin-to-GPIO mappings.
Acked-by: Rob Landley <rob at landley.net>
Why isn't this part of the pinctrl series you posted right afterwards?
(It should go in through that maintainer...)
> For all functionalities dealing with pin biasing, pin muxing etc,
> the pin
> -controller subsystem will subtract the range's .base offset from the
> passed
> -in gpio number, and add the ranges's .pin_base offset to retrive a
> pin number.
> -After that, the subsystem passes it on to the pin control driver, so
> the driver
> +controller subsystem will look up the corresponding pin number from
> the passed
> +in gpio number, and use the ranges internals to retrive a pin
> number. After
Range's perhaps?
Rob
More information about the linux-arm-kernel
mailing list