summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/Kconfig
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2018-10-05 15:42:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-11 12:12:54 +0200
commita02509f301c68c9a7f01d75d7d326f7a9b81a630 (patch)
tree4e2783a20585a89abf094b38c593cb38a8472bb3 /drivers/hwtracing/stm/Kconfig
parentd279a38020d2483cb75f5f82f5e4ab5f73bc94f2 (diff)
downloadlinux-stable-a02509f301c68c9a7f01d75d7d326f7a9b81a630.tar.gz
linux-stable-a02509f301c68c9a7f01d75d7d326f7a9b81a630.tar.bz2
linux-stable-a02509f301c68c9a7f01d75d7d326f7a9b81a630.zip
stm class: Factor out default framing protocol
The STP framing pattern that the stm class implicitly applies to the data payload is, in fact, a protocol. This patch moves the relevant code out of the stm core into its own driver module. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/stm/Kconfig')
-rw-r--r--drivers/hwtracing/stm/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/hwtracing/stm/Kconfig b/drivers/hwtracing/stm/Kconfig
index 723e2d90083d..262e7891fb97 100644
--- a/drivers/hwtracing/stm/Kconfig
+++ b/drivers/hwtracing/stm/Kconfig
@@ -11,6 +11,21 @@ config STM
if STM
+config STM_PROTO_BASIC
+ tristate "Basic STM framing protocol driver"
+ default CONFIG_STM
+ help
+ This is a simple framing protocol for sending data over STM
+ devices. This was the protocol that the STM framework used
+ exclusively until the MIPI SyS-T support was added. Use this
+ driver for compatibility with your existing STM setup.
+
+ The receiving side only needs to be able to decode the MIPI
+ STP protocol in order to extract the data.
+
+ If you want to be able to use the basic protocol or want the
+ backwards compatibility for your existing setup, say Y.
+
config STM_DUMMY
tristate "Dummy STM driver"
help