xref: /linux/Documentation/ABI/testing/sysfs-driver-chromeos-acpi (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
10a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/BINF.2
2703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/BINF.2
30a4cad9cSEnric Balletbo i SerraDate:		May 2022
40a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
50a4cad9cSEnric Balletbo i SerraDescription:
6abd4fd43SBagas Sanjaya		Returns active EC firmware of current boot (boolean).
7a6c13d87SBagas Sanjaya
8a6c13d87SBagas Sanjaya		== ===============================
9a6c13d87SBagas Sanjaya		0  Read only (recovery) firmware.
10a6c13d87SBagas Sanjaya		1  Rewritable firmware.
11a6c13d87SBagas Sanjaya		== ===============================
120a4cad9cSEnric Balletbo i Serra
130a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/BINF.3
14703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/BINF.3
150a4cad9cSEnric Balletbo i SerraDate:		May 2022
160a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
170a4cad9cSEnric Balletbo i SerraDescription:
18abd4fd43SBagas Sanjaya		Returns main firmware type for current boot (integer).
19a6c13d87SBagas Sanjaya
20a6c13d87SBagas Sanjaya		== =====================================
21a6c13d87SBagas Sanjaya		0  Recovery.
22a6c13d87SBagas Sanjaya		1  Normal.
23a6c13d87SBagas Sanjaya		2  Developer.
24a6c13d87SBagas Sanjaya		3  Netboot (factory installation only).
25a6c13d87SBagas Sanjaya		== =====================================
260a4cad9cSEnric Balletbo i Serra
270a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/CHSW
28703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/CHSW
290a4cad9cSEnric Balletbo i SerraDate:		May 2022
300a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
310a4cad9cSEnric Balletbo i SerraDescription:
32abd4fd43SBagas Sanjaya		Returns switch position for Chrome OS specific hardware
33abd4fd43SBagas Sanjaya		switches when the firmware is booted (integer).
34a6c13d87SBagas Sanjaya
35a6c13d87SBagas Sanjaya		==== ===========================================
36a6c13d87SBagas Sanjaya		0    No changes.
37a6c13d87SBagas Sanjaya		2    Recovery button was pressed.
38a6c13d87SBagas Sanjaya		4    Recovery button was pressed (EC firmware).
39a6c13d87SBagas Sanjaya		32   Developer switch was enabled.
40a6c13d87SBagas Sanjaya		512  Firmware write protection was disabled.
41a6c13d87SBagas Sanjaya		==== ===========================================
420a4cad9cSEnric Balletbo i Serra
430a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/FMAP
44703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/FMAP
450a4cad9cSEnric Balletbo i SerraDate:		May 2022
460a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
470a4cad9cSEnric Balletbo i SerraDescription:
48abd4fd43SBagas Sanjaya		Returns physical memory address of the start of the main
49abd4fd43SBagas Sanjaya		processor firmware flashmap.
500a4cad9cSEnric Balletbo i Serra
510a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/FRID
52703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/FRID
530a4cad9cSEnric Balletbo i SerraDate:		May 2022
540a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
550a4cad9cSEnric Balletbo i SerraDescription:
56abd4fd43SBagas Sanjaya		Returns firmware version for the read-only portion of the
57abd4fd43SBagas Sanjaya		main processor firmware.
580a4cad9cSEnric Balletbo i Serra
590a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/FWID
60703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/FWID
610a4cad9cSEnric Balletbo i SerraDate:		May 2022
620a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
630a4cad9cSEnric Balletbo i SerraDescription:
64abd4fd43SBagas Sanjaya		Returns firmware version for the rewritable portion of the
65abd4fd43SBagas Sanjaya		main processor firmware.
660a4cad9cSEnric Balletbo i Serra
670a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0
68703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.0
690a4cad9cSEnric Balletbo i SerraDate:		May 2022
700a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
710a4cad9cSEnric Balletbo i SerraDescription:
72abd4fd43SBagas Sanjaya		Returns type of the GPIO signal for the Chrome OS specific
73abd4fd43SBagas Sanjaya		GPIO assignments (integer).
74a6c13d87SBagas Sanjaya
75a6c13d87SBagas Sanjaya		=========== ==================================
76a6c13d87SBagas Sanjaya		1           Recovery button.
77a6c13d87SBagas Sanjaya		2           Developer mode switch.
78a6c13d87SBagas Sanjaya		3           Firmware write protection switch.
79a6c13d87SBagas Sanjaya		256 to 511  Debug header GPIO 0 to GPIO 255.
80a6c13d87SBagas Sanjaya		=========== ==================================
810a4cad9cSEnric Balletbo i Serra
820a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1
83703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.1
840a4cad9cSEnric Balletbo i SerraDate:		May 2022
850a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
860a4cad9cSEnric Balletbo i SerraDescription:
87abd4fd43SBagas Sanjaya		Returns signal attributes of the GPIO signal (integer bitfield).
88a6c13d87SBagas Sanjaya
89a6c13d87SBagas Sanjaya		== =======================
90a6c13d87SBagas Sanjaya		0  Signal is active low.
91a6c13d87SBagas Sanjaya		1  Signal is active high.
92a6c13d87SBagas Sanjaya		== =======================
930a4cad9cSEnric Balletbo i Serra
940a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2
95703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.2
960a4cad9cSEnric Balletbo i SerraDate:		May 2022
970a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
980a4cad9cSEnric Balletbo i SerraDescription:
99abd4fd43SBagas Sanjaya		Returns the GPIO number on the specified GPIO
1000a4cad9cSEnric Balletbo i Serra		controller.
1010a4cad9cSEnric Balletbo i Serra
1020a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3
103703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.3
1040a4cad9cSEnric Balletbo i SerraDate:		May 2022
1050a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1060a4cad9cSEnric Balletbo i SerraDescription:
107abd4fd43SBagas Sanjaya		Returns name of the GPIO controller.
1080a4cad9cSEnric Balletbo i Serra
1090a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/HWID
110703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/HWID
1110a4cad9cSEnric Balletbo i SerraDate:		May 2022
1120a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1130a4cad9cSEnric Balletbo i SerraDescription:
114abd4fd43SBagas Sanjaya		Returns hardware ID for the Chromebook.
1150a4cad9cSEnric Balletbo i Serra
1160a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/MECK
117703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/MECK
1180a4cad9cSEnric Balletbo i SerraDate:		May 2022
1190a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1200a4cad9cSEnric Balletbo i SerraDescription:
121abd4fd43SBagas Sanjaya		Returns the SHA-1 or SHA-256 hash that is read out of the
122abd4fd43SBagas Sanjaya		Management Engine extended registers during boot. The hash
123abd4fd43SBagas Sanjaya		is exported via ACPI so the OS can verify that the Management
124abd4fd43SBagas Sanjaya		Engine firmware has not changed. If Management Engine is not
125abd4fd43SBagas Sanjaya		present, or if the firmware was unable to read the extended registers, this buffer size can be zero.
1260a4cad9cSEnric Balletbo i Serra
1270a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/VBNV.0
128703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/VBNV.0
1290a4cad9cSEnric Balletbo i SerraDate:		May 2022
1300a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1310a4cad9cSEnric Balletbo i SerraDescription:
132abd4fd43SBagas Sanjaya		Returns offset in CMOS bank 0 of the verified boot non-volatile
133abd4fd43SBagas Sanjaya		storage block, counting from the first writable CMOS byte
134abd4fd43SBagas Sanjaya		(that is, 'offset = 0' is the byte following the 14 bytes of
135abd4fd43SBagas Sanjaya		clock data).
1360a4cad9cSEnric Balletbo i Serra
1370a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/VBNV.1
138703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/VBNV.1
1390a4cad9cSEnric Balletbo i SerraDate:		May 2022
1400a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1410a4cad9cSEnric Balletbo i SerraDescription:
142abd4fd43SBagas Sanjaya		Return the size in bytes of the verified boot non-volatile
143abd4fd43SBagas Sanjaya		storage block.
1440a4cad9cSEnric Balletbo i Serra
1450a4cad9cSEnric Balletbo i SerraWhat:		/sys/bus/platform/devices/GGL0001:*/VDAT
146703e7713STzung-Bi Shih		/sys/bus/platform/devices/GOOG0016:*/VDAT
1470a4cad9cSEnric Balletbo i SerraDate:		May 2022
1480a4cad9cSEnric Balletbo i SerraKernelVersion:	5.19
1490a4cad9cSEnric Balletbo i SerraDescription:
150abd4fd43SBagas Sanjaya		Returns the verified boot data block shared between the
151abd4fd43SBagas Sanjaya		firmware verification step and the kernel verification step
152*0820debbSTzung-Bi Shih		(hex dump).
153