mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ARM: zynq: Map I/O memory on clkc init
The clkc has its registers in the range of the slcr. Instead of passing around the slcr base address pointer, let the clkc get the address from the DT. This prepares the slcr to be a real driver with multiple memory ranges (slcr, clocks, pinctrl,...) Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
5e21828034
commit
b0504e39c2
5 changed files with 87 additions and 50 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
void zynq_clock_init(void __iomem *slcr);
|
||||
void zynq_clock_init(void);
|
||||
|
||||
struct clk *clk_register_zynq_pll(const char *name, const char *parent,
|
||||
void __iomem *pll_ctrl, void __iomem *pll_status, u8 lock_index,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue