]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76a64a45fb076cb3e320449551d5e092ac5a9f91
treead46182d5f2172f239a83a4cb3bec217e12193cd
parent8c47bf4743a877de9924082c5ca8b9a45f84ce64
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