Skip to content

Commit a4f780c

Browse files
taniyadas20andersson
authored andcommitted
clk: qcom: gcc: Add multiple global clock controller driver for Nord SoC
The global clock controller on the Nord SoC is partitioned into GCC, SE_GCC, NE_GCC, and NW_GCC. Introduce driver support for each of these controllers. Signed-off-by: Taniya Das <[email protected]> [Shawn: Drop include of <linux/of.h> as the driver doesn't use any OF APIs] Co-developed-by: Shawn Guo <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] [bjorn: Added missing .use_rpm to gcc_nord_desc] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent cf6e6ac commit a4f780c

6 files changed

Lines changed: 6197 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,16 @@ config CLK_KAANAPALI_VIDEOCC
145145
Say Y if you want to support video devices and functionality such as
146146
video encode/decode.
147147

148+
config CLK_NORD_GCC
149+
tristate "Nord Global Clock Controller"
150+
depends on ARM64 || COMPILE_TEST
151+
select QCOM_GDSC
152+
help
153+
Support for the global clock controller on Nord devices.
154+
Say Y if you want to use peripheral devices such as UART,
155+
SPI, I2C, USB, SD/UFS, PCIe etc. The clock controller is a combination
156+
of GCC, SE_GCC, NE_GCC and NW_GCC.
157+
148158
config CLK_X1E80100_CAMCC
149159
tristate "X1E80100 Camera Clock Controller"
150160
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ obj-$(CONFIG_CLK_KAANAPALI_GCC) += gcc-kaanapali.o
3535
obj-$(CONFIG_CLK_KAANAPALI_GPUCC) += gpucc-kaanapali.o gxclkctl-kaanapali.o
3636
obj-$(CONFIG_CLK_KAANAPALI_TCSRCC) += tcsrcc-kaanapali.o
3737
obj-$(CONFIG_CLK_KAANAPALI_VIDEOCC) += videocc-kaanapali.o
38+
obj-$(CONFIG_CLK_NORD_GCC) += gcc-nord.o negcc-nord.o nwgcc-nord.o segcc-nord.o
3839
obj-$(CONFIG_CLK_NORD_TCSRCC) += tcsrcc-nord.o
3940
obj-$(CONFIG_CLK_X1E80100_CAMCC) += camcc-x1e80100.o
4041
obj-$(CONFIG_CLK_X1E80100_DISPCC) += dispcc-x1e80100.o

0 commit comments

Comments
 (0)