soc: rockchip: introduce system status notifier
authorFinley Xiao <finley.xiao@rock-chips.com>
Mon, 22 May 2017 12:59:20 +0000 (20:59 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Mon, 26 Jun 2017 09:56:39 +0000 (17:56 +0800)
commit7e1f848e15a8a5b9fb395a775176a057df38ad52
treea64d05c8c2a8dd8d8a43a1a2893b0eb1a05f4e69
parentf736e71ba810a6d677d7216455e739d41c140d95
soc: rockchip: introduce system status notifier

This makes dmc driver possible to register a system status notifier and
other drivers possible to call the notifier call-back easily, so that
the dmc driver can change frequency according to different system status.

Change-Id: I1a4fb4649366d75310d2e29f87775bb2d9ca3d67
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/soc/rockchip/Makefile
drivers/soc/rockchip/rockchip-system-status.c [new file with mode: 0644]
include/dt-bindings/soc/rockchip-system-status.h [new file with mode: 0644]
include/linux/rockchip/common.h
include/soc/rockchip/rockchip-system-status.h [new file with mode: 0644]