clk: qcom: Add a regmap type clock struct

Add a clock type that associates a regmap pointer and some
enable/disable bits with a clk_hw struct. This will be the struct
that a hw specific implementation wraps if it wants to use the
regmap helper functions.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
Stephen Boyd
2014-01-15 10:47:23 -08:00
committed by Mike Turquette
parent 3fa2252b7a
commit 085d7a4554
6 changed files with 170 additions and 0 deletions

5
drivers/clk/qcom/Kconfig Normal file
View File

@@ -0,0 +1,5 @@
config COMMON_CLK_QCOM
tristate "Support for Qualcomm's clock controllers"
depends on OF
select REGMAP_MMIO