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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/kinetic,ktd2692.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/leds/kinetic,ktd2692.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/leds/kinetic,ktd2692.yaml (Version linux-5.1.21)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/leds/kineti    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: KTD2692 Flash LED Driver from Kinetic T    
  8                                                   
  9 maintainers:                                      
 10   - Markuss Broks <markuss.broks@gmail.com>        
 11                                                   
 12 description: |                                    
 13   KTD2692 is the ideal power solution for high    
 14   It uses ExpressWire single-wire programming     
 15                                                   
 16   The ExpressWire interface through CTRL pin c    
 17   enable/disable the IC, Movie(max 1/3 of Flas    
 18   Flash timeout, LVP(low voltage protection).     
 19                                                   
 20   Also, When the AUX pin is pulled high while     
 21   LED current will be ramped up to the flash-m    
 22                                                   
 23 properties:                                       
 24   compatible:                                     
 25     const: kinetic,ktd2692                        
 26                                                   
 27   ctrl-gpios:                                     
 28     maxItems: 1                                   
 29     description: Specifier of the GPIO connect    
 30                                                   
 31   aux-gpios:                                      
 32     maxItems: 1                                   
 33     description: Specifier of the GPIO connect    
 34                                                   
 35   vin-supply:                                     
 36     description: LED supply (2.7V to 5.5V).       
 37                                                   
 38   led:                                            
 39     type: object                                  
 40     $ref: common.yaml#                            
 41     description: Properties for the LED.          
 42     properties:                                   
 43       function: true                              
 44       color: true                                 
 45       flash-max-timeout-us:                       
 46         description: Flash LED maximum timeout    
 47                                                   
 48       led-max-microamp:                           
 49         maximum: 300000                           
 50         description: Minimum Threshold for Tim    
 51           is defined internally (Maximum 300mA    
 52                                                   
 53       flash-max-microamp:                         
 54         maximum: 300000                           
 55         description: Flash LED maximum current    
 56           Formula - I(uA) = 15000000 / Rset.      
 57                                                   
 58     additionalProperties: false                   
 59                                                   
 60 required:                                         
 61   - compatible                                    
 62   - ctrl-gpios                                    
 63   - led                                           
 64                                                   
 65 additionalProperties: false                       
 66                                                   
 67 examples:                                         
 68   - |                                             
 69     #include <dt-bindings/gpio/gpio.h>            
 70     #include <dt-bindings/leds/common.h>          
 71                                                   
 72     ktd2692 {                                     
 73       compatible = "kinetic,ktd2692";             
 74       ctrl-gpios = <&gpc0 1 0>;                   
 75       aux-gpios = <&gpc0 2 0>;                    
 76       vin-supply = <&vbat>;                       
 77                                                   
 78       led {                                       
 79         function = LED_FUNCTION_FLASH;            
 80         color = <LED_COLOR_ID_WHITE>;             
 81         flash-max-timeout-us = <250000>;          
 82         flash-max-microamp = <150000>;            
 83         led-max-microamp = <25000>;               
 84       };                                          
 85     };                                            
 86                                                   
 87 ...                                               
                                                      

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