]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: clock: renesas,cpg-clocks: Document ZT/ZTR trace clock on R-Mobile APE6
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 2 May 2026 18:55:42 +0000 (20:55 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 15 May 2026 09:26:26 +0000 (11:26 +0200)
Document the ZT trace bus and ZTR trace clocks on R-Mobile APE6.  These
clocks supply the coresight tracing modules, PTM, TPIU, ETB and
replicator.  Without these clocks, coresight tracing can not be
operated.  While this does change the ABI, it does so by extending the
existing clock-output-names, therefore if old software is used with new
DT, the coresight tracing parts will likely fail to probe, otherwise if
new software is used with an old DT, there is no impact.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260502185557.93061-2-marek.vasut+renesas@mailbox.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml
include/dt-bindings/clock/r8a73a4-clock.h

index 925ed35d6658a8abc459eafa07b717c8039f3da9..703b5bf26717cc415e212bd3323b6d2aa21b686a 100644 (file)
@@ -90,6 +90,8 @@ allOf:
             - const: zx
             - const: zs
             - const: hp
+            - const: ztr
+            - const: zt
 
   - if:
       properties:
index 655440a3e7c6868a547e0ec7f0ab439829fe522c..028ecef81451cf3bd3368c2f5993793b86e89d76 100644 (file)
@@ -23,6 +23,8 @@
 #define R8A73A4_CLK_ZX         13
 #define R8A73A4_CLK_ZS         14
 #define R8A73A4_CLK_HP         15
+#define R8A73A4_CLK_ZTR                16
+#define R8A73A4_CLK_ZT         17
 
 /* MSTP1 */
 #define R8A73A4_CLK_TMU0       25