Patch "clk: imx: imx7d: Fix parent clock for OCRAM_CLK" has been added to the 4.14-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
clk: imx: imx7d: Fix parent clock for OCRAM_CLK
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
clk-imx-imx7d-fix-parent-clock-for-ocram_clk.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Dec 18 13:28:59 CET 2017
From: Adriana Reus <[email protected]>
Date: Mon, 2 Oct 2017 13:32:10 +0300
Subject: clk: imx: imx7d: Fix parent clock for OCRAM_CLK
From: Adriana Reus <[email protected]>
[ Upstream commit edc5a8e754aba9c6eaeddd18cb1e72462f99b16c ]
The parent of OCRAM_CLK should be axi_main_root_clk and not axi_post_div.
before:
axi_src 1 1 332307692 0 0
axi_cg 1 1 332307692 0 0
axi_pre_div 1 1 332307692 0 0
axi_post_div 1 1 332307692 0 0
ocram_clk 0 0 332307692 0 0
main_axi_root_clk 1 1 332307692 0 0after:
axi_src 1 1 332307692 0 0
axi_cg 1 1 332307692 0 0
axi_pre_div 1 1 332307692 0 0
axi_post_div 1 1 332307692 0 0
main_axi_root_clk 1 1 332307692 0 0
ocram_clk 0 0 332307692 0 0Reference Doc: i.MX 7D Reference Manual - Chap 5, p 516
(https://www.nxp.com/docs/en/reference-manual/IMX7DRM.pdf)
--- drivers/clk/imx/clk-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/imx/clk-imx7d.c +1 -1
@@ -797,7 +797,7 @@ static void __init imx7d_clocks_init(str clks[IMX7D_MAIN_AXI_ROOT_CLK ] =imx_clk_gate4 ("main_axi_root_clk" ,"axi_post_div" , base +0x4040 ,0 ); clks[IMX7D_DISP_AXI_ROOT_CLK ] =imx_clk_gate4 ("disp_axi_root_clk" ,"disp_axi_post_div" , base +0x4050 ,0 ); clks[IMX7D_ENET_AXI_ROOT_CLK ] =imx_clk_gate4 ("enet_axi_root_clk" ,"enet_axi_post_div" , base +0x4060 ,0 ); - clks[IMX7D_OCRAM_CLK ] =imx_clk_gate4 ("ocram_clk" ,"axi_post_div" , base +0x4110 ,0 ); + clks[IMX7D_OCRAM_CLK ] =imx_clk_gate4 ("ocram_clk" ,"main_axi_root_clk" , base +0x4110 ,0 ); clks[IMX7D_OCRAM_S_CLK ] =imx_clk_gate4 ("ocram_s_clk" ,"ahb_root_clk" , base +0x4120 ,0 ); clks[IMX7D_DRAM_ROOT_CLK ] =imx_clk_gate4 ("dram_root_clk" ,"dram_post_div" , base +0x4130 ,0 ); clks[IMX7D_DRAM_PHYM_ROOT_CLK ] =imx_clk_gate4 ("dram_phym_root_clk" ,"dram_phym_cg" , base +0x4130 ,0 );
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/clk-imx-imx7d-fix-parent-clock-for-ocram_clk.patch