18c2ecf20Sopenharmony_ci* Kinetic Technologies - KTD2692 Flash LED Driver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciKTD2692 is the ideal power solution for high-power flash LEDs. 48c2ecf20Sopenharmony_ciIt uses ExpressWire single-wire programming for maximum flexibility. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciThe ExpressWire interface through CTRL pin can control LED on/off and 78c2ecf20Sopenharmony_cienable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 88c2ecf20Sopenharmony_ciFlash timeout, LVP(low voltage protection). 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciAlso, When the AUX pin is pulled high while CTRL pin is high, 118c2ecf20Sopenharmony_ciLED current will be ramped up to the flash-mode current level. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciRequired properties: 148c2ecf20Sopenharmony_ci- compatible : Should be "kinetic,ktd2692". 158c2ecf20Sopenharmony_ci- ctrl-gpios : Specifier of the GPIO connected to CTRL pin. 168c2ecf20Sopenharmony_ci- aux-gpios : Specifier of the GPIO connected to AUX pin. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciOptional properties: 198c2ecf20Sopenharmony_ci- vin-supply : "vin" LED supply (2.7V to 5.5V). 208c2ecf20Sopenharmony_ci See Documentation/devicetree/bindings/regulator/regulator.txt 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciA discrete LED element connected to the device must be represented by a child 238c2ecf20Sopenharmony_cinode - See Documentation/devicetree/bindings/leds/common.txt 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciRequired properties for flash LED child nodes: 268c2ecf20Sopenharmony_ci See Documentation/devicetree/bindings/leds/common.txt 278c2ecf20Sopenharmony_ci- led-max-microamp : Minimum Threshold for Timer protection 288c2ecf20Sopenharmony_ci is defined internally (Maximum 300mA). 298c2ecf20Sopenharmony_ci- flash-max-microamp : Flash LED maximum current 308c2ecf20Sopenharmony_ci Formula : I(mA) = 15000 / Rset. 318c2ecf20Sopenharmony_ci- flash-max-timeout-us : Flash LED maximum timeout. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciOptional properties for flash LED child nodes: 348c2ecf20Sopenharmony_ci- label : See Documentation/devicetree/bindings/leds/common.txt 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciExample: 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ciktd2692 { 398c2ecf20Sopenharmony_ci compatible = "kinetic,ktd2692"; 408c2ecf20Sopenharmony_ci ctrl-gpios = <&gpc0 1 0>; 418c2ecf20Sopenharmony_ci aux-gpios = <&gpc0 2 0>; 428c2ecf20Sopenharmony_ci vin-supply = <&vbat>; 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci flash-led { 458c2ecf20Sopenharmony_ci label = "ktd2692-flash"; 468c2ecf20Sopenharmony_ci led-max-microamp = <300000>; 478c2ecf20Sopenharmony_ci flash-max-microamp = <1500000>; 488c2ecf20Sopenharmony_ci flash-max-timeout-us = <1835000>; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci}; 51