Commit 43b203d3 authored by Claudiu Beznea's avatar Claudiu Beznea Committed by Stephen Boyd

clk: at91: sam9x60: fix usb clock parents

SAM9X60's USB clock has 3 parents: plla, upll and main_osc.

Fixes: 01e2113d ("clk: at91: add sam9x60 pmc driver")
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lkml.kernel.org/r/1579261009-4573-3-git-send-email-claudiu.beznea@microchip.comAcked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent b0ecf1c6
...@@ -234,9 +234,8 @@ static void __init sam9x60_pmc_setup(struct device_node *np) ...@@ -234,9 +234,8 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
parent_names[0] = "pllack"; parent_names[0] = "pllack";
parent_names[1] = "upllck"; parent_names[1] = "upllck";
parent_names[2] = "mainck"; parent_names[2] = "main_osc";
parent_names[3] = "mainck"; hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 3);
hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 4);
if (IS_ERR(hw)) if (IS_ERR(hw))
goto err_free; goto err_free;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment