]> 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)
commit1f5f9140adca4c1bfcffe4bcdf99a72e25b4c23c
treead46182d5f2172f239a83a4cb3bec217e12193cd
parent6b9cb1b60b848e8f819c8d29550a466d08a3b3c0
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