Skip to content

Commit

Permalink
clk: qcom: Add SM6125 (TRINKET) GCC driver
Browse files Browse the repository at this point in the history
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 <konrad.dybcio@somainline.org>
Signed-off-by: Martin Botka <martin.botka@somainline.org>
Link: https://lore.kernel.org/r/20210605121040.282053-2-martin.botka@somainline.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[sboyd@kernel.org: Mark gcc_sm6125_hws array static]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Konrad Dybcio authored and bebarino committed Jun 27, 2021
1 parent 11fa5f8 commit 4b8d6ae
Show file tree
Hide file tree
Showing 3 changed files with 4,198 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/clk/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,13 @@ config SM_DISPCC_8250
Say Y if you want to support display devices and functionality such as
splash screen.

config SM_GCC_6125
tristate "SM6125 Global Clock Controller"
help
Support for the global clock controller on SM6125 devices.
Say Y if you want to use peripheral devices such as UART,
SPI, I2C, USB, SD/UFS, PCIe etc.

config SM_GCC_8150
tristate "SM8150 Global Clock Controller"
help
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ obj-$(CONFIG_SDM_LPASSCC_845) += lpasscc-sdm845.o
obj-$(CONFIG_SDM_VIDEOCC_845) += videocc-sdm845.o
obj-$(CONFIG_SDX_GCC_55) += gcc-sdx55.o
obj-$(CONFIG_SM_DISPCC_8250) += dispcc-sm8250.o
obj-$(CONFIG_SM_GCC_6125) += gcc-sm6125.o
obj-$(CONFIG_SM_GCC_8150) += gcc-sm8150.o
obj-$(CONFIG_SM_GCC_8250) += gcc-sm8250.o
obj-$(CONFIG_SM_GCC_8350) += gcc-sm8350.o
Expand Down
Loading

0 comments on commit 4b8d6ae

Please sign in to comment.