Skip to content

Commit 92df3a9

Browse files
tq-krummsdorfmbebarino
authored andcommitted
clk: qoriq: add LS1021A core pll mux options
This allows to clock the cores with 1 GHz, 500 MHz and 250 MHz. Signed-off-by: Michael Krummsdorf <[email protected]> Signed-off-by: Matthias Schiffer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b3a9e3b commit 92df3a9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

drivers/clk/clk-qoriq.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,14 @@ static const struct clockgen_muxinfo clockgen2_cmux_cgb = {
244244
},
245245
};
246246

247+
static const struct clockgen_muxinfo ls1021a_cmux = {
248+
{
249+
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV1 },
250+
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV2 },
251+
{ CLKSEL_VALID, CGA_PLL1, PLL_DIV4 },
252+
}
253+
};
254+
247255
static const struct clockgen_muxinfo ls1028a_hwa1 = {
248256
{
249257
{ CLKSEL_VALID, PLATFORM_PLL, PLL_DIV1 },
@@ -577,7 +585,7 @@ static const struct clockgen_chipinfo chipinfo[] = {
577585
{
578586
.compat = "fsl,ls1021a-clockgen",
579587
.cmux_groups = {
580-
&t1023_cmux
588+
&ls1021a_cmux
581589
},
582590
.cmux_to_group = {
583591
0, -1

0 commit comments

Comments
 (0)