Lines Matching +full:gpio +full:- +full:bank +full:- +full:widths

1 .. SPDX-License-Identifier: GPL-2.0
12 .. flat-table:: Supported ACPI Objects
13 :widths: 1 2
14 :header-rows: 1
16 * - Object
17 - Description
19 * - CHSW
20 - Chrome OS switch positions
22 * - HWID
23 - Chrome OS hardware ID
25 * - FWID
26 - Chrome OS firmware version
28 * - FRID
29 - Chrome OS read-only firmware version
31 * - BINF
32 - Chrome OS boot information
34 * - GPIO
35 - Chrome OS GPIO assignments
37 * - VBNV
38 - Chrome OS NVRAM locations
40 * - VDTA
41 - Chrome OS verified boot data
43 * - FMAP
44 - Chrome OS flashmap base address
46 * - MLST
47 - Chrome OS method list
54 ----------
58 ------------
61 .. flat-table::
62 :widths: 1 2
64 * - 0x00000002
65 - Recovery button was pressed when x86 firmware booted.
67 * - 0x00000004
68 - Recovery button was pressed when EC firmware booted. (required if EC EEPROM is
71 * - 0x00000020
72 - Developer switch was enabled when x86 firmware booted.
74 * - 0x00000200
75 - Firmware write protection was disabled when x86 firmware booted. (required if
85 ----------
89 ------------
90 A null-terminated ASCII string containing the hardware ID from the Model-Specific Data area of
101 ----------
105 ------------
106 A null-terminated ASCII string containing the complete firmware version for the rewritable
109 FRID (Chrome OS read-only firmware version)
111 This control method returns the firmware version for the read-only portion of the main
115 ----------
119 ------------
120 A null-terminated ASCII string containing the complete firmware version for the read-only
128 ----------
132 ------------
134 .. code-block::
144 .. flat-table::
145 :widths: 1 1 2
146 :header-rows: 1
148 * - Field
149 - Format
150 - Description
152 * - Reserved1
153 - DWORD
154 - Set to 256 (0x100). This indicates this field is no longer used.
156 * - Reserved2
157 - DWORD
158 - Set to 256 (0x100). This indicates this field is no longer used.
160 * - Active EC firmware
161 - DWORD
162 - The EC firmware which was used during boot.
164 - 0 - Read-only (recovery) firmware
165 - 1 - Rewritable firmware.
167 Set to 0 if EC firmware is always read-only.
169 * - Active Main Firmware Type
170 - DWORD
171 - The main firmware type which was used during boot.
173 - 0 - Recovery
174 - 1 - Normal
175 - 2 - Developer
176 - 3 - netboot (factory installation only)
180 * - Reserved5
181 - DWORD
182 - Set to 256 (0x100). This indicates this field is no longer used.
184 GPIO (Chrome OS GPIO assignments)
186 This control method returns information about Chrome OS specific GPIO assignments for
190 ----------
194 ------------
195 .. code-block::
199 // First GPIO assignment
207 // Last GPIO assignment
215 Where ASCIIZ means a null-terminated ASCII string.
217 .. flat-table::
218 :widths: 1 1 2
219 :header-rows: 1
221 * - Field
222 - Format
223 - Description
225 * - Signal Type
226 - DWORD
227 - Type of GPIO signal
229 - 0x00000001 - Recovery button
230 - 0x00000002 - Developer mode switch
231 - 0x00000003 - Firmware write protection switch
232 - 0x00000100 - Debug header GPIO 0
233 - ...
234 - 0x000001FF - Debug header GPIO 255
238 * - Attributes
239 - DWORD
240 - Signal attributes as bitfields:
242 - 0x00000001 - Signal is active-high (for button, a GPIO value
243 of 1 means the button is pressed; for switches, a GPIO value
247 * - Controller Offset
248 - DWORD
249 - GPIO number on the specified controller.
251 * - Controller Name
252 - ASCIIZ
253 - Name of the controller for the GPIO.
255 "NM10" - Intel NM10 chip
263 ----------
267 ------------
268 .. code-block::
275 .. flat-table::
276 :widths: 1 1 2
277 :header-rows: 1
279 * - Field
280 - Format
281 - Description
283 * - NV Storage Block Offset
284 - DWORD
285 - Offset in CMOS bank 0 of the verified boot non-volatile storage block, counting from
289 * - NV Storage Block Size
290 - DWORD
291 - Size in bytes of the verified boot non-volatile storage block.
299 ----------
303 ----------------
313 ----------
317 ------------
322 This control method returns the SHA-1 or SHA-256 hash that is read out of the Management
328 ----------
332 ------------
341 ----------
345 ------------
346 A package containing a list of null-terminated ASCII strings, one for each control method
350 .. code-block::
358 "GPIO",