Commit 93d2c159 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

docs: pti_intel_mid.txt: convert it to pti_intel_mid.rst



Convert this small file to ReST format and rename it.

Most of the conversion were related to adjusting whitespaces
in order for each section to be properly parsed.

While this is not part of any book, mark it as :orphan:, in order
to avoid build warnings.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 8db8acee
Loading
Loading
Loading
Loading
+106 −0
Original line number Diff line number Diff line
:orphan:

=============
Intel MID PTI
=============

The Intel MID PTI project is HW implemented in Intel Atom
system-on-a-chip designs based on the Parallel Trace
Interface for MIPI P1149.7 cJTAG standard.  The kernel solution
for this platform involves the following files:
for this platform involves the following files::

	./include/linux/pti.h
	./drivers/.../n_tracesink.h
@@ -24,13 +30,14 @@ kernel->user->kernel context switch overheads of routing
data).

An example debugging usage for this driver system:

  * Hook /dev/ttyPTI0 to syslogd.  Opening this port will also start
    a console device to further capture debugging messages to PTI.
  * Hook /dev/ttyPTI1 to modem debugging data to write to PTI HW.
    This is where n_tracerouter and n_tracesink are used.
  * Hook /dev/pti to a user-level debugging application for writing
    to PTI HW.
   *Use mipi_* Kernel Driver API in other device drivers for
  * `Use mipi_` Kernel Driver API in other device drivers for
    debugging to PTI by first requesting a PTI write address via
    mipi_request_masterchannel(1).

@@ -42,7 +49,7 @@ but is not just blindly executing as 'root'. Keep in mind
the use of ioctl(,TIOCSETD,) is not specific to the n_tracerouter
and n_tracesink line discpline drivers but is a generic
operation for a program to use a line discpline driver
on a tty port other than the default n_tty.
on a tty port other than the default n_tty::

  /////////// To hook up n_tracerouter and n_tracesink /////////