forked from Minki/linux
98da352953
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>
16 lines
389 B
Makefile
16 lines
389 B
Makefile
#
|
|
# Makefile for the linux kernel, U300 machine.
|
|
#
|
|
|
|
obj-y := core.o clock.o timer.o
|
|
obj-m :=
|
|
obj-n :=
|
|
obj- :=
|
|
|
|
obj-$(CONFIG_ARCH_U300) += u300.o
|
|
obj-$(CONFIG_MMC) += mmc.o
|
|
obj-$(CONFIG_SPI_PL022) += spi.o
|
|
obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o
|
|
obj-$(CONFIG_I2C_STU300) += i2c.o
|
|
obj-$(CONFIG_REGULATOR_AB3100) += regulator.o
|