[PATCH 3/5] dt-bindings: clock: qcom: Add Maili global clock controller
From: Taniya Das
Date: Thu Jun 18 2026 - 13:22:54 EST
Add device tree bindings for the global clock controller on the
Qualcomm Maili SoC by extending the Qualcomm Hawi GCC bindings
since Maili is identical to Hawi and has few additional clocks.
Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml | 4 +++-
include/dt-bindings/clock/qcom,hawi-gcc.h | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
index 4f428c0f7286e83683a65cbe60b2cfeff67f5b8b..f0e8c6144697100588d68bc7c4f1d9822dba4cc2 100644
--- a/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
@@ -17,7 +17,9 @@ description: |
properties:
compatible:
- const: qcom,hawi-gcc
+ enum:
+ - qcom,hawi-gcc
+ - qcom,maili-gcc
clocks:
items:
diff --git a/include/dt-bindings/clock/qcom,hawi-gcc.h b/include/dt-bindings/clock/qcom,hawi-gcc.h
index 6cd7fa0884f535efce90b60997662ca90cfb9b7e..9e0e382af3112b980997f0c7e223720517f12b02 100644
--- a/include/dt-bindings/clock/qcom,hawi-gcc.h
+++ b/include/dt-bindings/clock/qcom,hawi-gcc.h
@@ -196,6 +196,16 @@
#define GCC_VIDEO_AXI0C_CLK 186
#define GCC_VIDEO_XO_CLK 187
+/* Maili has below additional clocks on top of Hawi */
+#define GCC_QUPV3_WRAP5_CORE_2X_CLK 188
+#define GCC_QUPV3_WRAP5_CORE_CLK 189
+#define GCC_QUPV3_WRAP5_QSPI_REF_CLK 190
+#define GCC_QUPV3_WRAP5_QSPI_REF_CLK_SRC 191
+#define GCC_QUPV3_WRAP5_S0_CLK 192
+#define GCC_QUPV3_WRAP5_S0_CLK_SRC 193
+#define GCC_QUPV3_WRAP_5_M_AHB_CLK 194
+#define GCC_QUPV3_WRAP_5_S_AHB_CLK 195
+
/* GCC power domains */
#define GCC_PCIE_0_GDSC 0
#define GCC_PCIE_0_PHY_GDSC 1
--
2.34.1