| From 4ce3d79044de80ba9827f340f1ea1e9d6131152d Mon Sep 17 00:00:00 2001 |
| From: Tony Lindgren <tony@atomide.com> |
| Date: Fri, 21 Feb 2020 09:10:30 -0800 |
| Subject: [PATCH] clk: ti: am43xx: Fix clock parent for RTC clock |
| |
| commit 5f3d9b07b9bb4679922f0b2e2baa770e74a6bbd3 upstream. |
| |
| 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 <tony@atomide.com> |
| Link: https://lkml.kernel.org/r/20200221171030.39326-1-tony@atomide.com |
| Acked-by: Tero Kristo <t-kristo@ti.com> |
| Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c |
| index 2782d91838ac..2cca1ced913d 100644 |
| --- a/drivers/clk/ti/clk-43xx.c |
| +++ b/drivers/clk/ti/clk-43xx.c |
| @@ -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 }, |
| }; |
| |
| -- |
| 2.7.4 |
| |