diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-02 15:50:51 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 22:34:03 +0300 |
commit | e4cfb823bd71c785fe482e4d7491ef04ac561a7d (patch) | |
tree | 54f8cec6f17340410d8b8ebcf2fe30ad4bfa585d /drivers/clk/at91/sama5d2.c | |
parent | cb4f4949b1c76f29ca804d6ecd879a2e84c88afc (diff) | |
download | linux-e4cfb823bd71c785fe482e4d7491ef04ac561a7d.tar.xz |
clk: at91: allow configuring generated PCR layout
The PCR register layout for GCLKCSS is changing for the future SoCs, allow
configuring it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/sama5d2.c')
-rw-r--r-- | drivers/clk/at91/sama5d2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/at91/sama5d2.c b/drivers/clk/at91/sama5d2.c index 9d128bd60fee..096156850e08 100644 --- a/drivers/clk/at91/sama5d2.c +++ b/drivers/clk/at91/sama5d2.c @@ -305,6 +305,7 @@ static void __init sama5d2_pmc_setup(struct device_node *np) parent_names[5] = "audiopll_pmcck"; for (i = 0; i < ARRAY_SIZE(sama5d2_gck); i++) { hw = at91_clk_register_generated(regmap, &pmc_pcr_lock, + &sama5d2_pcr_layout, sama5d2_gck[i].n, parent_names, 6, sama5d2_gck[i].id, |