Re: [PATCH v2 02/10] dt-bindings: ptp: Document TSCSS hardware on Qualcomm QDU1000 SoC
From: Imran Shaik
Date: Thu Nov 12 2026 - 04:42:59 EST
On 09-11-2026 06:19 pm, Krzysztof Kozlowski wrote:
On Sun, Nov 08, 2026 at 06:48:23PM +0530, Imran Shaik wrote:
Add Devicetree bindings for the Timestamp Counter Subsystem (TSCSS) found
on Qualcomm QDU1000 SoC.
TSCSS is a time synchronization subsystem composed of two main blocks:
Timestamp Counter (TSC) and Event Timestamp Unit (ETU). The TSC block
provides a continuously running counter used for timekeeping, while the
ETU captures timestamps for external hardware event triggers.
Co-developed-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
Signed-off-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
Signed-off-by: Imran Shaik <imran.shaik@xxxxxxxxxxxxxxxx>
---
.../bindings/ptp/qcom,qdu1000-tscss.yaml | 170 +++++++++++++++++++++
1 file changed, 170 insertions(+)
diff --git a/Documentation/devicetree/bindings/ptp/qcom,qdu1000-tscss.yaml b/Documentation/devicetree/bindings/ptp/qcom,qdu1000-tscss.yaml
new file mode 100644
index 000000000000..52a063ec4b78
--- /dev/null
+++ b/Documentation/devicetree/bindings/ptp/qcom,qdu1000-tscss.yaml
@@ -0,0 +1,170 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/ptp/qcom,qdu1000-tscss.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Timestamp Counter Subsystem (TSCSS) on Qualcomm QDU1000 SoC
+
+maintainers:
+ - Imran Shaik <imran.shaik@xxxxxxxxxxxxxxxx>
+ - Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
+
+description: |
+ Qualcomm TSCSS is a time synchronization subsystem composed of two main
+ blocks - the Timestamp Counter (TSC) and the Event Timestamp Unit (ETU).
+
+ The TSC block is a timestamp generator that maintains a running counter used
+ for system timekeeping, and is functional with just the AHB and counter
+ clocks.
+ The ETU block captures TSC timestamps for external hardware events. Each
+ ETU slice binds a slice number to an external event selector, and
+ generates its own interrupt when that event is triggered.
+
+properties:
+ compatible:
+ const: qcom,qdu1000-tscss
I failed to spot the difference against your binding at patch #1. How do
they differ?
The ETU interrupt wiring between the QDU1000 and SA8775P/QCS8300 is
different.
The SA8775P/QCS8300 share one summary interrupt across all ETU slices,
and the QDU1000 has each slice with its own interrupt line. Due to this,
kept them as separate bindings.
Can add them into one file with an if/then on compatible if you'd
prefer. Please let me know.
Thanks,
Imran