Add QCOM camera clock controller driver
Subsystems (3)
PATCH v3 1/1 Add QCOM camera clock controller driver
Changes in v3:
1. Mentioned the name of the non-fixed PLL in the comment text.
Changes in v2:
Addressed below review comments - https://lkml.org/lkml/2018/7/23/377
1. Add comment to use clk_rcg2_shared_ops and CLK_SET_RATE_PARENT flag.
2. Replace commas with semicolon for PLL configuration in probe function.
Changes in v1:
This patch series adds a driver and device tree documentation binding for the camera clock controller on some Qualcomm Technologies, Inc, SoCs such as SDM845. This would allow camera drivers to probe and control their clocks.
[v1] : https://lore.kernel.org/patchwork/project/lkml/list/?series=360354
[v2] : https://lore.kernel.org/patchwork/project/lkml/list/?series=361196
Amit Nischal (1):
clk: qcom: Add camera clock controller driver for SDM845
drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/camcc-sdm845.c | 1745 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 1754 insertions(+) create mode 100644 drivers/clk/qcom/camcc-sdm845.c
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
PATCH v3 1/1 clk: qcom: Add camera clock controller driver for SDM845
Add support for the camera clock controller found on SDM845 based devices. This would allow camera drivers to probe and control their clocks.
--- drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/camcc-sdm845.c | 1745 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 1754 insertions(+) create mode 100644 drivers/clk/qcom/camcc-sdm845.c
drivers/clk/qcom/Kconfig +8 -0
@@ -235,6 +235,14 @@ config MSM_GCC_8998 Say Y if you want to use peripheral devices such as UART, SPI, i2c, USB, UFS, SD/eMMC, PCIe, etc. +config SDM_CAMCC_845 + tristate "SDM845 Camera Clock Controller" + depends on COMMON_CLK_QCOM + select SDM_GCC_845 + help + Support for the camera clock controller on SDM845 devices. + Say Y if you want to support camera devices and camera functionality. + config SDM_GCC_845 tristate "SDM845 Global Clock Controller" select QCOM_GDSC
drivers/clk/qcom/Makefile +1 -0
@@ -41,6 +41,7 @@ obj-$(CONFIG_QCOM_CLK_RPM) += clk-rpm.o obj-$(CONFIG_QCOM_CLK_RPMH) += clk-rpmh.o obj-$(CONFIG_QCOM_CLK_SMD_RPM) += clk-smd-rpm.o obj-$(CONFIG_SDM_DISPCC_845) += dispcc-sdm845.o +obj-$(CONFIG_SDM_CAMCC_845) += camcc-sdm845.o obj-$(CONFIG_SDM_GCC_845) += gcc-sdm845.o obj-$(CONFIG_SDM_GPUCC_845) += gpucc-sdm845.o obj-$(CONFIG_SDM_VIDEOCC_845) += videocc-sdm845.o
drivers/clk/qcom/camcc-sdm845.c new file +1745 -0
1,745 lines not on this page · raw message
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Re: [PATCH v3] clk: qcom: Add camera clock controller driver for SDM845
Quoting Amit Nischal (2018-08-08 03:47:19)
Quoted 6 lines
Add support for the camera clock controller found on SDM845 based devices. This would allow camera drivers to probe and control their clocks.
Signed-off-by Amit Nischal <[email protected]>---
Applied to clk-next