Skip to content

Commit 77977b8

Browse files
osctobebebarino
authored andcommitted
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: Michał Mirosław <mirq-linux@rere.qmqm.pl> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent bfeffd1 commit 77977b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/at91/sama5d2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,14 @@ static void __init sama5d2_pmc_setup(struct device_node *np)
241241
parent_names[2] = "plladivck";
242242
parent_names[3] = "utmick";
243243
parent_names[4] = "mck";
244+
parent_names[5] = "audiopll_pmcck";
244245
for (i = 0; i < 3; i++) {
245246
char name[6];
246247

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

249250
hw = at91_clk_register_programmable(regmap, name,
250-
parent_names, 5, i,
251+
parent_names, 6, i,
251252
&at91sam9x5_programmable_layout);
252253
if (IS_ERR(hw))
253254
goto err_free;

0 commit comments

Comments
 (0)