summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaniya Das <taniya.das@oss.qualcomm.com>2026-07-30 23:24:36 +0530
committerBjorn Andersson <andersson@kernel.org>2026-07-30 16:46:16 -0500
commit86ea9de5fae96051b468ab87a67b7a8f7a1e324d (patch)
treea7fd00852c9cd4a4c8fbaeac7a95f15fafbc5cc8
parent2f4a1d2ed50514ca19a370aa7bf6005ca3f913ff (diff)
dt-bindings: clock: qcom: Add Maili global clock controller
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@oss.qualcomm.com> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260730-maili_initial_clock-v4-3-ed52ade264f0@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,hawi-gcc.yaml11
-rw-r--r--include/dt-bindings/clock/qcom,maili-gcc.h21
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 4f428c0f7286..2101f4e4bb0d 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@oss.qualcomm.com>
+ - Taniya Das <taniya.das@oss.qualcomm.com>
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 000000000000..9bea90adb988
--- /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