1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00

dt-bindings: arm: Add label in the coresight components

Current name of coresight component's folder consists of prefix of
the device and the id in the device list. When run 'ls' command,
we can get the register address of the device. Take CTI for example,
if we want to set the config for modem CTI, but we can't know which
CTI is modem CTI from all current information.

cti_sys0 -> ../../../devices/platform/soc@0/138f0000.cti/cti_sys0
cti_sys1 -> ../../../devices/platform/soc@0/13900000.cti/cti_sys1

Add label to show hardware context information of each coresight
device. There will be a sysfs node label in each device folder.

cat /sys/bus/coresight/devices/cti_sys0/label

Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250816072529.3716968-2-quic_jinlmao@quicinc.com
This commit is contained in:
Mao Jinlong 2025-08-16 00:25:28 -07:00 committed by Suzuki K Poulose
parent 28a272d8eb
commit 1ad38ef4db
15 changed files with 60 additions and 0 deletions

View File

@ -98,6 +98,10 @@ properties:
power-domains:
maxItems: 1
label:
description:
Description of a coresight device.
arm,cti-ctm-id:
$ref: /schemas/types.yaml#/definitions/uint32
description:

View File

@ -39,6 +39,10 @@ properties:
enum:
- arm,coresight-dummy-sink
label:
description:
Description of a coresight device.
in-ports:
$ref: /schemas/graph.yaml#/properties/ports

View File

@ -38,6 +38,10 @@ properties:
enum:
- arm,coresight-dummy-source
label:
description:
Description of a coresight device.
arm,static-trace-id:
description: If dummy source needs static id support, use this to set trace id.
$ref: /schemas/types.yaml#/definitions/uint32

View File

@ -57,6 +57,10 @@ properties:
power-domains:
maxItems: 1
label:
description:
Description of a coresight device.
in-ports:
$ref: /schemas/graph.yaml#/properties/ports

View File

@ -54,6 +54,10 @@ properties:
- const: apb_pclk
- const: atclk
label:
description:
Description of a coresight device.
power-domains:
maxItems: 1

View File

@ -54,6 +54,10 @@ properties:
- const: apb_pclk
- const: atclk
label:
description:
Description of a coresight device.
power-domains:
maxItems: 1

View File

@ -85,6 +85,10 @@ properties:
CPU powers down the coresight component also powers down and loses its
context.
label:
description:
Description of a coresight device.
arm,cp14:
type: boolean
description:

View File

@ -30,6 +30,10 @@ properties:
power-domains:
maxItems: 1
label:
description:
Description of a coresight device.
in-ports:
$ref: /schemas/graph.yaml#/properties/ports

View File

@ -43,6 +43,10 @@ properties:
- const: dbg_trc
- const: dbg_apb
label:
description:
Description of a coresight device.
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false

View File

@ -55,6 +55,10 @@ properties:
- const: apb_pclk
- const: atclk
label:
description:
Description of a coresight device.
iommus:
maxItems: 1

View File

@ -54,6 +54,10 @@ properties:
- const: apb_pclk
- const: atclk
label:
description:
Description of a coresight device.
power-domains:
maxItems: 1

View File

@ -39,6 +39,10 @@ properties:
items:
- const: apb
label:
description:
Description of a coresight device.
in-ports:
$ref: /schemas/graph.yaml#/properties/ports

View File

@ -20,6 +20,10 @@ properties:
compatible:
const: qcom,coresight-remote-etm
label:
description:
Description of a coresight device.
out-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false

View File

@ -64,6 +64,10 @@ properties:
items:
- const: apb_pclk
label:
description:
Description of a coresight device.
in-ports:
description: |
Input connections from TPDM to TPDA

View File

@ -76,6 +76,10 @@ properties:
minimum: 0
maximum: 32
label:
description:
Description of a coresight device.
clocks:
maxItems: 1