soc: rockchip: power-domain: export rockchip_pm_register_notify_to_dmc
authorFinley Xiao <finley.xiao@rock-chips.com>
Tue, 2 May 2017 07:15:26 +0000 (15:15 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 4 May 2017 07:00:54 +0000 (15:00 +0800)
commita670400e8bd6f49299e8c301fd841c1101f0c2e9
treeec9c4e49ccd394db36fa28f0803c9bd9b9b6f2df
parente25503f147cf665b6fc910983859d9f94eaf0d00
soc: rockchip: power-domain: export rockchip_pm_register_notify_to_dmc

This function registers a notifier to dmc devfreq, it will lock the mutex
of pmu when scaling frequency, so that pd driver and dmc driver will not
assess register PMU_BUS_IDLE_REQ at the same time.

Change-Id: I0ba96599d9050d11924d032146e6b4d415629614
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/soc/rockchip/pm_domains.c
include/soc/rockchip/rockchip_dmc.h [new file with mode: 0644]