linux/arch/arm/mach-mmp
Arnd Bergmann 990f2f223c clk: mmp: stop using platform headers
The mmp clock drivers currently hardcode the physical addresses for
the clock registers. This is generally a bad idea, and it also gets in
the way of multiplatform builds, which make the platform header files
inaccessible to device drivers.

To work around the header file problem, this patch changes the calling
convention so the three mmp clock drivers get initialized with the base
addresses as arguments from the platform code.

It would still be useful to have a larger rework of the clock drivers,
with DT integration to let the clocks actually be probed automatically,
and the base addresses passed as DT properties. I am unsure if anyone
is still interested in the mmp platform, so it is possible that this
won't happen.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Chao Xie <chao.xie@marvell.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
2015-12-01 21:44:22 +01:00
..
include/mach ARM: mmp: remove unused RTC register definitions 2015-09-05 19:37:17 +02:00
aspenite.c
avengers_lite.c
brownstone.c
clock-mmp2.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clock-pxa168.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clock-pxa910.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clock.c
clock.h
common.c
common.h clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
devices.c
flint.c
gplugd.c
jasper.c
Kconfig arm: mmp: Make use of the DT supported clock 2014-11-12 16:34:30 -08:00
Makefile
Makefile.boot
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
pm-mmp2.c
pm-pxa910.c ARM: move heavy barrier support out of line 2015-07-25 15:28:05 +01:00
pxa168.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
pxa910.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
sram.c
tavorevb.c
teton_bga.c
time.c ARM/mmp/time: Migrate to new 'set-state' interface 2015-07-17 08:26:21 +05:30
ttc_dkb.c