coresight: cti: Add device tree support for custom CTI
authorMike Leach <mike.leach@linaro.org>
Fri, 20 Mar 2020 16:52:58 +0000 (10:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 10:32:20 +0000 (11:32 +0100)
commita5614770ab976720ca5f47b717fad016e604a035
tree2383fda72aa6ccfc636f429d8384035fad48dddf
parentcffd054f1708a07330536a9704b70bc5d090cd98
coresight: cti: Add device tree support for custom CTI

Adds support for CTIs whose connections are implementation defined at
hardware design time, and not constrained by v8 architecture.

These CTIs have no standard connection setup, all the settings have to
be defined in the device tree files. The patch creates a set of connections
and trigger signals based on the information provided.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200320165303.13681-8-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-cti-platform.c
drivers/hwtracing/coresight/coresight-cti-sysfs.c