[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1321904857-32245-1-git-send-email-linus.walleij@stericsson.com>
Date: Mon, 21 Nov 2011 20:47:37 +0100
From: Linus Walleij <linus.walleij@...ricsson.com>
To: <linux-kernel@...r.kernel.org>
Cc: Stephen Warren <swarren@...dia.com>,
Grant Likely <grant.likely@...retlab.ca>,
Barry Song <21cnbao@...il.com>,
Shawn Guo <shawn.guo@...escale.com>,
Thomas Abraham <thomas.abraham@...aro.org>,
Dong Aisheng <dong.aisheng@...aro.org>,
Rajendra Nayak <rajendra.nayak@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH 0/8] Third pinconfig patches, with example
From: Linus Walleij <linus.walleij@...aro.org>
This is a third iteration of the pinconfig patchset, including a
practical example of how I convert the U300 COH 901XXX GPIO driver
to use it alongside the existing pinmux-u300 driver. In this case
the pinmux driver can move things around but only the GPIO driver
can alter bias and drive mode, so they are working closely on the
same hardware and are thusly set to live in the same subsystem.
Linus Walleij (8):
pinctrl: add a generic pin config interface
ARM: u300: localize GPIO assignments
pinctrl: move the U300 GPIO driver to pinctrl
pinctrl: u300-pinmux: register proper GPIO ranges
pinctrl: COH901XXX: driver to request its pins
pinctrl: COH901XXX: probe the driver from pinmux
pinctrl: COH901XXX: use pinconf enums and parameters
pinctrl: support pinconfig on the U300
Documentation/pinctrl.txt | 105 ++++++-
arch/arm/mach-u300/Kconfig | 2 +-
arch/arm/mach-u300/core.c | 8 +
arch/arm/mach-u300/include/mach/gpio-u300.h | 115 ------
arch/arm/mach-u300/include/mach/irqs.h | 2 +-
arch/arm/mach-u300/mmc.c | 2 +-
arch/arm/mach-u300/u300-gpio.h | 114 ++++++
drivers/gpio/Kconfig | 9 -
drivers/gpio/Makefile | 1 -
drivers/pinctrl/Kconfig | 15 +-
drivers/pinctrl/Makefile | 2 +
drivers/pinctrl/core.c | 19 +
drivers/pinctrl/core.h | 10 +
drivers/pinctrl/pinconf.c | 366 ++++++++++++++++++++
drivers/pinctrl/pinconf.h | 41 +++
.../gpio-u300.c => pinctrl/pinctrl-coh901xxx.c} | 136 ++++----
drivers/pinctrl/pinctrl-coh901xxx.h | 8 +
drivers/pinctrl/pinmux-u300.c | 123 ++++++-
include/linux/pinctrl/pinconf.h | 209 +++++++++++
include/linux/pinctrl/pinctrl.h | 10 +-
20 files changed, 1080 insertions(+), 217 deletions(-)
create mode 100644 arch/arm/mach-u300/u300-gpio.h
create mode 100644 drivers/pinctrl/pinconf.c
create mode 100644 drivers/pinctrl/pinconf.h
rename drivers/{gpio/gpio-u300.c => pinctrl/pinctrl-coh901xxx.c} (90%)
create mode 100644 drivers/pinctrl/pinctrl-coh901xxx.h
create mode 100644 include/linux/pinctrl/pinconf.h
--
1.7.3.2
--
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