]> 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@stericsson.com>
Mon, 10 Oct 2011 12:26:40 +0000 (14:26 +0200)
commitb30d6d089c23cbcfd19aa770ad6e5885221d02a7
tree865b84253f6e763102a2576bdfee15ba23cd2a73
parentdb3f4f6c9492762b715357bf6cd59ca439ddab0e
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>
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]