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:
parent
28a272d8eb
commit
1ad38ef4db
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -57,6 +57,10 @@ properties:
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
|
||||
|
||||
@ -54,6 +54,10 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
|
||||
@ -54,6 +54,10 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -30,6 +30,10 @@ properties:
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -55,6 +55,10 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
iommus:
|
||||
maxItems: 1
|
||||
|
||||
|
||||
@ -54,6 +54,10 @@ properties:
|
||||
- const: apb_pclk
|
||||
- const: atclk
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
|
||||
@ -39,6 +39,10 @@ properties:
|
||||
items:
|
||||
- const: apb
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -76,6 +76,10 @@ properties:
|
||||
minimum: 0
|
||||
maximum: 32
|
||||
|
||||
label:
|
||||
description:
|
||||
Description of a coresight device.
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user