xref: /linux/Documentation/ABI/testing/debugfs-moxtet (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1What:		/sys/kernel/debug/moxtet/input
2Date:		March 2019
3KernelVersion:	5.3
4Contact:	Marek Behún <marek.behun@nic.cz>
5Description:	(R) 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		Example: 101214
9			 10: CPU board with SD card
10			 12: 2 = PCIe module, 1 = IRQ not active
11			 14: 4 = Peridot module, 1 = IRQ not active
12
13What:		/sys/kernel/debug/moxtet/output
14Date:		March 2019
15KernelVersion:	5.3
16Contact:	Marek Behún <marek.behun@nic.cz>
17Description:	(RW) Read last written value to the shift registers, in
18		hexadecimal, or write values to the shift registers, also
19		in hexadecimal.
20		Example: 0102
21			 01: 01 was last written, or is to be written, to the
22			     first module's shift register
23			 02: the same for second module
24