xref: /linux/Documentation/ABI/testing/debugfs-moxtet (revision 8137a49e1567726eb10fcf55ad141ac19804ca6b)
1What:		/sys/kernel/debug/moxtet/input
2Date:		March 2019
3KernelVersion:	5.3
4Contact:	Marek Behún <kabel@kernel.org>
5Description:	(Read) Read input from the shift registers, in hexadecimal.
6		Returns N+1 bytes, where N is the number of Moxtet connected
7		modules. The first byte is from the CPU board itself.
8
9		Example::
10
11			101214
12
13		==  =======================================
14		10  CPU board with SD card
15		12  2 = PCIe module, 1 = IRQ not active
16		14  4 = Peridot module, 1 = IRQ not active
17		==  =======================================
18
19What:		/sys/kernel/debug/moxtet/output
20Date:		March 2019
21KernelVersion:	5.3
22Contact:	Marek Behún <kabel@kernel.org>
23Description:	(RW) Read last written value to the shift registers, in
24		hexadecimal, or write values to the shift registers, also
25		in hexadecimal.
26
27		Example::
28
29		    0102
30
31		==  ================================================
32		01  01 was last written, or is to be written, to the
33		    first module's shift register
34		02  the same for second module
35		==  ================================================
36