]> git.baikalelectronics.ru Git - kernel.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>
Thu, 13 Oct 2011 10:57:45 +0000 (12:57 +0200)
commit91a5968c9fb2ddb3a77730641cef58fa500ed8b1
tree4d10ff569e1cbea384c7e0e162b0481be4766e30
parent297f3883a2893e3142c2479aeca3b4bf1b7f67ed
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]