ARM Coresight Dummy source component

Schema identifier ($id): "http://devicetree.org/schemas/arm/arm,coresight-dummy-source.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

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.

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.

The primary use case of the coresight dummy source is to build path in kernel side for dummy source component.

Maintainers (maintainers): "Mike Leach <mike.leach@linaro.org>", "Suzuki K Poulose <suzuki.poulose@arm.com>", "James Clark <james.clark@linaro.org>", "Mao Jinlong <jinlong.mao@oss.qualcomm.com>", "Hao Zhang <quic_hazha@quicinc.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,coresight-dummy-source"

label — not listed as required here #

Description of a coresight device.

arm,static-trace-id — not listed as required here #

If dummy source needs static id support, use this to set trace id.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 111

out-ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port — not listed as required here

Output connection from the source to Coresight Trace bus.

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Required in this object (required): "compatible", "out-ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

source {
  compatible = "arm,coresight-dummy-source";

  out-ports {
    port {
      dummy_riscv_out_funnel_swao: endpoint {
        remote-endpoint = <&funnel_swao_in_dummy_riscv>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 67: Minimum dummy source definition. Dummy source connect to coresight funnel.

Edit this page