Commit 77977b80 authored by Michał Mirosław's avatar Michał Mirosław Committed by Stephen Boyd
Browse files

clk: at91: enable AUDIOPLL as source for PCKx on SAMA5D2



Datasheet for SAMA5D2x mentions 6 sources for PCKx, the last being AUDIOPLL.

Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent bfeffd15
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,13 +241,14 @@ static void __init sama5d2_pmc_setup(struct device_node *np)
	parent_names[2] = "plladivck";
	parent_names[3] = "utmick";
	parent_names[4] = "mck";
	parent_names[5] = "audiopll_pmcck";
	for (i = 0; i < 3; i++) {
		char name[6];

		snprintf(name, sizeof(name), "prog%d", i);

		hw = at91_clk_register_programmable(regmap, name,
						    parent_names, 5, i,
						    parent_names, 6, i,
						    &at91sam9x5_programmable_layout);
		if (IS_ERR(hw))
			goto err_free;