]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: arm: Add label in the coresight components
authorMao Jinlong <quic_jinlmao@quicinc.com>
Sat, 16 Aug 2025 07:25:28 +0000 (00:25 -0700)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 23 Sep 2025 13:14:13 +0000 (14:14 +0100)
commit1ad38ef4dbccee28b9b50e315a2d4d9ca5f7ee09
tree7a2dcb6751b25bb8bac0574cf35abf9831409978
parent28a272d8eb9fb8a1fa3ef27f665c04d47d74e037
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
15 files changed:
Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dummy-sink.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
Documentation/devicetree/bindings/arm/qcom,coresight-ctcu.yaml
Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml
Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml