Skip to content

Commit 1664014

Browse files
0xB0Dbebarino
authored andcommitted
clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller
This patch adds support for the MSM8939 GCC. The MSM8939 is based on the MSM8916. MSM8939 is compatible in several ways with MSM8916 but, has additional functional blocks added which require additional PLL sources. In some cases functional blocks from the MSM8916 have different clock sources or different supported frequencies. Cc: Andy Gross <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Rob Herring <[email protected]> Cc: Philipp Zabel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Co-developed-by: Shawn Guo <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Tested-by: Vincent Knecht <[email protected]> Signed-off-by: Bryan O'Donoghue <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Tested-by: Konrad Dybcio <[email protected]> [[email protected]: Drop ret in probe function to remove unused variable] Signed-off-by: Stephen Boyd <[email protected]>
1 parent bd4bb22 commit 1664014

File tree

3 files changed

+3997
-0
lines changed

3 files changed

+3997
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ config MSM_GCC_8916
142142
Say Y if you want to use devices such as UART, SPI i2c, USB,
143143
SD/eMMC, display, graphics, camera etc.
144144

145+
config MSM_GCC_8939
146+
tristate "MSM8939 Global Clock Controller"
147+
select QCOM_GDSC
148+
help
149+
Support for the global clock controller on msm8939 devices.
150+
Say Y if you want to use devices such as UART, SPI i2c, USB,
151+
SD/eMMC, display, graphics, camera etc.
152+
145153
config MSM_GCC_8960
146154
tristate "APQ8064/MSM8960 Global Clock Controller"
147155
help

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o
2828
obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o
2929
obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o
3030
obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o
31+
obj-$(CONFIG_MSM_GCC_8939) += gcc-msm8939.o
3132
obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o
3233
obj-$(CONFIG_MSM_GCC_8974) += gcc-msm8974.o
3334
obj-$(CONFIG_MSM_GCC_8994) += gcc-msm8994.o

0 commit comments

Comments
 (0)