Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0776d602 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: provide some clock lookup aliases for legacy CPG parts.



For the CPUs that have not yet been converted off of legacy CPG we
provide some pclk aliases in order to make driver migration easier.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent c55fbdd3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -338,6 +338,11 @@ int __init __deprecated cpg_clk_init(void)
			ret |= clk_register(clk);
	}

	clk_add_alias("tmu_fck", NULL, "peripheral_clk", NULL);
	clk_add_alias("mtu2_fck", NULL, "peripheral_clk", NULL);
	clk_add_alias("cmt_fck", NULL, "peripheral_clk", NULL);
	clk_add_alias("sci_ick", NULL, "peripheral_clk", NULL);

	return ret;
}