diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-15 11:32:21 +0200 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-21 09:42:47 +0200 |
commit | 1a2669df3c1fcef1e212fc9fe39b37b0b67a97f0 (patch) | |
tree | e58e980761a8718bcc21ccc364ff4a02bf07f626 /drivers/clk/at91/sama5d2.c | |
parent | clk: at91: clk-peripheral: add support for parent_hw (diff) | |
download | linux-1a2669df3c1fcef1e212fc9fe39b37b0b67a97f0.tar.xz linux-1a2669df3c1fcef1e212fc9fe39b37b0b67a97f0.zip |
clk: at91: clk-programmable: add support for parent_hw
Add support for parent_hw in programmable clock driver.
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-programmable 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-6-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/clk/at91/sama5d2.c')
-rw-r--r-- | drivers/clk/at91/sama5d2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/sama5d2.c b/drivers/clk/at91/sama5d2.c index 944e1fec8ad2..8eda5f95d142 100644 --- a/drivers/clk/at91/sama5d2.c +++ b/drivers/clk/at91/sama5d2.c @@ -300,7 +300,7 @@ static void __init sama5d2_pmc_setup(struct device_node *np) snprintf(name, sizeof(name), "prog%d", i); hw = at91_clk_register_programmable(regmap, name, - parent_names, 6, i, + parent_names, NULL, 6, i, &sama5d2_programmable_layout, NULL); if (IS_ERR(hw)) |