summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon/Kconfig
diff options
context:
space:
mode:
authorLeo Yan2015-08-04 09:27:28 +0200
committerMichael Turquette2015-08-25 01:49:10 +0200
commitc1628a2c416da947f5afac615d53189250fa49cb (patch)
tree1d7c5bea6d920415b59b5ddf2e89b5eef749236a /drivers/clk/hisilicon/Kconfig
parentdt-bindings: clk: Hi6220: Document stub clock driver (diff)
downloadkernel-qcow2-linux-c1628a2c416da947f5afac615d53189250fa49cb.tar.gz
kernel-qcow2-linux-c1628a2c416da947f5afac615d53189250fa49cb.tar.xz
kernel-qcow2-linux-c1628a2c416da947f5afac615d53189250fa49cb.zip
clk: Hi6220: add stub clock driver
On Hi6220, there have some clocks which can use mailbox channel to send messages to power controller to change frequency; this includes CPU, GPU and DDR clocks. For dynamic frequency scaling, firstly need write the frequency value to SRAM region, and then send message to mailbox to trigger power controller to handle this requirement. This driver will use syscon APIs to pass SRAM memory region and use common mailbox APIs for channels accessing. This init driver will support cpu frequency change firstly. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/hisilicon/Kconfig')
-rw-r--r--drivers/clk/hisilicon/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/Kconfig b/drivers/clk/hisilicon/Kconfig
index b4165ba75d9f..2c16807341dc 100644
--- a/drivers/clk/hisilicon/Kconfig
+++ b/drivers/clk/hisilicon/Kconfig
@@ -1,6 +1,6 @@
config COMMON_CLK_HI6220
bool "Hi6220 Clock Driver"
- depends on ARCH_HISI || COMPILE_TEST
+ depends on (ARCH_HISI || COMPILE_TEST) && MAILBOX
default ARCH_HISI
help
Build the Hisilicon Hi6220 clock driver based on the common clock framework.