~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/firmware-guide/acpi/chromeos-acpi-device.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/firmware-guide/acpi/chromeos-acpi-device.rst (Version linux-6.12-rc7) and /Documentation/firmware-guide/acpi/chromeos-acpi-device.rst (Version linux-5.2.21)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2                                                   
  3 =====================                             
  4 Chrome OS ACPI Device                             
  5 =====================                             
  6                                                   
  7 Hardware functionality specific to Chrome OS i    
  8 The plug and play ID of a Chrome OS ACPI devic    
  9 GOOG0016.  The following ACPI objects are supp    
 10                                                   
 11 .. flat-table:: Supported ACPI Objects            
 12    :widths: 1 2                                   
 13    :header-rows: 1                                
 14                                                   
 15    * - Object                                     
 16      - Description                                
 17                                                   
 18    * - CHSW                                       
 19      - Chrome OS switch positions                 
 20                                                   
 21    * - HWID                                       
 22      - Chrome OS hardware ID                      
 23                                                   
 24    * - FWID                                       
 25      - Chrome OS firmware version                 
 26                                                   
 27    * - FRID                                       
 28      - Chrome OS read-only firmware version       
 29                                                   
 30    * - BINF                                       
 31      - Chrome OS boot information                 
 32                                                   
 33    * - GPIO                                       
 34      - Chrome OS GPIO assignments                 
 35                                                   
 36    * - VBNV                                       
 37      - Chrome OS NVRAM locations                  
 38                                                   
 39    * - VDTA                                       
 40      - Chrome OS verified boot data               
 41                                                   
 42    * - FMAP                                       
 43      - Chrome OS flashmap base address            
 44                                                   
 45    * - MLST                                       
 46      - Chrome OS method list                      
 47                                                   
 48 CHSW (Chrome OS switch positions)                 
 49 =================================                 
 50 This control method returns the switch positio    
 51                                                   
 52 Arguments:                                        
 53 ----------                                        
 54 None                                              
 55                                                   
 56 Result code:                                      
 57 ------------                                      
 58 An integer containing the switch positions as     
 59                                                   
 60 .. flat-table::                                   
 61    :widths: 1 2                                   
 62                                                   
 63    * - 0x00000002                                 
 64      - Recovery button was pressed when x86 fi    
 65                                                   
 66    * - 0x00000004                                 
 67      - Recovery button was pressed when EC fir    
 68        rewritable; otherwise optional)            
 69                                                   
 70    * - 0x00000020                                 
 71      - Developer switch was enabled when x86 f    
 72                                                   
 73    * - 0x00000200                                 
 74      - Firmware write protection was disabled     
 75        firmware write protection is controlled    
 76                                                   
 77 All other bits are reserved and should be set     
 78                                                   
 79 HWID (Chrome OS hardware ID)                      
 80 ============================                      
 81 This control method returns the hardware ID fo    
 82                                                   
 83 Arguments:                                        
 84 ----------                                        
 85 None                                              
 86                                                   
 87 Result code:                                      
 88 ------------                                      
 89 A null-terminated ASCII string containing the     
 90 EEPROM.                                           
 91                                                   
 92 Note that the hardware ID can be up to 256 cha    
 93                                                   
 94 FWID (Chrome OS firmware version)                 
 95 =================================                 
 96 This control method returns the firmware versi    
 97 processor firmware.                               
 98                                                   
 99 Arguments:                                        
