]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx7d: only enable minimum required clocks
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 30 Jun 2016 09:31:18 +0000 (17:31 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 2 Jul 2016 00:43:21 +0000 (17:43 -0700)
commit4e7d7fd387ed71691ec7fe194bcf581b523f518d
tree1cf5dbc27d2d788992400a839d812ee69425662d
parent9fd7915536791fc7ae7913ec1e08cfc5693b9146
clk: imx7d: only enable minimum required clocks

Formerly clk core does not support imx7d clock type well that all
its clock operations requires the parent clock on.
Therefore we enabled all clocks by default in clock driver
initialization for other module clocks operate well.

After patch 'clk: imx7d: using api with flag CLK_OPS_PARENT_ENABLE',
clk core can handle such clock type well, so we don't have to enable
them all by default anymore. Instead, we only enable a minimum required
set of clocks.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/imx/clk-imx7d.c