summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@nxp.com>2017-05-12 13:00:22 +0300
committerAnson Huang <Anson.Huang@nxp.com>2017-06-09 22:22:44 +0800
commit94cfc043a884294e4a2b3ffc588f21232d120a49 (patch)
tree911a9b34d0aca2247a28e85ff7f0402d8ef9e0ed /drivers/clk
parent1b6253627520e16b7b7c0515571afbfc979ffc89 (diff)
MLK-14706 clk: imx7d: align with upstream: update arm a7 root clock init
In upstream, IMX7D_ARM_A7_ROOT_SRC uses imx_clk_mux2 for initialization, while our code uses imx_clk_mux_flags_bus with additional flags CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE. In the end, both calls set the flags of IMX7D_ARM_A7_ROOT_SRC clock to CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE. To align our code to upstream, we can safely use imx_clk_mux2. Signed-off-by: Irina Tirdea <irina.tirdea@nxp.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/imx/clk-imx7d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index 33798b8e3cd1..3ccc49fd228f 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -512,7 +512,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
base = of_iomap(np, 0);
WARN_ON(!base);
- clks[IMX7D_ARM_A7_ROOT_SRC] = imx_clk_mux_flags_bus("arm_a7_src", base + 0x8000, 24, 3, arm_a7_sel, ARRAY_SIZE(arm_a7_sel), CLK_SET_RATE_NO_REPARENT | CLK_OPS_PARENT_ENABLE);
+ clks[IMX7D_ARM_A7_ROOT_SRC] = imx_clk_mux2("arm_a7_src", base + 0x8000, 24, 3, arm_a7_sel, ARRAY_SIZE(arm_a7_sel));
clks[IMX7D_ARM_M4_ROOT_SRC] = imx_clk_mux2("arm_m4_src", base + 0x8080, 24, 3, arm_m4_sel, ARRAY_SIZE(arm_m4_sel));
clks[IMX7D_ARM_M0_ROOT_SRC] = imx_clk_mux2("arm_m0_src", base + 0x8100, 24, 3, arm_m0_sel, ARRAY_SIZE(arm_m0_sel));
clks[IMX7D_MAIN_AXI_ROOT_SRC] = imx_clk_mux2("axi_src", base + 0x8800, 24, 3, axi_sel, ARRAY_SIZE(axi_sel));