Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8219fa63 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: Add the Camera clock driver for SDM855



Add the camera clock definitions and driver support for SDM855.

Change-Id: I62a7cb80d5b142edfdb08c2677e6dcbcd5fb4970
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 00aae456
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. Camera Clock & Reset Controller Binding
-------------------------------------------------------------------

Required properties :
- compatible : must contain "qcom,camcc-sdm855".
- reg : shall contain base register location and length.
- reg-names: names of registers listed in the same order as in
	     the reg property.
- #clock-cells : shall contain 1.

Optional properties :
- vdd_<rail>-supply: The logic rail supply.

Example:
	clock_camcc: qcom,camcc {
		compatible = "qcom,camcc-sdm855";
		reg = <0xad00000 0x10000>;
		reg-names = "cc_base";
		vdd_mx-supply = <&pm855l_s4_level>;
		vdd_mm-supply = <&pm855l_s5_level>;
		#clock-cells = <1>;
	};
+9 −0
Original line number Diff line number Diff line
@@ -231,3 +231,12 @@ config MSM_VIDEOCC_SDM855
	  SDM855 devices.
	  Say Y if you want to support video devices and functionality such as
	  video encode/decode.

config MSM_CAMCC_SDM855
	tristate "SDM855 Camera Clock Controller"
	depends on COMMON_CLK_QCOM
	help
	  Support for the camera clock controller on Qualcomm Technologies, Inc
	  SDM855 devices.
          Say Y if you want to support camera devices and functionality such as
	  capturing pictures.
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ obj-$(CONFIG_IPQ_GCC_8074) += gcc-ipq8074.o
obj-$(CONFIG_IPQ_LCC_806X) += lcc-ipq806x.o
obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o
obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o
obj-$(CONFIG_MSM_CAMCC_SDM855) += camcc-sdm855.o
obj-$(CONFIG_MSM_CLK_AOP_QMP) += clk-aop-qmp.o
obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o
obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o
+2331 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −24
Original line number Diff line number Diff line
@@ -111,28 +111,4 @@
#define CAM_CC_QDSS_DEBUG_XO_CLK				94
#define CAM_CC_SLOW_AHB_CLK_SRC					95

#define CAM_CC_BPS_BCR						0
#define CAM_CC_CAMNOC_BCR					1
#define CAM_CC_CCI_BCR						2
#define CAM_CC_CPAS_BCR						3
#define CAM_CC_CSI0PHY_BCR					4
#define CAM_CC_CSI1PHY_BCR					5
#define CAM_CC_CSI2PHY_BCR					6
#define CAM_CC_CSI3PHY_BCR					7
#define CAM_CC_FD_BCR						8
#define CAM_CC_ICP_BCR						9
#define CAM_CC_IFE_0_BCR					10
#define CAM_CC_IFE_1_BCR					11
#define CAM_CC_IFE_LITE_0_BCR					12
#define CAM_CC_IFE_LITE_1_BCR					13
#define CAM_CC_IPE_0_BCR					14
#define CAM_CC_IPE_1_BCR					15
#define CAM_CC_JPEG_BCR						16
#define CAM_CC_LRME_BCR						17
#define CAM_CC_MCLK0_BCR					18
#define CAM_CC_MCLK1_BCR					19
#define CAM_CC_MCLK2_BCR					20
#define CAM_CC_MCLK3_BCR					21
#define CAM_CC_QDSS_DEBUG_BCR					22

#endif