Skip to content

Commit f9580ba

Browse files
taniyadas20andersson
authored andcommitted
clk: qcom: camcc: Add camera clock controller driver for SM8750 SoC
Add support for the Camera Clock Controller (CAMCC) on the SM8750 platform. The CAMCC block on SM8750 includes both the primary camera clock controller and the Camera BIST clock controller, which provides the functional MCLK required for camera operations. Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251202-sm8750_camcc-v1-3-b3f7ef6723f1@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a419f7b commit f9580ba

4 files changed

Lines changed: 3175 additions & 0 deletions

File tree

drivers/clk/qcom/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,16 @@ config SM_CAMCC_8650
10861086
Support for the camera clock controller on SM8650 devices.
10871087
Say Y if you want to support camera devices and camera functionality.
10881088

1089+
config SM_CAMCC_8750
1090+
tristate "SM8750 Camera Clock Controller"
1091+
depends on ARM64 || COMPILE_TEST
1092+
select SM_GCC_8750
1093+
help
1094+
Support for the camera clock controller on SM8750 devices.
1095+
The camera clock controller has a separate cambist controller which
1096+
controls the mclk of the camera clocks.
1097+
Say Y if you want to support camera devices and camera functionality.
1098+
10891099
config SM_DISPCC_4450
10901100
tristate "SM4450 Display Clock Controller"
10911101
depends on ARM64 || COMPILE_TEST

drivers/clk/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ obj-$(CONFIG_SM_CAMCC_8250) += camcc-sm8250.o
138138
obj-$(CONFIG_SM_CAMCC_8450) += camcc-sm8450.o
139139
obj-$(CONFIG_SM_CAMCC_8550) += camcc-sm8550.o
140140
obj-$(CONFIG_SM_CAMCC_8650) += camcc-sm8650.o
141+
obj-$(CONFIG_SM_CAMCC_8750) += cambistmclkcc-sm8750.o camcc-sm8750.o
141142
obj-$(CONFIG_SM_CAMCC_MILOS) += camcc-milos.o
142143
obj-$(CONFIG_SM_DISPCC_4450) += dispcc-sm4450.o
143144
obj-$(CONFIG_SM_DISPCC_6115) += dispcc-sm6115.o

0 commit comments

Comments
 (0)