summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/dt-compat.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-02 14:50:51 +0200
committerStephen Boyd <sboyd@kernel.org>2019-04-25 12:34:03 -0700
commite4cfb823bd71c785fe482e4d7491ef04ac561a7d (patch)
tree54f8cec6f17340410d8b8ebcf2fe30ad4bfa585d /drivers/clk/at91/dt-compat.c
parentcb4f4949b1c76f29ca804d6ecd879a2e84c88afc (diff)
downloadlwn-e4cfb823bd71c785fe482e4d7491ef04ac561a7d.tar.gz
lwn-e4cfb823bd71c785fe482e4d7491ef04ac561a7d.zip
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/dt-compat.c')
-rw-r--r--drivers/clk/at91/dt-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/at91/dt-compat.c b/drivers/clk/at91/dt-compat.c
index aa09072f36db..aa1754eac59f 100644
--- a/drivers/clk/at91/dt-compat.c
+++ b/drivers/clk/at91/dt-compat.c
@@ -154,7 +154,8 @@ static void __init of_sama5d2_clk_generated_setup(struct device_node *np)
id == GCK_ID_CLASSD))
pll_audio = true;
- hw = at91_clk_register_generated(regmap, &pmc_pcr_lock, name,
+ hw = at91_clk_register_generated(regmap, &pmc_pcr_lock,
+ &dt_pcr_layout, name,
parent_names, num_parents,
id, pll_audio, &range);
if (IS_ERR(hw))