]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinmux: 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>
Thu, 29 Sep 2011 12:52:13 +0000 (14:52 +0200)
commitbb41f2392a5a29a5f980d6d661dbda0734e0915c
tree7c6b459dfab432dcbc7cdbd25594d7771634674b
parent05f20c997d7312b307126c01facb595281c32e2d
pinmux: 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.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 files changed:
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]
drivers/pinctrl/pinmux-u300.h [new file with mode: 0644]