Skip to content

Commit 3e57709

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: gcc: Add global clock controller driver for SM8250
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: Taniya Das <[email protected]> Signed-off-by: Venkata Narendra Kumar Gutta <[email protected]> Signed-off-by: Vinod Koul <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Bryan O'Donoghue <[email protected]> Tested-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 98394ef commit 3e57709

File tree

3 files changed

+3698
-0
lines changed

3 files changed

+3698
-0
lines changed

drivers/clk/qcom/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,13 @@ config SM_GCC_8150
366366
Say Y if you want to use peripheral devices such as UART,
367367
SPI, I2C, USB, SD/UFS, PCIe etc.
368368

369+
config SM_GCC_8250
370+
tristate "SM8250 Global Clock Controller"
371+
help
372+
Support for the global clock controller on SM8250 devices.
373+
Say Y if you want to use peripheral devices such as UART,
374+
SPI, I2C, USB, SD/UFS, PCIe etc.
375+
369376
config SPMI_PMIC_CLKDIV
370377
tristate "SPMI PMIC clkdiv Support"
371378
depends on SPMI || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ obj-$(CONFIG_SDM_GPUCC_845) += gpucc-sdm845.o
5959
obj-$(CONFIG_SDM_LPASSCC_845) += lpasscc-sdm845.o
6060
obj-$(CONFIG_SDM_VIDEOCC_845) += videocc-sdm845.o
6161
obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
62+
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o
6263
obj-$(CONFIG_SPMI_PMIC_CLKDIV) += clk-spmi-pmic-div.o
6364
obj-$(CONFIG_KPSS_XCC) += kpss-xcc.o
6465
obj-$(CONFIG_QCOM_HFPLL) += hfpll.o

0 commit comments

Comments
 (0)