Skip to content

Commit

Permalink
clk: qcom: Add support for MSM8960's global clock controller (GCC)
Browse files Browse the repository at this point in the history
Add a driver for the global clock controller found on MSM8960
based platforms. This should allow most non-multimedia device
drivers to probe and control their clocks.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
  • Loading branch information
Stephen Boyd authored and Mike Turquette committed Jan 16, 2014
1 parent b36ba30 commit 2ec9413
Show file tree
Hide file tree
Showing 5 changed files with 3,434 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/clk/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ config COMMON_CLK_QCOM
depends on OF
select REGMAP_MMIO
select RESET_CONTROLLER

config MSM_GCC_8960
tristate "MSM8960 Global Clock Controller"
depends on COMMON_CLK_QCOM
help
Support for the global clock controller on msm8960 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
i2c, USB, SD/eMMC, SATA, PCIe, etc.
2 changes: 2 additions & 0 deletions drivers/clk/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ clk-qcom-$(CONFIG_COMMON_CLK_QCOM) += clk-rcg.o
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_8960) += gcc-msm8960.o
Loading

0 comments on commit 2ec9413

Please sign in to comment.