Skip to content

Commit 4b8d6ae

Browse files
Konrad Dybciobebarino
authored andcommitted
clk: qcom: Add SM6125 (TRINKET) GCC driver
Add the clocks supported in global clock controller, which clock the peripherals like BLSPs, SDCC, USB, MDSS etc. Register all the clocks to the clock framework for the clients to be able to request for them. Signed-off-by: Konrad Dybcio <[email protected]> Signed-off-by: Martin Botka <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bjorn Andersson <[email protected]> [[email protected]: Mark gcc_sm6125_hws array static] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 11fa5f8 commit 4b8d6ae

File tree

3 files changed

+4198
-0
lines changed

3 files changed

+4198
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,13 @@ config SM_DISPCC_8250
499499
Say Y if you want to support display devices and functionality such as
500500
splash screen.
501501

502+
config SM_GCC_6125
503+
tristate "SM6125 Global Clock Controller"
504+
help
505+
Support for the global clock controller on SM6125 devices.
506+
Say Y if you want to use peripheral devices such as UART,
507+
SPI, I2C, USB, SD/UFS, PCIe etc.
508+
502509
config SM_GCC_8150
503510
tristate "SM8150 Global Clock Controller"
504511
help

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ obj-$(CONFIG_SDM_LPASSCC_845) += lpasscc-sdm845.o
7575
obj-$(CONFIG_SDM_VIDEOCC_845) += videocc-sdm845.o
7676
obj-$(CONFIG_SDX_GCC_55) += gcc-sdx55.o
7777
obj-$(CONFIG_SM_DISPCC_8250) += dispcc-sm8250.o
78+
obj-$(CONFIG_SM_GCC_6125) += gcc-sm6125.o
7879
obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
7980
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o
8081
obj-$(CONFIG_SM_GCC_8350) += gcc-sm8350.o

0 commit comments

Comments
 (0)