139f40346SAlexander Shishkinconfig INTEL_TH 239f40346SAlexander Shishkin tristate "Intel(R) Trace Hub controller" 3993c7f11SAlexander Shishkin depends on HAS_DMA && HAS_IOMEM 439f40346SAlexander Shishkin help 539f40346SAlexander Shishkin Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that 639f40346SAlexander Shishkin produce, switch and output trace data from multiple hardware and 739f40346SAlexander Shishkin software sources over several types of trace output ports encoded 839f40346SAlexander Shishkin in System Trace Protocol (MIPI STPv2) and is intended to perform 939f40346SAlexander Shishkin full system debugging. 1039f40346SAlexander Shishkin 1139f40346SAlexander Shishkin This option enables intel_th bus and common code used by TH 1239f40346SAlexander Shishkin subdevices to interact with each other and hardware and for 1339f40346SAlexander Shishkin platform glue layers to drive Intel TH devices. 1439f40346SAlexander Shishkin 1539f40346SAlexander Shishkin Say Y here to enable Intel(R) Trace Hub controller support. 1639f40346SAlexander Shishkin 1739f40346SAlexander Shishkinif INTEL_TH 1839f40346SAlexander Shishkin 192b0b16d3SAlexander Shishkinconfig INTEL_TH_PCI 202b0b16d3SAlexander Shishkin tristate "Intel(R) Trace Hub PCI controller" 212b0b16d3SAlexander Shishkin depends on PCI 222b0b16d3SAlexander Shishkin help 232b0b16d3SAlexander Shishkin Intel(R) Trace Hub may exist as a PCI device. This option enables 242b0b16d3SAlexander Shishkin support glue layer for PCI-based Intel TH. 252b0b16d3SAlexander Shishkin 262b0b16d3SAlexander Shishkin Say Y here to enable PCI Intel TH support. 272b0b16d3SAlexander Shishkin 28*ebc57e39SAlexander Shishkinconfig INTEL_TH_ACPI 29*ebc57e39SAlexander Shishkin tristate "Intel(R) Trace Hub ACPI controller" 30*ebc57e39SAlexander Shishkin depends on ACPI 31*ebc57e39SAlexander Shishkin help 32*ebc57e39SAlexander Shishkin Intel(R) Trace Hub may exist as an ACPI device. This option enables 33*ebc57e39SAlexander Shishkin support glue layer for ACPI-based Intel TH. This typically implies 34*ebc57e39SAlexander Shishkin 'host debugger' mode, that is, the trace configuration and capture 35*ebc57e39SAlexander Shishkin is handled by an external debug host and corresponding controls will 36*ebc57e39SAlexander Shishkin not be available on the target. 37*ebc57e39SAlexander Shishkin 38*ebc57e39SAlexander Shishkin Say Y here to enable ACPI Intel TH support. 39*ebc57e39SAlexander Shishkin 40b27a6a3fSAlexander Shishkinconfig INTEL_TH_GTH 41b27a6a3fSAlexander Shishkin tristate "Intel(R) Trace Hub Global Trace Hub" 42b27a6a3fSAlexander Shishkin help 43b27a6a3fSAlexander Shishkin Global Trace Hub (GTH) is the central component of the 44b27a6a3fSAlexander Shishkin Intel TH infrastructure and acts as a switch for source 45b27a6a3fSAlexander Shishkin and output devices. This driver is required for other 46b27a6a3fSAlexander Shishkin Intel TH subdevices to initialize. 47b27a6a3fSAlexander Shishkin 48b27a6a3fSAlexander Shishkin Say Y here to enable GTH subdevice of Intel(R) Trace Hub. 49b27a6a3fSAlexander Shishkin 50f04e449fSAlexander Shishkinconfig INTEL_TH_STH 51f04e449fSAlexander Shishkin tristate "Intel(R) Trace Hub Software Trace Hub support" 52f04e449fSAlexander Shishkin depends on STM 53f04e449fSAlexander Shishkin help 54f04e449fSAlexander Shishkin Software Trace Hub (STH) enables trace data from software 55f04e449fSAlexander Shishkin trace sources to be sent out via Intel(R) Trace Hub. It 56f04e449fSAlexander Shishkin uses stm class device to interface with its sources. 57f04e449fSAlexander Shishkin 58f04e449fSAlexander Shishkin Say Y here to enable STH subdevice of Intel(R) Trace Hub. 59f04e449fSAlexander Shishkin 60ba82664cSAlexander Shishkinconfig INTEL_TH_MSU 61ba82664cSAlexander Shishkin tristate "Intel(R) Trace Hub Memory Storage Unit" 62ba82664cSAlexander Shishkin help 63ba82664cSAlexander Shishkin Memory Storage Unit (MSU) trace output device enables 64ba82664cSAlexander Shishkin storing STP traces to system memory. It supports single 65ba82664cSAlexander Shishkin and multiblock modes of operation and provides read() 66ba82664cSAlexander Shishkin and mmap() access to the collected data. 67ba82664cSAlexander Shishkin 68ba82664cSAlexander Shishkin Say Y here to enable MSU output device for Intel TH. 69ba82664cSAlexander Shishkin 7014cdbf04SAlexander Shishkinconfig INTEL_TH_PTI 7114cdbf04SAlexander Shishkin tristate "Intel(R) Trace Hub PTI output" 7214cdbf04SAlexander Shishkin help 7314cdbf04SAlexander Shishkin Parallel Trace Interface unit (PTI) is a trace output device 7414cdbf04SAlexander Shishkin of Intel TH architecture that facilitates STP trace output via 7514cdbf04SAlexander Shishkin a PTI port. 7614cdbf04SAlexander Shishkin 7714cdbf04SAlexander Shishkin Say Y to enable PTI output of Intel TH data. 7814cdbf04SAlexander Shishkin 7939f40346SAlexander Shishkinconfig INTEL_TH_DEBUG 8039f40346SAlexander Shishkin bool "Intel(R) Trace Hub debugging" 8139f40346SAlexander Shishkin depends on DEBUG_FS 8239f40346SAlexander Shishkin help 8339f40346SAlexander Shishkin Say Y here to enable debugging. 8439f40346SAlexander Shishkin 8539f40346SAlexander Shishkinendif 86