linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] coresight: core: Add device name support
@ 2024-01-15 16:42 Mao Jinlong
  2024-01-15 16:42 ` [PATCH v2 1/2] " Mao Jinlong
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mao Jinlong @ 2024-01-15 16:42 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, James Clark, Leo Yan,
	Alexander Shishkin, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Bjorn Andersson,
	Konrad Dybcio, Mathieu Poirier
  Cc: Mao Jinlong, coresight, linux-arm-kernel, linux-kernel,
	devicetree, linux-stm32, linux-arm-msm

With current design, the name of the non-cpu bounded coresight
component is the device type with the number. And with 'ls' command
we can get the register address of the component. But from these
information, we can't know what the HW or system the component belongs
to. Add device-name in DT to support it.

cti_sys0 -> ../../../devices/platform/soc@0/138f0000.cti/cti_sys0
cti_sys1 -> ../../../devices/platform/soc@0/13900000.cti/cti_sys1
tpdm0 -> ../../../devices/platform/soc@0/10b0d000.tpdm/tpdm0
tpdm1 -> ../../../devices/platform/soc@0/10c28000.tpdm/tpdm1
tpdm2 -> ../../../devices/platform/soc@0/10c29000.tpdm/tpdm2

Change since V1:
1. Change coresight-name to device name.
2. Add the device-name in coresight dt bindings.

Mao Jinlong (2):
  coresight: core: Add device name support
  dt-bindings: arm: Add device-name in the coresight components

 .../bindings/arm/arm,coresight-catu.yaml      |  5 +++
 .../bindings/arm/arm,coresight-cpu-debug.yaml |  5 +++
 .../bindings/arm/arm,coresight-cti.yaml       |  5 +++
 .../arm/arm,coresight-dummy-sink.yaml         |  5 +++
 .../arm/arm,coresight-dummy-source.yaml       |  5 +++
 .../arm/arm,coresight-dynamic-funnel.yaml     |  5 +++
 .../arm/arm,coresight-dynamic-replicator.yaml |  5 +++
 .../bindings/arm/arm,coresight-etb10.yaml     |  5 +++
 .../bindings/arm/arm,coresight-etm.yaml       |  5 +++
 .../arm/arm,coresight-static-funnel.yaml      |  5 +++
 .../arm/arm,coresight-static-replicator.yaml  |  5 +++
 .../bindings/arm/arm,coresight-stm.yaml       |  5 +++
 .../bindings/arm/arm,coresight-tmc.yaml       |  5 +++
 .../bindings/arm/arm,coresight-tpiu.yaml      |  5 +++
 .../bindings/arm/qcom,coresight-tpda.yaml     |  5 +++
 .../bindings/arm/qcom,coresight-tpdm.yaml     |  5 +++
 drivers/hwtracing/coresight/coresight-core.c  | 33 ++++++++++---------
 .../hwtracing/coresight/coresight-platform.c  | 31 +++++++++++++++++
 include/linux/coresight.h                     |  1 +
 19 files changed, 130 insertions(+), 15 deletions(-)

-- 
2.41.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-17  1:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-15 16:42 [PATCH v2 0/2] coresight: core: Add device name support Mao Jinlong
2024-01-15 16:42 ` [PATCH v2 1/2] " Mao Jinlong
2024-01-16 10:09   ` kernel test robot
2024-01-16 10:41   ` kernel test robot
2024-01-16 11:34   ` kernel test robot
2024-01-15 16:42 ` [PATCH v2 2/2] dt-bindings: arm: Add device-name in the coresight components Mao Jinlong
2024-01-15 18:35   ` Rob Herring
2024-01-15 18:37   ` Krzysztof Kozlowski
2024-01-16 20:34   ` kernel test robot
2024-01-16 13:43 ` [PATCH v2 0/2] coresight: core: Add device name support Suzuki K Poulose
2024-01-17  1:58   ` Jinlong Mao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).