coresight-tpda: Add support to configure CMB element
authorTao Zhang <quic_taozha@quicinc.com>
Sun, 4 Feb 2024 05:30:36 +0000 (13:30 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 12 Feb 2024 10:29:47 +0000 (10:29 +0000)
commite6d7f5252f73cf21d3676de794916204524f51b5
tree4ad058a8f8cc6611d05ab35e4a43d7ad25d1d6e6
parenta1705ffcce5268eb95a5e716ee32c9d181b8c228
coresight-tpda: Add support to configure CMB element

Read the CMB element size from the device tree. Set the register
bit that controls the CMB element size of the corresponding port.

Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/1707024641-22460-6-git-send-email-quic_taozha@quicinc.com
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpda.h