UPSTREAM: clk: rockchip: mark noc and some special clk as critical on rk3228
authorElaine Zhang <zhangqing@rock-chips.com>
Tue, 2 May 2017 07:34:04 +0000 (15:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 5 Jun 2017 08:10:05 +0000 (16:10 +0800)
commitfe47e58fb1e9d092b0f8c198fdd813fe829fffeb
tree7f95b11c6accda689628ef55ecde1431be2c82bb
parent2d69aae60e027cf94bfd1cf71dbfa8b66d53268d
UPSTREAM: clk: rockchip: mark noc and some special clk as critical on rk3228

The jtag/bus/peri/initmem/rom/stimer/phy clks no driver to handle them.
But this clks need enable,so make it as critical.

The ddrupctl/ddrmon/ddrphy clks no driver to handle them,
Chip design requirements for these clock to always on,

The hclk_otg_pmu is Chip design defect, must be always on,
The new document will update the description of this clock.

All these non-noc/non-arbi clocks,IC suggest always on,
Because it's have some order limitation, between the NOC clock switch
and bus IDLE(or pd on/off).

The software is not very good to solve this constraint.
Always on these clocks, has no effect on the system power consumption.
The new document will update the description of these clock.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git.kernel.org mmind/linux-rockchip.git v4.13-clk/next
 commit f18c0994cda54dc21d3b0ce2ba130b5ea8f58666)

Conflicts:
drivers/clk/rockchip/clk-rk3228.c

Change-Id: Ie2c4c8d2c73a62efe96e64a3ec638970e82051d1
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/clk/rockchip/clk-rk3228.c