summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/Kconfig
diff options
context:
space:
mode:
authorOtto Pflüger <otto.pflueger@abscue.de>2023-02-23 19:09:33 +0100
committerBjorn Andersson <andersson@kernel.org>2023-03-15 17:20:06 -0700
commit33cc27a47d3ab6b598bf7f7dcd3a858458a4ec1d (patch)
treedfa60a2fdc1341149ebfc4babacab442ccefbc06 /drivers/clk/qcom/Kconfig
parent518634f959df633e00cc5d0b9c8aa2e338e49a44 (diff)
downloadlwn-33cc27a47d3ab6b598bf7f7dcd3a858458a4ec1d.tar.gz
lwn-33cc27a47d3ab6b598bf7f7dcd3a858458a4ec1d.zip
clk: qcom: Add global clock controller driver for MSM8917
This driver provides clocks, resets and power domains needed for various components of the MSM8917 SoC and the very similar QM215 SoC. According to [1] in the downstream kernel, the GPU clock has a different source mapping on QM215 (gcc_gfx3d_map vs gcc_gfx3d_map_qm215). [1]: https://git.codelinaro.org/clo/la/kernel/msm-4.9/-/blob/LF.UM.8.6.2-28000-89xx.0/include/dt-bindings/clock/msm-clocks-hwio-8952.h#L298 Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230223180935.60546-3-otto.pflueger@abscue.de
Diffstat (limited to 'drivers/clk/qcom/Kconfig')
-rw-r--r--drivers/clk/qcom/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 391e7aa35dd7..449bc8314d21 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -204,6 +204,16 @@ config MSM_GCC_8916
Say Y if you want to use devices such as UART, SPI i2c, USB,
SD/eMMC, display, graphics, camera etc.
+config MSM_GCC_8917
+ tristate "MSM8917/QM215 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
+ select QCOM_GDSC
+ help
+ Support for the global clock controller on msm8917 and qm215
+ devices.
+ Say Y if you want to use devices such as UART, SPI i2c, USB,
+ SD/eMMC, display, graphics, camera etc.
+
config MSM_GCC_8939
tristate "MSM8939 Global Clock Controller"
select QCOM_GDSC