~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/arm/arm,coresight-tmc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Arm CoreSight Trace Memory Controller
  8 
  9 maintainers:
 10   - Mathieu Poirier <mathieu.poirier@linaro.org>
 11   - Mike Leach <mike.leach@linaro.org>
 12   - Leo Yan <leo.yan@linaro.org>
 13   - Suzuki K Poulose <suzuki.poulose@arm.com>
 14 
 15 description: |
 16   CoreSight components are compliant with the ARM CoreSight architecture
 17   specification and can be connected in various topologies to suit a particular
 18   SoCs tracing needs. These trace components can generally be classified as
 19   sinks, links and sources. Trace data produced by one or more sources flows
 20   through the intermediate links connecting the source to the currently selected
 21   sink.
 22 
 23   Trace Memory Controller is used for Embedded Trace Buffer(ETB), Embedded Trace
 24   FIFO(ETF) and Embedded Trace Router(ETR) configurations. The configuration
 25   mode (ETB, ETF, ETR) is discovered at boot time when the device is probed.
 26 
 27 # Need a custom select here or 'arm,primecell' will match on lots of nodes
 28 select:
 29   properties:
 30     compatible:
 31       contains:
 32         const: arm,coresight-tmc
 33   required:
 34     - compatible
 35 
 36 allOf:
 37   - $ref: /schemas/arm/primecell.yaml#
 38 
 39 properties:
 40   compatible:
 41     items:
 42       - const: arm,coresight-tmc
 43       - const: arm,primecell
 44 
 45   reg:
 46     maxItems: 1
 47 
 48   clocks:
 49     minItems: 1
 50     maxItems: 2
 51 
 52   clock-names:
 53     minItems: 1
 54     items:
 55       - const: apb_pclk
 56       - const: atclk
 57 
 58   iommus:
 59     maxItems: 1
 60 
 61   power-domains:
 62     maxItems: 1
 63 
 64   arm,buffer-size:
 65     $ref: /schemas/types.yaml#/definitions/uint32
 66     deprecated: true
 67     description:
 68       Size of contiguous buffer space for TMC ETR (embedded trace router). The
 69       buffer size can be configured dynamically via buffer_size property in
 70       sysfs instead.
 71 
 72   arm,scatter-gather:
 73     type: boolean
 74     description:
 75       Indicates that the TMC-ETR can safely use the SG mode on this system.
 76 
 77   arm,max-burst-size:
 78     description:
 79       The maximum burst size initiated by TMC on the AXI master interface. The
 80       burst size can be in the range [0..15], the setting supports one data
 81       transfer per burst up to a maximum of 16 data transfers per burst.
 82     $ref: /schemas/types.yaml#/definitions/uint32
 83     maximum: 15
 84 
 85   in-ports:
 86     $ref: /schemas/graph.yaml#/properties/ports
 87     additionalProperties: false
 88 
 89     properties:
 90       port:
 91         description: Input connection from the CoreSight Trace bus.
 92         $ref: /schemas/graph.yaml#/properties/port
 93 
 94   out-ports:
 95     $ref: /schemas/graph.yaml#/properties/ports
 96     additionalProperties: false
 97 
 98     properties:
 99       port:
100         description: AXI or ATB Master output connection. Used for ETR
101           and ETF configurations.
102         $ref: /schemas/graph.yaml#/properties/port
103 
104 required:
105   - compatible
106   - reg
107   - clocks
108   - clock-names
109   - in-ports
110 
111 unevaluatedProperties: false
112 
113 examples:
114   - |
115     etr@20070000 {
116         compatible = "arm,coresight-tmc", "arm,primecell";
117         reg = <0x20070000 0x1000>;
118 
119         clocks = <&oscclk6a>;
120         clock-names = "apb_pclk";
121         in-ports {
122             port {
123                 etr_in_port: endpoint {
124                     remote-endpoint = <&replicator2_out_port0>;
125                 };
126             };
127         };
128 
129         out-ports {
130             port {
131                 etr_out_port: endpoint {
132                     remote-endpoint = <&catu_in_port>;
133                 };
134             };
135         };
136     };
137 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php