clk: ti: omap5: Fix reboot DPLL lock failure when using ABE TIMERs
authorDavid Shah <dave@ds0.me>
Sun, 6 Dec 2020 11:18:51 +0000 (12:18 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 17 Dec 2020 09:47:01 +0000 (01:47 -0800)
commit66cc7af38149fefd2d8c9a47a456884bd2105c9d
treea55c03ca73f44a3ea2ee39215b1d8f52cba6a409
parent8c6239f6e95f583bb763d0228e02d4dd0fb3d492
clk: ti: omap5: Fix reboot DPLL lock failure when using ABE TIMERs

Having the ABE DPLL ref and bypass muxes set to different inputs was
causing the DPLL not to lock when TIMER8 was used, as it is in the Pyra
for the backlight.

This patch fixes this by setting abe_dpll_bypass_clk_mux to sys_32k_ck
in omap5xxx_dt_clk_init.

A similar patch may also be needed for OMAP44xx which has similar code
in omap4xxx_dt_clk_init, but I have not added this as I have no hardware
to test on.

Signed-off-by: David Shah <dave@ds0.me>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Link: https://lore.kernel.org/r/1d3abe2512054866cc2ea7b2592238f4fa06502a.1607253531.git.hns@goldelico.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk-54xx.c