Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Mao Jinlong and committed by
Suzuki K Poulose
1ad38ef4 28a272d8

+60
+4
Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
··· 98 98 power-domains: 99 99 maxItems: 1 100 100 101 + label: 102 + description: 103 + Description of a coresight device. 104 + 101 105 arm,cti-ctm-id: 102 106 $ref: /schemas/types.yaml#/definitions/uint32 103 107 description:
+4
Documentation/devicetree/bindings/arm/arm,coresight-dummy-sink.yaml
··· 39 39 enum: 40 40 - arm,coresight-dummy-sink 41 41 42 + label: 43 + description: 44 + Description of a coresight device. 45 + 42 46 in-ports: 43 47 $ref: /schemas/graph.yaml#/properties/ports 44 48
+4
Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
··· 38 38 enum: 39 39 - arm,coresight-dummy-source 40 40 41 + label: 42 + description: 43 + Description of a coresight device. 44 + 41 45 arm,static-trace-id: 42 46 description: If dummy source needs static id support, use this to set trace id. 43 47 $ref: /schemas/types.yaml#/definitions/uint32
+4
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
··· 57 57 power-domains: 58 58 maxItems: 1 59 59 60 + label: 61 + description: 62 + Description of a coresight device. 63 + 60 64 in-ports: 61 65 $ref: /schemas/graph.yaml#/properties/ports 62 66
+4
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
··· 54 54 - const: apb_pclk 55 55 - const: atclk 56 56 57 + label: 58 + description: 59 + Description of a coresight device. 60 + 57 61 power-domains: 58 62 maxItems: 1 59 63
+4
Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
··· 54 54 - const: apb_pclk 55 55 - const: atclk 56 56 57 + label: 58 + description: 59 + Description of a coresight device. 60 + 57 61 power-domains: 58 62 maxItems: 1 59 63
+4
Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
··· 85 85 CPU powers down the coresight component also powers down and loses its 86 86 context. 87 87 88 + label: 89 + description: 90 + Description of a coresight device. 91 + 88 92 arm,cp14: 89 93 type: boolean 90 94 description:
+4
Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
··· 30 30 power-domains: 31 31 maxItems: 1 32 32 33 + label: 34 + description: 35 + Description of a coresight device. 36 + 33 37 in-ports: 34 38 $ref: /schemas/graph.yaml#/properties/ports 35 39
+4
Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
··· 43 43 - const: dbg_trc 44 44 - const: dbg_apb 45 45 46 + label: 47 + description: 48 + Description of a coresight device. 49 + 46 50 in-ports: 47 51 $ref: /schemas/graph.yaml#/properties/ports 48 52 additionalProperties: false
+4
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
··· 55 55 - const: apb_pclk 56 56 - const: atclk 57 57 58 + label: 59 + description: 60 + Description of a coresight device. 61 + 58 62 iommus: 59 63 maxItems: 1 60 64
+4
Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
··· 54 54 - const: apb_pclk 55 55 - const: atclk 56 56 57 + label: 58 + description: 59 + Description of a coresight device. 60 + 57 61 power-domains: 58 62 maxItems: 1 59 63
+4
Documentation/devicetree/bindings/arm/qcom,coresight-ctcu.yaml
··· 39 39 items: 40 40 - const: apb 41 41 42 + label: 43 + description: 44 + Description of a coresight device. 45 + 42 46 in-ports: 43 47 $ref: /schemas/graph.yaml#/properties/ports 44 48
+4
Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
··· 20 20 compatible: 21 21 const: qcom,coresight-remote-etm 22 22 23 + label: 24 + description: 25 + Description of a coresight device. 26 + 23 27 out-ports: 24 28 $ref: /schemas/graph.yaml#/properties/ports 25 29 additionalProperties: false
+4
Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml
··· 64 64 items: 65 65 - const: apb_pclk 66 66 67 + label: 68 + description: 69 + Description of a coresight device. 70 + 67 71 in-ports: 68 72 description: | 69 73 Input connections from TPDM to TPDA
+4
Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
··· 76 76 minimum: 0 77 77 maximum: 32 78 78 79 + label: 80 + description: 81 + Description of a coresight device. 82 + 79 83 clocks: 80 84 maxItems: 1 81 85