clk: prograte clk enable/disable to parent
authorPeng Fan <peng.fan@nxp.com>
Wed, 21 Aug 2019 13:35:09 +0000 (13:35 +0000)
committerLukasz Majewski <lukma@denx.de>
Wed, 21 Aug 2019 22:10:09 +0000 (00:10 +0200)
commit0520be0f67e358f57f5a1f805b24f39b143e4334
treea9293447c924a316005fcffb8a07bf2544a6fcea
parente6849e2fd88f16d9592059422173f7f6ab790e07
clk: prograte clk enable/disable to parent

On i.MX8MM, thinking such as clk path
OSC->PLL->PLL GATE->CCM ROOT->CCGR GATE->Device

Only enabling CCGR GATE is not enough, we also need to enable PLL GATE
to make sure the clk path work. So when enabling CCGR GATE,
we could prograte to enabling PLL GATE to make life easier.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/clk-uclass.c