[PATCH 3/6] dt-bindings: clock: qcom: document the Seca TCSR Clock Controller

From: Bartosz Golaszewski

Date: Fri Nov 27 2026 - 06:42:03 EST


Add devicetree bindings for the Top Control and Status Register Clock
Controller on Qualcomm Seca SoCs.

Co-developed-by: Tyler Baker <tyler.baker@xxxxxxxxxxxxxxxx>
Signed-off-by: Tyler Baker <tyler.baker@xxxxxxxxxxxxxxxx>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/clock/qcom,seca-tcsr.yaml | 65 ++++++++++++++++++++++
include/dt-bindings/clock/qcom,seca-tcsrcc.h | 25 +++++++++
2 files changed, 90 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qcom,seca-tcsr.yaml b/Documentation/devicetree/bindings/clock/qcom,seca-tcsr.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..1349f70b5672a2de4e9388056e4c560cd1eacde2
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/qcom,seca-tcsr.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/qcom,seca-tcsr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Top Control and Status Register Clock Controller on Qualcomm Seca SoC
+
+maintainers:
+ - Bartosz Golaszewski <brgl@xxxxxxxxxx>
+
+description: |
+ Qualcomm TCSR clock control module provides the clocks, resets and power
+ domains on the Seca SoC.
+
+ See also:
+ - include/dt-bindings/clock/qcom,seca-tcsrcc.h
+
+properties:
+ compatible:
+ const: qcom,seca-tcsr
+
+ clocks:
+ items:
+ - description: TCXO pad clock
+
+ reg:
+ maxItems: 1
+
+ '#clock-cells':
+ const: 1
+
+ vdda-qref-1p2-supply: true
+ vdda-qref0-0p9-supply: true
+ vdda-qref1-0p9-supply: true
+ vdda-qref2-0p9-supply: true
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - '#clock-cells'
+ - vdda-qref-1p2-supply
+ - vdda-qref0-0p9-supply
+ - vdda-qref1-0p9-supply
+ - vdda-qref2-0p9-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/qcom,rpmh.h>
+
+ clock-controller@f1d7000 {
+ compatible = "qcom,seca-tcsr";
+ reg = <0xf1d7000 0xf00c>;
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ #clock-cells = <1>;
+ vdda-qref-1p2-supply = <&vreg_px11>;
+ vdda-qref0-0p9-supply = <&vreg_l1h>;
+ vdda-qref1-0p9-supply = <&vreg_l1h>;
+ vdda-qref2-0p9-supply = <&vreg_l1h>;
+ };
+
+...
diff --git a/include/dt-bindings/clock/qcom,seca-tcsrcc.h b/include/dt-bindings/clock/qcom,seca-tcsrcc.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab77bb343a607813def35276fdbfda927accf346
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,seca-tcsrcc.h
@@ -0,0 +1,25 @@
+/* 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_SECA_TCSRCC_H
+#define _DT_BINDINGS_CLK_QCOM_SECA_TCSRCC_H
+
+/* TCSR_CC clocks */
+#define TCSR_DP_RX_0_CLKREF_EN 0
+#define TCSR_DP_TX_0_CLKREF_EN 1
+#define TCSR_DP_TX_1_CLKREF_EN 2
+#define TCSR_DP_TX_2_CLKREF_EN 3
+#define TCSR_PCIE_CLKREF_EN 4
+#define TCSR_UFS_0_CLKREF_EN 5
+#define TCSR_UFS_1_CLKREF_EN 6
+#define TCSR_USB2_0_CLKREF_EN 7
+#define TCSR_USB2_1_CLKREF_EN 8
+#define TCSR_USB2_2_CLKREF_EN 9
+#define TCSR_USB3_0_CLKREF_EN 10
+#define TCSR_USB3_1_CLKREF_EN 11
+#define TCSR_UX_SGMII_0_CLKREF_EN 12
+#define TCSR_UX_SGMII_1_CLKREF_EN 13
+
+#endif

--
2.47.3