]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: add a driver for the U300 pinmux
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 2 May 2011 18:54:38 +0000 (20:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Oct 2011 19:41:16 +0000 (21:41 +0200)
commitdd6d33db9f24ca2ffa56d3422ccd34fd9bd98bb1
tree65fc0cb8d4b0c7342cf0bfff37b983a090c0a8d7
parent010a5e854d82da41bacb00301ed18739c9d19973
pinctrl: add a driver for the U300 pinmux

This adds a driver for the U300 pinmux portions of the system
controller "SYSCON". It also serves as an example of how to use
the pinmux subsystem. This driver also houses the platform data
for the only supported platform.

This deletes the old U300 driver in arch/arm/mach-u300 and
replace it with a driver using the new subsystem.

The new driver is considerably fatter than the old one, but it
also registers all 467 pins of the system and adds the power
and EMIF pin groups and corresponding functions. The idea
is to use this driver as a a reference for other
implementation so it needs to be as complete and verbose
as possible.

Reviewed-by: Barry Song <21cnbao@gmail.com>
[Fixup for changed function names and semantics in the v10 patch]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/Kconfig
arch/arm/mach-u300/Makefile
arch/arm/mach-u300/core.c
arch/arm/mach-u300/include/mach/syscon.h
arch/arm/mach-u300/mmc.c
arch/arm/mach-u300/padmux.c [deleted file]
arch/arm/mach-u300/padmux.h [deleted file]
arch/arm/mach-u300/spi.c
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinmux-u300.c [new file with mode: 0644]