100 ----------                                        
101 None                                              
102                                                   
103 Result code:                                      
104 ------------                                      
105 A null-terminated ASCII string containing the     
106 portion of the main processor firmware.           
107                                                   
108 FRID (Chrome OS read-only firmware version)       
109 ===========================================       
110 This control method returns the firmware versi    
111 processor firmware.                               
112                                                   
113 Arguments:                                        
114 ----------                                        
115 None                                              
116                                                   
117 Result code:                                      
118 ------------                                      
119 A null-terminated ASCII string containing the     
120 (bootstrap + recovery ) portion of the main pr    
121                                                   
122 BINF (Chrome OS boot information)                 
123 =================================                 
124 This control method returns information about     
125                                                   
126 Arguments:                                        
127 ----------                                        
128 None                                              
129                                                   
130 Result code:                                      
131 ------------                                      
132                                                   
133 .. code-block::                                   
134                                                   
135    Package {                                      
136            Reserved1                              
137            Reserved2                              
138            Active EC Firmware                     
139            Active Main Firmware Type              
140            Reserved5                              
141    }                                              
142                                                   
143 .. flat-table::                                   
144    :widths: 1 1 2                                 
145    :header-rows: 1                                
146                                                   
147    * - Field                                      
148      - Format                                     
149      - Description                                
150                                                   
151    * - Reserved1                                  
152      - DWORD                                      
153      - Set to 256 (0x100). This indicates this    
154                                                   
155    * - Reserved2                                  
156      - DWORD                                      
157      - Set to 256 (0x100). This indicates this    
158                                                   
159    * - Active EC firmware                         
160      - DWORD                                      
161      - The EC firmware which was used during b    
162                                                   
163        - 0 - Read-only (recovery) firmware        
164        - 1 - Rewritable firmware.                 
165                                                   
166        Set to 0 if EC firmware is always read-    
167                                                   
168    * - Active Main Firmware Type                  
169      - DWORD                                      
170      - The main firmware type which was used d    
171                                                   
172        - 0 - Recovery                             
173        - 1 - Normal                               
174        - 2 - Developer                            
175        - 3 - netboot (factory installation onl    
176                                                   
177        Other values are reserved.                 
178                                                   
179    * - Reserved5                                  
180      - DWORD                                      
181      - Set to 256 (0x100). This indicates this    
182                                                   
183 GPIO (Chrome OS GPIO assignments)                 
184 =================================                 
185 This control method returns information about     
186 Chrome OS hardware, so the kernel can directly    
187                                                   
188 Arguments:                                        
189 ----------                                        
190 None                                              
191                                                   
192 Result code:                                      
193 ------------                                      
194 .. code-block::                                   
195                                                   
196         Package {                                 
197                 Package {                         
198                         // First GPIO assignme    
199                         Signal Type        //D    
200                         Attributes         //D    
201                         Controller Offset  //D    
202                         Controller Name    //A    
203                 },                                
204                 ...                               
205                 Package {                         
206                         // Last GPIO assignmen    
207                         Signal Type        //D    
208                         Attributes         //D    
209                         Controller Offset  //D    
210                         Controller Name    //A    
211                 }                                 
212         }                                         
213                                                   
214 Where ASCIIZ means a null-terminated ASCII str    
215                                                   
216 .. flat-table::                                   
217    :widths: 1 1 2                                 
218    :header-rows: 1                                
219                                                   
220    * - Field                                      
221      - Format                                     
222      - Description                                
223                                                   
224    * - Signal Type                                
225      - DWORD                                      
226      - Type of GPIO signal                        
227                                                   
228        - 0x00000001 - Recovery button             
229        - 0x00000002 - Developer mode switch       
230        - 0x00000003 - Firmware write protectio    
231        - 0x00000100 - Debug header GPIO 0         
232        - ...                                      
233        - 0x000001FF - Debug header GPIO 255       
234                                                   
235        Other values are reserved.                 
236                                                   
237    * - Attributes                                 
238      - DWORD                                      
239      - Signal attributes as bitfields:            
240                                                   
241        - 0x00000001 - Signal is active-high (f    
242          of 1 means the button is pressed; for    
243          of 1 means the switch is enabled). If    
244          is active low. Set to 0 for debug hea    
245                                                   
246    * - Controller Offset                          
247      - DWORD                                      
248      - GPIO number on the specified controller    
249                                                   
250    * - Controller Name                            
251      - ASCIIZ                                     
252      - Name of the controller for the GPIO.       
253        Currently supported names:                 
254        "NM10" - Intel NM10 chip                   
255                                                   
256 VBNV (Chrome OS NVRAM locations)                  
257 ================================                  
258 This control method returns information about     
259 communicate with the BIOS.                        
260                                                   
261 Arguments:                                        
262 ----------                                        
263 None                                              
264                                                   
265 Result code:                                      
266 ------------                                      
267 .. code-block::                                   
268                                                   
269         Package {                                 
270                 NV Storage Block Offset  //DWO    
271                 NV Storage Block Size    //DWO    
272         }                                         
273                                                   
274 .. flat-table::                                   
275    :widths: 1 1 2                                 
276    :header-rows: 1                                
277                                                   
278    * - Field                                      
279      - Format                                     
280      - Description                                
281                                                   
282    * - NV Storage Block Offset                    
283      - DWORD                                      
284      - Offset in CMOS bank 0 of the verified b    
285        the first writable CMOS byte (that is,     
286        clock data).                               
287                                                   
288    * - NV Storage Block Size                      
289      - DWORD                                      
290      - Size in bytes of the verified boot non-    
291                                                   
292 FMAP (Chrome OS flashmap address)                 
293 =================================                 
294 This control method returns the physical memor    
295 firmware flashmap.                                
296                                                   
297 Arguments:                                        
298 ----------                                        
299 None                                              
300                                                   
301 NoneResult code:                                  
302 ----------------                                  
303 A DWORD containing the physical memory address    
304 flashmap.                                         
305                                                   
306 VDTA (Chrome OS verified boot data)               
307 ===================================               
308 This control method returns the verified boot     
309 verification step and the kernel verification     
310                                                   
311 Arguments:                                        
312 ----------                                        
313 None                                              
314                                                   
315 Result code:                                      
316 ------------                                      
317 A buffer containing the verified boot data blo    
318                                                   
319 MECK (Management Engine Checksum)                 
320 =================================                 
321 This control method returns the SHA-1 or SHA-2    
322 Engine extended registers during boot. The has    
323 the ME firmware has not changed. If Management    
324 unable to read the extended registers, this bu    
325                                                   
326 Arguments:                                        
327 ----------                                        
328 None                                              
329                                                   
330 Result code:                                      
331 ------------                                      
332 A buffer containing the ME hash.                  
333                                                   
334 MLST (Chrome OS method list)                      
335 ============================                      
336 This control method returns a list of the othe    
337 hardware device.                                  
338                                                   
339 Arguments:                                        
340 ----------                                        
341 None                                              
342                                                   
343 Result code:                                      
344 ------------                                      
345 A package containing a list of null-terminated    
346 supported by the Chrome OS hardware device, no    
347 For this version of the specification, the res    
348                                                   
349 .. code-block::                                   
350                                                   
351         Package {                                 
352                 "CHSW",                           
353                 "FWID",                           
354                 "HWID",                           
355                 "FRID",                           
356                 "BINF",                           
357                 "GPIO",                           
358                 "VBNV",                           
359                 "FMAP",                           
360                 "VDTA",                           
361                 "MECK"                            
362         }                                         
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php