[PATCH v3 3/5] dt-bindings: clock: qcom: Add Maili global clock controller
From: Taniya Das
Date: Fri Jul 24 2026 - 06:16:10 EST
Add device tree bindings for the global clock controller (GCC) on
the Qualcomm Maili SoC by extending the existing Qualcomm Hawi GCC
bindings, since the Maili GCC is identical to the Hawi GCC apart
from a few additional clocks.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/clock/qcom,hawi-gcc.yaml | 11 ++++++++---
include/dt-bindings/clock/qcom,maili-gcc.h | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
index 4f428c0f7286e83683a65cbe60b2cfeff67f5b8b..2101f4e4bb0d37f5cff42290f88c2f816038c402 100644
--- a/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml
@@ -8,16 +8,21 @@ title: Qualcomm Global Clock & Reset Controller on Hawi
maintainers:
- Vivek Aknurwar <vivek.aknurwar@xxxxxxxxxxxxxxxx>
+ - Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
description: |
Qualcomm global clock control module provides the clocks, resets and power
- domains on Hawi.
+ domains on Hawi and Maili.
- See also: include/dt-bindings/clock/qcom,hawi-gcc.h
+ See also:
+ include/dt-bindings/clock/qcom,hawi-gcc.h
+ include/dt-bindings/clock/qcom,maili-gcc.h
properties:
compatible:
- const: qcom,hawi-gcc
+ enum:
+ - qcom,hawi-gcc
+ - qcom,maili-gcc
clocks:
items:
diff --git a/include/dt-bindings/clock/qcom,maili-gcc.h b/include/dt-bindings/clock/qcom,maili-gcc.h
new file mode 100644
index 0000000000000000000000000000000000000000..9bea90adb988ed9050ec30550d8723ede01ff6d6
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,maili-gcc.h
@@ -0,0 +1,21 @@
+/* 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_GCC_MAILI_H
+#define _DT_BINDINGS_CLK_QCOM_GCC_MAILI_H
+
+#include "qcom,hawi-gcc.h"
+
+/* 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
+
+#endif
--
2.34.1