diff options
author | Bintian Wang <bintian.wang@huawei.com> | 2015-05-29 04:08:38 +0200 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-06-04 00:12:25 +0200 |
commit | 72ea48610d43c59507d9ad39083d40085400ba12 (patch) | |
tree | 826b1a5073246280adf5d90dbbecf492848af009 /drivers/clk/hisilicon/Kconfig | |
parent | dt-bindings: Add header file of hi6220 clock driver (diff) | |
download | linux-72ea48610d43c59507d9ad39083d40085400ba12.tar.xz linux-72ea48610d43c59507d9ad39083d40085400ba12.zip |
clk: hi6220: Clock driver support for Hisilicon hi6220 SoC
Add clock drivers for hi6220 SoC, this driver controls the SoC
registers to supply different clocks to different IPs in the SoC.
We add one divider clock for hi6220 because the divider in hi6220
also has a mask bit but it doesnot obey the rule defined by flag
"CLK_DIVIDER_HIWORD_MASK", we can not get index of the mask bit by
left shift fixed bits (e.g. 16 bits), so we add this divider clock
to handle it.
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Tested-by: Tyler Baker <tyler.baker@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/hisilicon/Kconfig')
-rw-r--r-- | drivers/clk/hisilicon/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/hisilicon/Kconfig b/drivers/clk/hisilicon/Kconfig new file mode 100644 index 000000000000..b4165ba75d9f --- /dev/null +++ b/drivers/clk/hisilicon/Kconfig @@ -0,0 +1,6 @@ +config COMMON_CLK_HI6220 + bool "Hi6220 Clock Driver" + depends on ARCH_HISI || COMPILE_TEST + default ARCH_HISI + help + Build the Hisilicon Hi6220 clock driver based on the common clock framework. |