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

Commit 68b1b9d5 authored by Vivek Aknurwar's avatar Vivek Aknurwar Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: clock: Add camera cc driver bindings for KONA



Add binding documentation for camera cc driver. This will enable
camera cc driver on KONA.

Change-Id: I2bef2ba5bc0e189a1c1ab29fe3dbb4f9623d7801
Signed-off-by: default avatarVivek Aknurwar <viveka@codeaurora.org>
parent e2fa8b9d
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. Camera Clock & Reset Controller Binding
-------------------------------------------------------------------

Required properties :
- compatible: must contain "qcom,camcc-sm8150", "qcom,camcc-sm8150-v2"
		   or "qcom,camcc-kona".
- reg: shall contain base register location and length.
- reg-names: names of registers listed in the same order as in
	     the reg property.
- clock-names: Shall contain "cfg_ahb_clk"
- clocks: phandle + clock reference to the GCC AHB clock.
- vdd_<rail>-supply: The logic rail supply.
- #clock-cells: shall contain 1.

Example:
	clock_camcc: qcom,camcc@ad00000 {
		compatible = "qcom,camcc-kona";
		reg = <0xad00000 0x10000>;
		reg-names = "cc_base";
		vdd_mx-supply = <&VDD_MX_LEVEL>;
		vdd_mm-supply = <&VDD_MMCX_LEVEL>;
		clock-names = "cfg_ahb_clk";
		clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
		#clock-cells = <1>;
	};
+13 −15
Original line number Diff line number Diff line
@@ -102,19 +102,18 @@
#define CAM_CC_PLL3_OUT_EVEN					95
#define CAM_CC_PLL4						96
#define CAM_CC_PLL4_OUT_EVEN					97
#define CAM_CC_QDSS_DEBUG_CLK					98
#define CAM_CC_QDSS_DEBUG_CLK_SRC				99
#define CAM_CC_QDSS_DEBUG_XO_CLK				100
#define CAM_CC_SBI_AHB_CLK					101
#define CAM_CC_SBI_AXI_CLK					102
#define CAM_CC_SBI_CLK						103
#define CAM_CC_SBI_CPHY_RX_CLK					104
#define CAM_CC_SBI_CSID_CLK					105
#define CAM_CC_SBI_CSID_CLK_SRC					106
#define CAM_CC_SBI_IFE_0_CLK					107
#define CAM_CC_SBI_IFE_1_CLK					108
#define CAM_CC_SLOW_AHB_CLK_SRC					109
#define CAM_CC_XO_CLK_SRC					110
#define CAM_CC_SBI_AHB_CLK					98
#define CAM_CC_SBI_AXI_CLK					99
#define CAM_CC_SBI_CLK						100
#define CAM_CC_SBI_CPHY_RX_CLK					101
#define CAM_CC_SBI_CSID_CLK					102
#define CAM_CC_SBI_CSID_CLK_SRC					103
#define CAM_CC_SBI_IFE_0_CLK					104
#define CAM_CC_SBI_IFE_1_CLK					105
#define CAM_CC_SLEEP_CLK					106
#define CAM_CC_SLEEP_CLK_SRC					107
#define CAM_CC_SLOW_AHB_CLK_SRC					108
#define CAM_CC_XO_CLK_SRC					109

#define BPS_GDSC						0
#define IFE_0_GDSC						1
@@ -128,7 +127,6 @@
#define CAM_CC_IFE_0_BCR					2
#define CAM_CC_IFE_1_BCR					3
#define CAM_CC_IPE_0_BCR					4
#define CAM_CC_QDSS_DEBUG_BCR					5
#define CAM_CC_SBI_BCR						6
#define CAM_CC_SBI_BCR						5

#endif