leds-ktd2692.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. * Kinetic Technologies - KTD2692 Flash LED Driver
  2. KTD2692 is the ideal power solution for high-power flash LEDs.
  3. It uses ExpressWire single-wire programming for maximum flexibility.
  4. The ExpressWire interface through CTRL pin can control LED on/off and
  5. enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current,
  6. Flash timeout, LVP(low voltage protection).
  7. Also, When the AUX pin is pulled high while CTRL pin is high,
  8. LED current will be ramped up to the flash-mode current level.
  9. Required properties:
  10. - compatible : Should be "kinetic,ktd2692".
  11. - ctrl-gpios : Specifier of the GPIO connected to CTRL pin.
  12. - aux-gpios : Specifier of the GPIO connected to AUX pin.
  13. Optional properties:
  14. - vin-supply : "vin" LED supply (2.7V to 5.5V).
  15. See Documentation/devicetree/bindings/regulator/regulator.txt
  16. A discrete LED element connected to the device must be represented by a child
  17. node - See Documentation/devicetree/bindings/leds/common.txt
  18. Required properties for flash LED child nodes:
  19. See Documentation/devicetree/bindings/leds/common.txt
  20. - led-max-microamp : Minimum Threshold for Timer protection
  21. is defined internally (Maximum 300mA).
  22. - flash-max-microamp : Flash LED maximum current
  23. Formula : I(mA) = 15000 / Rset.
  24. - flash-max-timeout-us : Flash LED maximum timeout.
  25. Optional properties for flash LED child nodes:
  26. - label : See Documentation/devicetree/bindings/leds/common.txt
  27. Example:
  28. ktd2692 {
  29. compatible = "kinetic,ktd2692";
  30. ctrl-gpios = <&gpc0 1 0>;
  31. aux-gpios = <&gpc0 2 0>;
  32. vin-supply = <&vbat>;
  33. flash-led {
  34. label = "ktd2692-flash";
  35. led-max-microamp = <300000>;
  36. flash-max-microamp = <1500000>;
  37. flash-max-timeout-us = <1835000>;
  38. };
  39. };