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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-pca955x.txt

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/devicetree/bindings/leds/leds-pca955x.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/leds/leds-pca955x.txt (Version linux-2.6.0)


  1 * NXP - pca955x LED driver                        
  2                                                   
  3 The PCA955x family of chips are I2C LED blinke    
  4 to control LEDs can be used as general purpose    
  5 be input or output, and output pins can also b    
  6                                                   
  7 Required properties:                              
  8 - compatible : should be one of :                 
  9         "nxp,pca9550"                             
 10         "nxp,pca9551"                             
 11         "nxp,pca9552"                             
 12         "ibm,pca9552"                             
 13         "nxp,pca9553"                             
 14 - #address-cells: must be 1                       
 15 - #size-cells: must be 0                          
 16 - reg: I2C slave address. depends on the model    
 17                                                   
 18 Optional properties:                              
 19 - gpio-controller: allows pins to be used as G    
 20 - #gpio-cells: must be 2.                         
 21 - gpio-line-names: define the names of the GPI    
 22                                                   
 23 LED sub-node properties:                          
 24 - reg : number of LED line.                       
 25                 from 0 to  1 for the pca9550      
 26                 from 0 to  7 for the pca9551      
 27                 from 0 to 15 for the pca9552      
 28                 from 0 to  3 for the pca9553      
 29 - type: (optional) either                         
 30         PCA955X_TYPE_NONE                         
 31         PCA955X_TYPE_LED                          
 32         PCA955X_TYPE_GPIO                         
 33         see dt-bindings/leds/leds-pca955x.h (d    
 34 - label : (optional)                              
 35         see Documentation/devicetree/bindings/    
 36 - linux,default-trigger : (optional)              
 37         see Documentation/devicetree/bindings/    
 38                                                   
 39 Examples:                                         
 40                                                   
 41 pca9552: pca9552@60 {                             
 42         compatible = "nxp,pca9552";               
 43         #address-cells = <1>;                     
 44         #size-cells = <0>;                        
 45         reg = <0x60>;                             
 46                                                   
 47         gpio-controller;                          
 48         #gpio-cells = <2>;                        
 49         gpio-line-names = "GPIO12", "GPIO13",     
 50                                                   
 51         gpio@12 {                                 
 52                 reg = <12>;                       
 53                 type = <PCA955X_TYPE_GPIO>;       
 54         };                                        
 55         gpio@13 {                                 
 56                 reg = <13>;                       
 57                 type = <PCA955X_TYPE_GPIO>;       
 58         };                                        
 59         gpio@14 {                                 
 60                 reg = <14>;                       
 61                 type = <PCA955X_TYPE_GPIO>;       
 62         };                                        
 63         gpio@15 {                                 
 64                 reg = <15>;                       
 65                 type = <PCA955X_TYPE_GPIO>;       
 66         };                                        
 67                                                   
 68         led@0 {                                   
 69                 label = "red:power";              
 70                 linux,default-trigger = "defau    
 71                 reg = <0>;                        
 72                 type = <PCA955X_TYPE_LED>;        
 73         };                                        
 74         led@1 {                                   
 75                 label = "green:power";            
 76                 reg = <1>;                        
 77                 type = <PCA955X_TYPE_LED>;        
 78         };                                        
 79         led@2 {                                   
 80                 label = "pca9552:yellow";         
 81                 reg = <2>;                        
 82                 type = <PCA955X_TYPE_LED>;        
 83         };                                        
 84         led@3 {                                   
 85                 label = "pca9552:white";          
 86                 reg = <3>;                        
 87                 type = <PCA955X_TYPE_LED>;        
 88         };                                        
 89 };                                                
                                                      

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