summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/at91sam9rl.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2020-07-22 09:38:22 +0200
committerStephen Boyd <sboyd@kernel.org>2020-07-24 11:19:08 +0200
commitc57aaaa28cf1a123c0029a36361a809eae2b1960 (patch)
treee86f6ba0836d1fae301984f33961061a49cb36c3 /drivers/clk/at91/at91sam9rl.c
parentclk: at91: clk-peripheral: add support for changeable parent rate (diff)
downloadlinux-c57aaaa28cf1a123c0029a36361a809eae2b1960.tar.xz
linux-c57aaaa28cf1a123c0029a36361a809eae2b1960.zip
clk: at91: clk-programmable: add mux_table option
Add mux table option. This is necessary for IP versions that has gaps in the range of available clock sources (e.g. SAMA7G5). Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/1595403506-8209-15-git-send-email-claudiu.beznea@microchip.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/at91sam9rl.c')
-rw-r--r--drivers/clk/at91/at91sam9rl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9rl.c b/drivers/clk/at91/at91sam9rl.c
index 0d1cc44b056f..a343eb69bb35 100644
--- a/drivers/clk/at91/at91sam9rl.c
+++ b/drivers/clk/at91/at91sam9rl.c
@@ -137,7 +137,8 @@ static void __init at91sam9rl_pmc_setup(struct device_node *np)
hw = at91_clk_register_programmable(regmap, name,
parent_names, 5, i,
- &at91rm9200_programmable_layout);
+ &at91rm9200_programmable_layout,
+ NULL);
if (IS_ERR(hw))
goto err_free;