adp1653.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. * Analog Devices ADP1653 flash LED driver
  2. Required Properties:
  3. - compatible: Must contain "adi,adp1653"
  4. - reg: I2C slave address
  5. - enable-gpios: Specifier of the GPIO connected to EN pin
  6. There are two LED outputs available - flash and indicator. One LED is
  7. represented by one child node, nodes need to be named "flash" and "indicator".
  8. Required properties of the LED child node:
  9. - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
  10. Required properties of the flash LED child node:
  11. - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
  12. - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
  13. - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
  14. Example:
  15. adp1653: led-controller@30 {
  16. compatible = "adi,adp1653";
  17. reg = <0x30>;
  18. enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
  19. flash {
  20. flash-timeout-us = <500000>;
  21. flash-max-microamp = <320000>;
  22. led-max-microamp = <50000>;
  23. };
  24. indicator {
  25. led-max-microamp = <17500>;
  26. };
  27. };