OSDN Git Service

coresight: cti: Initial CoreSight CTI Driver
authorMike Leach <mike.leach@linaro.org>
Fri, 20 Mar 2020 16:52:52 +0000 (10:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 10:32:18 +0000 (11:32 +0100)
commit835d722ba10ac924adba1e8a46f2d80955222b4b
tree0486113e3d8501a03eedd6eaa18bdbb59a03e737
parentc23ff2aa3e783c7a2fffd2dd40cd686b8f597da8
coresight: cti: Initial CoreSight CTI Driver

This introduces a baseline CTI driver and associated configuration files.

Uses the platform agnostic naming standard for CoreSight devices, along
with a generic platform probing method that currently supports device
tree descriptions, but allows for the ACPI bindings to be added once these
have been defined for the CTI devices.

Driver will probe for the device on the AMBA bus, and load the CTI driver
on CoreSight ID match to CTI IDs in tables.

Initial sysfs support for enable / disable provided.

Default CTI interconnection data is generated based on hardware
register signal counts, with no additional connection information.

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-2-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/coresight-cti-platform.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-cti-sysfs.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-cti.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-cti.h [new file with mode: 0644]
drivers/hwtracing/coresight/coresight.c
include/linux/coresight.h