clk: ti: am43xx: Fix clock parent for RTC clock
Subsystems (2)
PATCH 1/1 clk: ti: am43xx: Fix clock parent for RTC clock
Currently enabling clkctrl clock on am4 can fail for RTC as the clock parent is wrong for RTC.
---
It is unclear if we can end up with RTC hung with the current mainline kernel in some cases. Probing RTC with device tree data only seems to trigger this every time.
--- drivers/clk/ti/clk-43xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/ti/clk-43xx.c +1 -1
@@ -78,7 +78,7 @@ static const struct omap_clkctrl_reg_data am4_gfx_l3_clkctrl_regs[] __initconst };static const struct omap_clkctrl_reg_data am4_l4_rtc_clkctrl_regs[]__initconst = { - {AM4_L4_RTC_RTC_CLKCTRL ,NULL ,CLKF_SW_SUP ,"clk_32768_ck" }, + {AM4_L4_RTC_RTC_CLKCTRL ,NULL ,CLKF_SW_SUP ,"clkdiv32k_ick" }, {0 }, };
Signature · 1 line
2.25.1
Stephen Boyd
maintainerQuoting Tony Lindgren (2020-02-21 09:10:30)
Quoted 10 lines
Currently enabling clkctrl clock on am4 can fail for RTC as the clock parent is wrong for RTC.
Fixes 76a1049b84dd ("clk: ti: am43xx: add new clkctrl data for am43xx")Signed-off-by Tony Lindgren <[email protected]>---
It is unclear if we can end up with RTC hung with the current mainline kernel in some cases. Probing RTC with device tree data only seems to trigger this every time.
It's small enough and if it's annoying enough we can probably put it into clk-fixes to get it fixed for this release instead of waiting. Can Tero ack it?
Tero Kristo
Acked-byQuoted 8 lines · Stephen Boyd
Quoting Tony Lindgren (2020-02-21 09:10:30)
Quoted 7 lines
Currently enabling clkctrl clock on am4 can fail for RTC as the clock parent is wrong for RTC.
Fixes 76a1049b84dd ("clk: ti: am43xx: add new clkctrl data for am43xx")Signed-off-by Tony Lindgren <[email protected]>---
Quoted 8 lines
Quoted 3 lines
It is unclear if we can end up with RTC hung with the current mainline kernel in some cases. Probing RTC with device tree data only seems to trigger this every time.
It's small enough and if it's annoying enough we can probably put it into clk-fixes to get it fixed for this release instead of waiting. Can Tero ack it?
Sure,
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Stephen Boyd
maintainerQuoting Tero Kristo (2020-03-16 07:48:30)
Quoted 23 lines · Stephen Boyd
Quoted 8 lines
Quoting Tony Lindgren (2020-02-21 09:10:30)
Quoted 7 lines
Currently enabling clkctrl clock on am4 can fail for RTC as the clock parent is wrong for RTC.
Fixes 76a1049b84dd ("clk: ti: am43xx: add new clkctrl data for am43xx")Signed-off-by Tony Lindgren <[email protected]>---
Quoted 8 lines
Quoted 3 lines
It is unclear if we can end up with RTC hung with the current mainline kernel in some cases. Probing RTC with device tree data only seems to trigger this every time.
It's small enough and if it's annoying enough we can probably put it into clk-fixes to get it fixed for this release instead of waiting. Can Tero ack it?
Sure,
Acked-by Tero Kristo <[email protected]>--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Stephen Boyd
maintainerQuoting Tero Kristo (2020-03-16 07:48:30)
Quoted 13 lines · Stephen Boyd
Quoted 12 lines
Quoting Tony Lindgren (2020-02-21 09:10:30)
Quoted 10 lines
Currently enabling clkctrl clock on am4 can fail for RTC as the clock parent is wrong for RTC.
Fixes 76a1049b84dd ("clk: ti: am43xx: add new clkctrl data for am43xx")Signed-off-by Tony Lindgren <[email protected]>---
It is unclear if we can end up with RTC hung with the current mainline kernel in some cases. Probing RTC with device tree data only seems to trigger this every time.
Quoted 8 lines
Quoted 4 lines
It's small enough and if it's annoying enough we can probably put it into clk-fixes to get it fixed for this release instead of waiting. Can Tero ack it?
Sure,
Acked-by Tero Kristo <[email protected]>
Woops, hit send too fast. Thanks! Picked it into clk-fixes.