summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/at91sam9rl.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-06-15 11:32:23 +0200
committerClaudiu Beznea <claudiu.beznea@microchip.com>2023-06-21 09:42:48 +0200
commit077782e3f2f34003fb8d13f8becfeab69c4f6570 (patch)
tree0470022aeed4ba0f4c0f0b40e4bb7f1478665fbd /drivers/clk/at91/at91sam9rl.c
parentclk: at91: clk-system: add support for parent_hw (diff)
downloadlinux-077782e3f2f34003fb8d13f8becfeab69c4f6570.tar.xz
linux-077782e3f2f34003fb8d13f8becfeab69c4f6570.zip
clk: at91: clk-utmi: add support for parent_hw
Add support for parent_hw in utmi clock drivers. With this parent-child relation is described with pointers rather than strings making registration a bit faster. All the SoC based drivers that rely on clk-utmi were adapted to the new API change. The switch itself for SoCs will be done in subsequent patches. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20230615093227.576102-8-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/clk/at91/at91sam9rl.c')
-rw-r--r--drivers/clk/at91/at91sam9rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9rl.c b/drivers/clk/at91/at91sam9rl.c
index 051b2eeb9276..969f809e7d65 100644
--- a/drivers/clk/at91/at91sam9rl.c
+++ b/drivers/clk/at91/at91sam9rl.c
@@ -109,7 +109,7 @@ static void __init at91sam9rl_pmc_setup(struct device_node *np)
at91sam9rl_pmc->chws[PMC_PLLACK] = hw;
- hw = at91_clk_register_utmi(regmap, NULL, "utmick", "mainck");
+ hw = at91_clk_register_utmi(regmap, NULL, "utmick", "mainck", NULL);
if (IS_ERR(hw))
goto err_free;