clk: ti: am33xx: fix RTC clock parent
authorTero Kristo <t-kristo@ti.com>
Fri, 24 Apr 2020 15:23:01 +0000 (18:23 +0300)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 May 2020 03:17:46 +0000 (20:17 -0700)
commitdc6dbd51009fc412729c307161f442c0a08618f4
treead46182d5f2172f239a83a4cb3bec217e12193cd
parente1f9e0d28ff025564dfdb1001a7839b4af5db2e2
clk: ti: am33xx: fix RTC clock parent

Right now, trying to use RTC purely with the ti-sysc / clkctrl framework
fails to enable the RTC module properly. Based on experimentation, this
appears to be because RTC is sourced from the clkdiv32k optional clock.
TRM is not very clear on this topic, but fix the RTC to use the proper
source clock nevertheless.

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lkml.kernel.org/r/20200424152301.4018-1-t-kristo@ti.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk-33xx.c