diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-15 12:32:23 +0300 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-21 10:42:48 +0300 |
commit | 077782e3f2f34003fb8d13f8becfeab69c4f6570 (patch) | |
tree | 0470022aeed4ba0f4c0f0b40e4bb7f1478665fbd /drivers/clk/at91/sama7g5.c | |
parent | 1a537f625773fe3e5f124a933b2dffdfc947f9e0 (diff) | |
download | linux-077782e3f2f34003fb8d13f8becfeab69c4f6570.tar.xz |
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/sama7g5.c')
-rw-r--r-- | drivers/clk/at91/sama7g5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index b606d642a22b..42f2f61cc6d1 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -1035,7 +1035,7 @@ static void __init sama7g5_pmc_setup(struct device_node *np) sama7g5_pmc->chws[sama7g5_mckx[i].eid] = hw; } - hw = at91_clk_sama7g5_register_utmi(regmap, "utmick", "main_xtal"); + hw = at91_clk_sama7g5_register_utmi(regmap, "utmick", "main_xtal", NULL); if (IS_ERR(hw)) goto err_free; |