clk: rockchip: rk3399: keep the pclk_vio is CLK_IGNORE_UNUSED and critical
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 22 Apr 2016 07:26:55 +0000 (15:26 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Mon, 25 Apr 2016 12:35:26 +0000 (20:35 +0800)
commit03ad390fa7224ec0a03cb2457f6ed938e2ce07f9
treea151efa0541f4073a63d7f2f2628b5639a643da4
parent276292803f1935bfd480c40844bbc662b37c7328
clk: rockchip: rk3399: keep the pclk_vio is CLK_IGNORE_UNUSED and critical

When we use the MIPI screen, the driver will unprepare and disable
the phy_cfg, it will diable its parent pclk_vio:
dw_mipi_dsi_phy_init
  --> clk_disable_unprepare
    --> clk_disable
      --> clk_core_disable(core->parent)

The pclk_vio supply power for pclk_vio_grf, hence, disable pclk_vio_grf will
cause other drivers failed to operate GRF.

Change-Id: I6d5bd27b9478da09209130f1fd5a62c0d4bb1785
Reported-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
drivers/clk/rockchip/clk-rk3399.c