mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
clk: qcom: Add support for MSM8660's global clock controller (GCC)
Add a driver for the global clock controller found on MSM8660 based platforms. This should allow most non-multimedia device drivers to probe and control their clocks. Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Mike Turquette <[email protected]>
This commit is contained in:
parent
d8b212014e
commit
0eeff27b49
5 changed files with 3238 additions and 0 deletions
|
|
@ -4,6 +4,14 @@ config COMMON_CLK_QCOM
|
|||
select REGMAP_MMIO
|
||||
select RESET_CONTROLLER
|
||||
|
||||
config MSM_GCC_8660
|
||||
tristate "MSM8660 Global Clock Controller"
|
||||
depends on COMMON_CLK_QCOM
|
||||
help
|
||||
Support for the global clock controller on msm8660 devices.
|
||||
Say Y if you want to use peripheral devices such as UART, SPI,
|
||||
i2c, USB, SD/eMMC, etc.
|
||||
|
||||
config MSM_GCC_8960
|
||||
tristate "MSM8960 Global Clock Controller"
|
||||
depends on COMMON_CLK_QCOM
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-rcg2.o
|
|||
clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-branch.o
|
||||
clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += reset.o
|
||||
|
||||
obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o
|
||||
obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o
|
||||
obj-$(CONFIG_MSM_GCC_8974) += gcc-msm8974.o
|
||||
obj-$(CONFIG_MSM_MMCC_8960) += mmcc-msm8960.o
|
||||
|
|
|
|||
2819
drivers/clk/qcom/gcc-msm8660.c
Normal file
2819
drivers/clk/qcom/gcc-msm8660.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue