diff options
author | Leo Yan <leo.yan@linaro.org> | 2015-08-04 15:27:28 +0800 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2015-08-24 16:49:10 -0700 |
commit | c1628a2c416da947f5afac615d53189250fa49cb (patch) | |
tree | 1d7c5bea6d920415b59b5ddf2e89b5eef749236a /drivers/clk/hisilicon/Kconfig | |
parent | 832446e8aaaeaf9365da18f95f01a42e6da27279 (diff) | |
download | lwn-c1628a2c416da947f5afac615d53189250fa49cb.tar.gz lwn-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/Kconfig | 2 |
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. |