[PATCH 2/4] dt-bindings: clock: qcom: Add AV1E clock controller on Glymur SoC

From: Jagadeesh Kona

Date: Thu Oct 15 2026 - 09:55:51 EST


Add compatible string for video AV1 encoder clock controller (AV1ECC)
and the corresponding bindings for Qualcomm Glymur SoC.

Signed-off-by: Jagadeesh Kona <jagadeesh.kona@xxxxxxxxxxxxxxxx>
---
.../bindings/clock/qcom,sm8450-videocc.yaml | 2 ++
include/dt-bindings/clock/qcom,glymur-av1ecc.h | 35 ++++++++++++++++++++++
2 files changed, 37 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
index e985a450451d5e3429cf4630fb59268d9d894eb1..9f460fc4d10eb9245b6b9e55d0099bb1df2045ad 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
@@ -15,6 +15,7 @@ description: |
domains on SM8450.

See also:
+ include/dt-bindings/clock/qcom,glymur-av1ecc.h
include/dt-bindings/clock/qcom,glymur-videocc.h
include/dt-bindings/clock/qcom,hawi-videocc.h
include/dt-bindings/clock/qcom,kaanapali-videocc.h
@@ -28,6 +29,7 @@ description: |
properties:
compatible:
enum:
+ - qcom,glymur-av1ecc
- qcom,glymur-videocc
- qcom,hawi-videocc
- qcom,kaanapali-videocc
diff --git a/include/dt-bindings/clock/qcom,glymur-av1ecc.h b/include/dt-bindings/clock/qcom,glymur-av1ecc.h
new file mode 100644
index 0000000000000000000000000000000000000000..02b5f3d91a63432bc74996153ef1e2f6b7c786fb
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,glymur-av1ecc.h
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#ifndef _DT_BINDINGS_CLK_QCOM_AV1E_CC_GLYMUR_H
+#define _DT_BINDINGS_CLK_QCOM_AV1E_CC_GLYMUR_H
+
+/* AV1E_CC clocks */
+#define AV1E_CC_AHB_CLK 0
+#define AV1E_CC_AV1E_CORE_APB_CLK 1
+#define AV1E_CC_AV1E_CORE_AXI_CLK 2
+#define AV1E_CC_AV1E_CORE_CLK 3
+#define AV1E_CC_AV1E_CORE_CLK_SRC 4
+#define AV1E_CC_AV1E_GDSC_NOC_AHB_CLK 5
+#define AV1E_CC_AV1E_NOC_AHB_CLK 6
+#define AV1E_CC_AV1E_NOC_AHB_DIV_CLK_SRC 7
+#define AV1E_CC_AV1E_NOC_CORE_AXI_CLK 8
+#define AV1E_CC_AV1E_NOC_XO_CLK 9
+#define AV1E_CC_AV1E_XO_CLK_SRC 10
+#define AV1E_CC_PLL0 11
+
+/* AV1E_CC power domains */
+#define AV1E_CC_CORE_GDSC 0
+
+/* AV1E_CC resets */
+#define AV1E_CC_AV1E_CORE_AXI_CLK_ARES 0
+#define AV1E_CC_AV1E_CORE_CLK_ARES 1
+#define AV1E_CC_AV1E_GDSC_NOC_AHB_CLK_ARES 2
+#define AV1E_CC_AV1E_NOC_CORE_AXI_CLK_ARES 3
+#define AV1E_CC_AV1E_NOC_XO_CLK_ARES 4
+#define AV1E_CC_CORE_BCR 5
+#define AV1E_CC_NOC_BCR 6
+
+#endif

--
2.34.1