clk: qcom: gcc-neo: Snapshot of GCC driver for NEO

Add snapshot of support of Global Clock Controller for peripheral
clock clients to be able to request for the clocks on NEO from
msm-5.10 branch
commit 65ec2ca93cf8 ("clk: qcom: gcc-neo: Add support
for GCC clock driver").

Change-Id: I2a77b55708376d5dda3d3137127267952002a718
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
This commit is contained in:
Kalpak Kawadkar 2024-07-09 12:24:28 +05:30 committed by Chintan Kothari
parent fce407b7af
commit f2ff920d1c
3 changed files with 2698 additions and 0 deletions

View File

@ -1490,6 +1490,15 @@ config SM_DEBUGCC_VOLCANO
Volcano devices.
Say Y if you want to support the debug clocks such as clock
measurement functionality.
config SXR_GCC_NEO
tristate "NEO Global Clock Controller"
depends on COMMON_CLK_QCOM
help
Support for the global clock controller on Qualcomm Technologies, Inc.
NEO devices.
Say Y if you want to use peripheral devices such as UART, SPI, I2C,
USB, UFS, SD/eMMC, PCIE, etc.
endif
config VIRTIO_CLK

View File

@ -153,6 +153,7 @@ obj-$(CONFIG_SM_GCC_PINEAPPLE) += gcc-pineapple.o
obj-$(CONFIG_SM_GCC_PITTI) += gcc-pitti.o
obj-$(CONFIG_SM_GCC_VOLCANO) += gcc-volcano.o
obj-$(CONFIG_SXR_GCC_ANORAK) += gcc-anorak.o
obj-$(CONFIG_SXR_GCC_NEO) += gcc-neo.o
obj-$(CONFIG_SXR_GCC_NIOBE) += gcc-niobe.o
obj-$(CONFIG_SM_GPUCC_6150) += gpucc-sm6150.o
obj-$(CONFIG_SM_GPUCC_6350) += gpucc-sm6350.o

2688
drivers/clk/qcom/gcc-neo.c Normal file

File diff suppressed because it is too large Load Diff