xref: /linux/drivers/hwtracing/intel_th/Kconfig (revision f04e449fc76e7bfd1b8ed11967ab092d05355b6b)
139f40346SAlexander Shishkinconfig INTEL_TH
239f40346SAlexander Shishkin	tristate "Intel(R) Trace Hub controller"
339f40346SAlexander Shishkin	help
439f40346SAlexander Shishkin	  Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
539f40346SAlexander Shishkin	  produce, switch and output trace data from multiple hardware and
639f40346SAlexander Shishkin	  software sources over several types of trace output ports encoded
739f40346SAlexander Shishkin	  in System Trace Protocol (MIPI STPv2) and is intended to perform
839f40346SAlexander Shishkin	  full system debugging.
939f40346SAlexander Shishkin
1039f40346SAlexander Shishkin	  This option enables intel_th bus and common code used by TH
1139f40346SAlexander Shishkin	  subdevices to interact with each other and hardware and for
1239f40346SAlexander Shishkin	  platform glue layers to drive Intel TH devices.
1339f40346SAlexander Shishkin
1439f40346SAlexander Shishkin	  Say Y here to enable Intel(R) Trace Hub controller support.
1539f40346SAlexander Shishkin
1639f40346SAlexander Shishkinif INTEL_TH
1739f40346SAlexander Shishkin
182b0b16d3SAlexander Shishkinconfig INTEL_TH_PCI
192b0b16d3SAlexander Shishkin	tristate "Intel(R) Trace Hub PCI controller"
202b0b16d3SAlexander Shishkin	depends on PCI
212b0b16d3SAlexander Shishkin	help
222b0b16d3SAlexander Shishkin	  Intel(R) Trace Hub may exist as a PCI device. This option enables
232b0b16d3SAlexander Shishkin	  support glue layer for PCI-based Intel TH.
242b0b16d3SAlexander Shishkin
252b0b16d3SAlexander Shishkin	  Say Y here to enable PCI Intel TH support.
262b0b16d3SAlexander Shishkin
27b27a6a3fSAlexander Shishkinconfig INTEL_TH_GTH
28b27a6a3fSAlexander Shishkin	tristate "Intel(R) Trace Hub Global Trace Hub"
29b27a6a3fSAlexander Shishkin	help
30b27a6a3fSAlexander Shishkin	  Global Trace Hub (GTH) is the central component of the
31b27a6a3fSAlexander Shishkin	  Intel TH infrastructure and acts as a switch for source
32b27a6a3fSAlexander Shishkin	  and output devices. This driver is required for other
33b27a6a3fSAlexander Shishkin	  Intel TH subdevices to initialize.
34b27a6a3fSAlexander Shishkin
35b27a6a3fSAlexander Shishkin	  Say Y here to enable GTH subdevice of Intel(R) Trace Hub.
36b27a6a3fSAlexander Shishkin
37*f04e449fSAlexander Shishkinconfig INTEL_TH_STH
38*f04e449fSAlexander Shishkin	tristate "Intel(R) Trace Hub Software Trace Hub support"
39*f04e449fSAlexander Shishkin	depends on STM
40*f04e449fSAlexander Shishkin	help
41*f04e449fSAlexander Shishkin	  Software Trace Hub (STH) enables trace data from software
42*f04e449fSAlexander Shishkin	  trace sources to be sent out via Intel(R) Trace Hub. It
43*f04e449fSAlexander Shishkin	  uses stm class device to interface with its sources.
44*f04e449fSAlexander Shishkin
45*f04e449fSAlexander Shishkin	  Say Y here to enable STH subdevice of Intel(R) Trace Hub.
46*f04e449fSAlexander Shishkin
4739f40346SAlexander Shishkinconfig INTEL_TH_DEBUG
4839f40346SAlexander Shishkin	bool "Intel(R) Trace Hub debugging"
4939f40346SAlexander Shishkin	depends on DEBUG_FS
5039f40346SAlexander Shishkin	help
5139f40346SAlexander Shishkin	  Say Y here to enable debugging.
5239f40346SAlexander Shishkin
5339f40346SAlexander Shishkinendif
54