soc: rockchip: power-domain: export idle request
authorCaesar Wang <wxt@rock-chips.com>
Fri, 18 Nov 2016 08:24:20 +0000 (16:24 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 7 Dec 2016 06:53:43 +0000 (14:53 +0800)
commit7a96f91b3f180d10fde0e3dbb98773338beb8efb
treef8b6a0881a950e3d61f1e6c6271f73346e7619b3
parentdd7968cf8a5ea6af037d6ce3cd8c6aace2815f32
soc: rockchip: power-domain: export idle request

We need to put the power status of HEVC IP into IDLE unless
we can't reset that IP or the SoC would crash down.
rockchip_pmu_idle_request(dev, true)---> enter idle
rockchip_pmu_idle_request(dev, false)---> exit idle

Change-Id: I76733efd2de4f7ee183c1b6bd1545d60038ee31b
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
drivers/soc/rockchip/pm_domains.c
include/linux/rockchip/pmu.h