xref: /linux/Documentation/ABI/testing/sysfs-devices-platform-docg3 (revision 51c0a0c63fd0cf1953086cd6ec7d6f068418441a)
1What:		/sys/devices/platform/docg3/f[0-3]_dps[01]_is_keylocked
2Date:		November 2011
3KernelVersion:	3.3
4Contact:	Robert Jarzmik <robert.jarzmik@free.fr>
5Description:
6		Show whether the floor (0 to 4), protection area (0 or 1) is
7		keylocked. Each docg3 chip (or floor) has 2 protection areas,
8		which can cover any part of it, block aligned, called DPS.
9		The protection has information embedded whether it blocks reads,
10		writes or both.
11		The result is:
12
13		- 0 -> the DPS is not keylocked
14		- 1 -> the DPS is keylocked
15
16Users:		None identified so far.
17
18What:		/sys/devices/platform/docg3/f[0-3]_dps[01]_protection_key
19Date:		November 2011
20KernelVersion:	3.3
21Contact:	Robert Jarzmik <robert.jarzmik@free.fr>
22Description:
23		Enter the protection key for the floor (0 to 4), protection area
24		(0 or 1). Each docg3 chip (or floor) has 2 protection areas,
25		which can cover any part of it, block aligned, called DPS.
26		The protection has information embedded whether it blocks reads,
27		writes or both.
28		The protection key is a string of 8 bytes (value 0-255).
29		Entering the correct value toggle the lock, and can be observed
30		through f[0-3]_dps[01]_is_keylocked.
31		Possible values are:
32
33			- 8 bytes
34
35		Typical values are:
36
37			- "00000000"
38			- "12345678"
39
40Users:		None identified so far.
41