Re: [PATCHv3] pinctrl: add a pin_base for sparse gpio-ranges

From: Linus Walleij
Date: Fri Nov 11 2011 - 10:48:44 EST


On Fri, Nov 11, 2011 at 10:47 AM, Chanho Park <chanho61.park@xxxxxxxxxxx> wrote:

> This patch enables mapping a base offset of gpio ranges with
> a pin offset even if does'nt matched. A base of pinctrl_gpio_range
> means a base offset of gpio. However, we cannot convert gpio to pin
> number for sparse gpio ranges just only using a gpio base offset.
> We can convert a gpio to real pin number(even if not matched) using
> a new pin_base which means a base pin offset of requested gpio range.
> Now, the pin control subsystem passes the pin base offset to the
> pinmux driver.

Thanks, patch applied, however review my discussion with Stephen
about the usefulness of the GPIO-specific instructions altogether...

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/