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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/supply/bq2415x.yaml

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/power/supply/bq2415x.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/power/supply/bq2415x.yaml (Version linux-3.10.108)


  1 # SPDX-License-Identifier: GPL-2.0                
  2 # Copyright (C) 2021 Sebastian Reichel            
  3 %YAML 1.2                                         
  4 ---                                               
  5 $id: http://devicetree.org/schemas/power/suppl    
  6 $schema: http://devicetree.org/meta-schemas/co    
  7                                                   
  8 title: TI bq2415x Li-Ion Charger                  
  9                                                   
 10 maintainers:                                      
 11   - Sebastian Reichel <sre@kernel.org>             
 12                                                   
 13 allOf:                                            
 14   - $ref: power-supply.yaml#                      
 15                                                   
 16 properties:                                       
 17   compatible:                                     
 18     enum:                                         
 19       - ti,bq24150                                
 20       - ti,bq24150a                               
 21       - ti,bq24151                                
 22       - ti,bq24151a                               
 23       - ti,bq24152                                
 24       - ti,bq24153                                
 25       - ti,bq24153a                               
 26       - ti,bq24155                                
 27       - ti,bq24156                                
 28       - ti,bq24156a                               
 29       - ti,bq24158                                
 30                                                   
 31   reg:                                            
 32     maxItems: 1                                   
 33                                                   
 34   ti,current-limit:                               
 35     $ref: /schemas/types.yaml#/definitions/uin    
 36     description: initial maximum current charg    
 37                                                   
 38   ti,weak-battery-voltage:                        
 39     $ref: /schemas/types.yaml#/definitions/uin    
 40     description: |                                
 41       weak battery voltage threshold in mV.       
 42       The chip will use slow precharge if batt    
 43                                                   
 44   ti,battery-regulation-voltage:                  
 45     $ref: /schemas/types.yaml#/definitions/uin    
 46     description: maximum charging voltage in m    
 47                                                   
 48   ti,charge-current:                              
 49     $ref: /schemas/types.yaml#/definitions/uin    
 50     description: maximum charging current in m    
 51                                                   
 52   ti,termination-current:                         
 53     $ref: /schemas/types.yaml#/definitions/uin    
 54     description: |                                
 55       charge will be terminated when current i    
 56       below this value (in mA).                   
 57                                                   
 58   ti,resistor-sense:                              
 59     $ref: /schemas/types.yaml#/definitions/uin    
 60     description: value of sensing resistor in     
 61                                                   
 62   ti,usb-charger-detection:                       
 63     $ref: /schemas/types.yaml#/definitions/pha    
 64     description: phandle to usb charger detect    
 65                                                   
 66 required:                                         
 67   - compatible                                    
 68   - reg                                           
 69   - ti,current-limit                              
 70   - ti,weak-battery-voltage                       
 71   - ti,battery-regulation-voltage                 
 72   - ti,charge-current                             
 73   - ti,termination-current                        
 74   - ti,resistor-sense                             
 75                                                   
 76 additionalProperties: false                       
 77                                                   
 78 examples:                                         
 79   - |                                             
 80     i2c {                                         
 81       #address-cells = <1>;                       
 82       #size-cells = <0>;                          
 83                                                   
 84       charger@6b {                                
 85         compatible = "ti,bq24150a";               
 86         reg = <0x6b>;                             
 87                                                   
 88         ti,current-limit = <100>;                 
 89         ti,weak-battery-voltage = <3400>;         
 90         ti,battery-regulation-voltage = <4200>    
 91         ti,charge-current = <650>;                
 92         ti,termination-current = <100>;           
 93         ti,resistor-sense = <68>;                 
 94                                                   
 95         ti,usb-charger-detection = <&isp1704>;    
 96       };                                          
 97     };                                            
                                                      

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