adp1653.txt 967 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. - 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. Example:
  14. adp1653: led-controller@30 {
  15. compatible = "adi,adp1653";
  16. reg = <0x30>;
  17. enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
  18. flash {
  19. flash-timeout-us = <500000>;
  20. flash-max-microamp = <320000>;
  21. max-microamp = <50000>;
  22. };
  23. indicator {
  24. max-microamp = <17500>;
  25. };
  26. };