Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 11 Nov 2011 16:48:42 +0100 | Subject | Re: [PATCHv3] pinctrl: add a pin_base for sparse gpio-ranges | From | Linus Walleij <> |
| |
On Fri, Nov 11, 2011 at 10:47 AM, Chanho Park <chanho61.park@samsung.com> 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
| ![\](/images/icornerr.gif) |