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 ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00
avengers_lite.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
brownstone.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
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 ARM: pxa: add clk_set_rate() 2011-07-12 19:45:19 +08:00
clock.h ARM: pxa: use correct __iomem annotations 2011-10-08 21:03:07 +08:00
common.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
common.h clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
devices.c ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00
flint.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
gplugd.c net: pxa168_eth: Fix providing of phy_interface mode on platform_data 2014-10-28 16:48:02 -04:00
jasper.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
Kconfig arm: mmp: Make use of the DT supported clock 2014-11-12 16:34:30 -08:00
Makefile ARM: mmp: build sram driver alone 2013-12-11 17:33:02 -08:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01: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
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
pm-mmp2.c arm: mmp: Remove pointless fiddling with irq internals 2014-03-04 17:37:52 +01:00
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 ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
tavorevb.c ARM: pxa: move PXA_GPIO_TO_IRQ macro 2013-04-11 10:00:05 +08:00
teton_bga.c Merge branch 'for-next' of git://github.com/rydberg/linux into next 2013-06-27 23:00:25 -07:00
time.c ARM/mmp/time: Migrate to new 'set-state' interface 2015-07-17 08:26:21 +05:30
ttc_dkb.c ARM: mmp: allow platform devices with modular USB 2014-03-18 16:03:44 +01:00