mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] add support for partial pin space
@ 2012-01-03  7:47 Chanho Park
  2012-01-03  7:47 ` [PATCH 1/2] pinctrl: correct a offset while enumerating pins Chanho Park
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Chanho Park @ 2012-01-03  7:47 UTC (permalink / raw)
  To: linus.walleij, swarren, Baohua.Song; +Cc: linux-kernel, Chanho Park

A pin space of current pinctrl driver always start with zero-based pin
number. And pins are enumerated from 0 to a max pin number. If there are
two pins (one is 0, another is 1000), we always enumerate from 0 to 1000
for just only two pins. This patch enables to start non-zero based pin
number and to enumerate actually owned pins.

For example, there is a system which has huge(500 or 1000) pins. If muxing
or controlling pins are small, we just define such small pins instead of
whole pins.

Chanho Park (2):
  pinctrl: correct a offset while enumerating pins
  pinctrl: remove unnecessary max pin number

 drivers/pinctrl/core.c          |   19 ++++++++++---------
 drivers/pinctrl/pinconf.c       |    9 +++++----
 drivers/pinctrl/pinctrl-sirf.c  |    1 -
 drivers/pinctrl/pinctrl-u300.c  |    1 -
 drivers/pinctrl/pinmux.c        |    9 +++++----
 include/linux/pinctrl/pinctrl.h |    5 -----
 6 files changed, 20 insertions(+), 24 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-04  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03  7:47 [PATCH 0/2] add support for partial pin space Chanho Park
2012-01-03  7:47 ` [PATCH 1/2] pinctrl: correct a offset while enumerating pins Chanho Park
2012-01-03  7:58   ` Linus Walleij
2012-01-03  8:37     ` Chanho Park
2012-01-04  9:37       ` Linus Walleij
2012-01-03  7:47 ` [PATCH 2/2] pinctrl: remove unnecessary max pin number Chanho Park
2012-01-03  7:57 ` [PATCH 0/2] add support for partial pin space Linus Walleij
2012-01-03  8:27   ` Chanho Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®