[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1325576871-9397-1-git-send-email-chanho61.park@samsung.com>
Date: Tue, 03 Jan 2012 16:47:49 +0900
From: Chanho Park <chanho61.park@...sung.com>
To: linus.walleij@...aro.org, swarren@...dia.com, Baohua.Song@....com
Cc: linux-kernel@...r.kernel.org,
Chanho Park <chanho61.park@...sung.com>
Subject: [PATCH 0/2] add support for partial pin space
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists