clk: imx: imx7d: Fix parent clock for OCRAM_CLK
[ 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 0
after:
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 0
Reference Doc: i.MX 7D Reference Manual - Chap 5, p 516
(https://www.nxp.com/docs/en/reference-manual/IMX7DRM.pdf)
Fixes:
8f6d8094b215 ("ARM: imx: add imx7d clk tree support")
Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>