lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCHv3] pinctrl: add a pin_base for sparse gpio-ranges
From
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


\
 
 \ /
  Last update: 2011-11-11 16:51    [W:0.106 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site