# ARM Coresight Dummy source component

_Peios Kernel / Hardware and drivers / Device-tree binding reference / ARM platform bindings_

> Device-tree binding reference for ARM Coresight Dummy source component.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;arm&#47;arm&#44;coresight&#45;dummy&#45;source&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">CoreSight components are compliant with the ARM CoreSight architecture
specification and can be connected in various topologies to suit a particular
SoCs tracing needs. These trace components can generally be classified as
sinks, links and sources. Trace data produced by one or more sources flows
through the intermediate links connecting the source to the currently selected
sink.</p>
<p style="white-space: pre-wrap">The Coresight dummy source component is for the specific coresight source
devices kernel don't have permission to access or configure. For some SOCs,
there would be Coresight source trace components on sub-processor which
are connected to AP processor via debug bus. For these devices, a dummy driver
is needed to register them as Coresight source devices, so that paths can be
created in the driver. It provides Coresight API for operations on dummy
source devices, such as enabling and disabling them. It also provides the
Coresight dummy source paths for debugging.</p>
<p style="white-space: pre-wrap">The primary use case of the coresight dummy source is to build path in kernel
side for dummy source component.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Mike Leach &#60;mike&#46;leach&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Suzuki K Poulose &#60;suzuki&#46;poulose&#64;arm&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;James Clark &#60;james&#46;clark&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Mao Jinlong &#60;jinlong&#46;mao&#64;oss&#46;qualcomm&#46;com&#62;&#34;</code></span>, <span id="dt-41b80c63dfd45c913428"><code>&#34;Hao Zhang &#60;quic&#95;hazha&#64;quicinc&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;arm&#44;coresight&#45;dummy&#45;source&#34;</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">Description of a coresight device.</p>
</div>

<a id="dt-8992b5c0c01e1dbc0666"></a>

### <code>arm&#44;static&#45;trace&#45;id</code> — not listed as required here

<div id="dt-9e06f2680bf58bea82d6">
<p style="white-space: pre-wrap">If dummy source needs static id support, use this to set trace id.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-045677b3dbd8b8816aab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-fbc60b42ea43c31a96ad"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-7ab35a8da301eeb9d398"><code>111</code></span>

<a id="dt-a58d0f2c7800c61f8738"></a>

### <code>out&#45;ports</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b49582c43c8b8566441b">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-0929997c6980ff71694d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-faaa63856c377308fd84"></a>

**<code>port</code> — not listed as required here**

<div id="dt-700ac6b822a512dbfee4">
<p style="white-space: pre-wrap">Output connection from the source to Coresight Trace bus.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ace227593fbbebe47bff">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;out&#45;ports&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">source {
  compatible = "arm,coresight-dummy-source";

  out-ports {
    port {
      dummy_riscv_out_funnel_swao: endpoint {
        remote-endpoint = &lt;&amp;funnel_swao_in_dummy_riscv&gt;;
      };
    };
  };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 67:</strong> <span> Minimum dummy source definition. Dummy source connect to coresight funnel.</span></p>

</details>
