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

TOMOYO Linux Cross Reference
Linux/Documentation/firmware-guide/acpi/dsd/leds.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/dsd/leds.rst (Version linux-6.12-rc7) and /Documentation/firmware-guide/acpi/dsd/leds.rst (Version linux-2.6.0)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2 .. include:: <isonum.txt>                         
  3                                                   
  4 ========================================          
  5 Describing and referring to LEDs in ACPI          
  6 ========================================          
  7                                                   
  8 Individual LEDs are described by hierarchical     
  9 device node, the LED driver chip. The "reg" pr    
 10 tells the numerical ID of each individual LED     
 11 connected. [leds] The hierarchical data nodes     
 12 number of the LED output.                         
 13                                                   
 14 Referring to LEDs in Device tree is documented    
 15 "flash-leds" property documentation. In short,    
 16 using phandles.                                   
 17                                                   
 18 While Device tree allows referring to any node    
 19 ACPI references are limited to device nodes on    
 20 the same mechanism on ACPI is not possible. A     
 21 ACPI nodes is documented in [data-node-ref].      
 22                                                   
 23 ACPI allows (as does DT) using integer argumen    
 24 combination of the LED driver device reference    
 25 referring to the "reg" property of the relevan    
 26 individual LEDs. The value of the "reg" proper    
 27 firmware and software, it uniquely identifies     
 28                                                   
 29 Under the LED driver device, The first hierarc    
 30 entry shall contain the string "led@" followed    
 31 followed by the referred object name. That obj    
 32 by the number of the LED.                         
 33                                                   
 34 Example                                           
 35 =======                                           
 36                                                   
 37 An ASL example of a camera sensor device and a    
 38 show below. Objects not relevant for LEDs or t    
 39 omitted. ::                                       
 40                                                   
 41         Device (LED)                              
 42         {                                         
 43                 Name (_DSD, Package () {          
 44                         ToUUID("dbb8e3e6-5886-    
 45                         Package () {              
 46                                 Package () { "    
 47                                 Package () { "    
 48                         }                         
 49                 })                                
 50                 Name (LED0, Package () {          
 51                         ToUUID("daffd814-6eba-    
 52                         Package () {              
 53                                 Package () { "    
 54                                 Package () { "    
 55                                 Package () { "    
 56                                 Package () { "    
 57                                 Package () { "    
 58                         }                         
 59                 })                                
 60                 Name (LED1, Package () {          
 61                         ToUUID("daffd814-6eba-    
 62                         Package () {              
 63                                 Package () { "    
 64                                 Package () { "    
 65                                 Package () { "    
 66                         }                         
 67                 })                                
 68         }                                         
 69                                                   
 70         Device (SEN)                              
 71         {                                         
 72                 Name (_DSD, Package () {          
 73                         ToUUID("daffd814-6eba-    
 74                         Package () {              
 75                                 Package () {      
 76                                         "flash    
 77                                         Packag    
 78                                 }                 
 79                         }                         
 80                 })                                
 81         }                                         
 82                                                   
 83 where                                             
 84 ::                                                
 85                                                   
 86         LED     LED driver device                 
 87         LED0    First LED                         
 88         LED1    Second LED                        
 89         SEN     Camera sensor device (or anoth    
 90                                                   
 91 References                                        
 92 ==========                                        
 93                                                   
 94 [acpi] Advanced Configuration and Power Interf    
 95     https://uefi.org/specifications/ACPI/6.4/,    
 96                                                   
 97 [data-node-ref] Documentation/firmware-guide/a    
 98                                                   
 99 [devicetree] Devicetree. https://www.devicetre    
100                                                   
101 [dsd-guide] DSD Guide.                            
102     https://github.com/UEFI/DSD-Guide/blob/mai    
103     2021-11-30.                                   
104                                                   
105 [leds] Documentation/devicetree/bindings/leds/    
106                                                   
107 [video-interfaces] Documentation/devicetree/bi    
                                                      

~ [ 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