linux_dsm_epyc7002/drivers/clk/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
..
clk-apbc.c clk: mmp: Remove clk.h include 2015-07-20 10:53:12 -07:00
clk-apmu.c clk: mmp: Remove clk.h include 2015-07-20 10:53:12 -07:00
clk-frac.c clk: mmp: fix sparse non static symbol warning 2014-12-11 12:14:09 -08:00
clk-gate.c clk: mmp: Convert to clk_hw based provider APIs 2015-08-24 16:48:49 -07:00
clk-mix.c clk: mmp: Convert to clk_hw based provider APIs 2015-08-24 16:48:49 -07:00
clk-mmp2.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clk-of-mmp2.c clk: mmp: add timer clock for pxa168/mmp2/pxa910 2015-06-04 12:07:53 -07:00
clk-of-pxa168.c clk: mmp: add timer clock for pxa168/mmp2/pxa910 2015-06-04 12:07:53 -07:00
clk-of-pxa910.c clk: mmp: add timer clock for pxa168/mmp2/pxa910 2015-06-04 12:07:53 -07:00
clk-of-pxa1928.c clk: mmp: add PXA1928 clock support 2015-05-15 12:31:45 -07:00
clk-pxa168.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clk-pxa910.c clk: mmp: stop using platform headers 2015-12-01 21:44:22 +01:00
clk.c clk: mmp: Remove clk.h include 2015-07-20 10:53:12 -07:00
clk.h clk: mmp: add basic support functions for DT support 2014-11-12 16:34:05 -08:00
Makefile clk: mmp: add PXA1928 clock support 2015-05-15 12:31:45 -07:00
reset.c clk: mmp: add reset support 2014-11-12 16:34:10 -08:00
reset.h clk: mmp: add reset support 2014-11-12 16:34:10 -08:00