[PATCH v2 3/6] dt-bindings: clock: qcom: Add CAMCC clocks for QCS8300

Imran Shaik
2024-10-24T13:31:55Z

The QCS8300 camera clock controller is mostly identical to SA8775P, but
QCS8300 has one additional clock and minor differences. Hence, reuse the
SA8775P camera bindings and add additional clock required for QCS8300.

Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
---
Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml | 1 +
include/dt-bindings/clock/qcom,sa8775p-camcc.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
index 36a60d8f5ae3..18cbc23b9a07 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
@@ -18,6 +18,7 @@ description: |
properties:
compatible:
enum:
+ - qcom,qcs8300-camcc
- qcom,sa8775p-camcc

clocks:
diff --git a/include/dt-bindings/clock/qcom,sa8775p-camcc.h b/include/dt-bindings/clock/qcom,sa8775p-camcc.h
index 38531acd699f..36ac587a981a 100644
--- a/include/dt-bindings/clock/qcom,sa8775p-camcc.h
+++ b/include/dt-bindings/clock/qcom,sa8775p-camcc.h
@@ -93,6 +93,7 @@
#define CAM_CC_SM_OBS_CLK 83
#define CAM_CC_XO_CLK_SRC 84
#define CAM_CC_QDSS_DEBUG_XO_CLK 85
+#define CAM_CC_TITAN_TOP_ACCU_SHIFT_CLK 86

/* CAM_CC power domains */
#define CAM_CC_TITAN_TOP_GDSC 0

--
2.25.1