Skip to content

Commit 07f4619

Browse files
FROMLIST: clk: qcom: videocc-x1p42100: Add support for video clock controller
Add support for the video clock controller for video clients to be able to request for videocc clocks on X1P42100 platform. Although X1P42100 is derived from X1E80100, the video clock controller differs significantly. The BSE clocks are newly added, several cdiv clocks have been removed, and most RCG frequency tables have been updated. Initial PLL configurations also require changes, hence introduce a separate videocc driver for X1P42100 platform. Link: https://lore.kernel.org/all/20260331-purwa-videocc-camcc-v3-3-6daca180a4b1@oss.qualcomm.com/ Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
1 parent 232ae56 commit 07f4619

3 files changed

Lines changed: 596 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ config CLK_X1P42100_GPUCC
117117
Say Y if you want to support graphics controller devices and
118118
functionality such as 3D graphics.
119119

120+
config CLK_X1P42100_VIDEOCC
121+
tristate "X1P42100 Video Clock Controller"
122+
depends on ARM64 || COMPILE_TEST
123+
select CLK_X1E80100_GCC
124+
help
125+
Support for the video clock controller on Qualcomm Technologies, Inc.
126+
X1P42100 devices.
127+
Say Y if you want to support video devices and functionality such as
128+
video encode/decode.
129+
120130
config CLK_QCM2290_GPUCC
121131
tristate "QCM2290 Graphics Clock Controller"
122132
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ obj-$(CONFIG_CLK_X1E80100_GCC) += gcc-x1e80100.o
3232
obj-$(CONFIG_CLK_X1E80100_GPUCC) += gpucc-x1e80100.o
3333
obj-$(CONFIG_CLK_X1E80100_TCSRCC) += tcsrcc-x1e80100.o
3434
obj-$(CONFIG_CLK_X1P42100_GPUCC) += gpucc-x1p42100.o
35+
obj-$(CONFIG_CLK_X1P42100_VIDEOCC) += videocc-x1p42100.o
3536
obj-$(CONFIG_CLK_QCM2290_GPUCC) += gpucc-qcm2290.o
3637
obj-$(CONFIG_IPQ_APSS_PLL) += apss-ipq-pll.o
3738
obj-$(CONFIG_IPQ_APSS_5424) += apss-ipq5424.o

0 commit comments

Comments
 (0)