leds-pca9532.txt 988 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. *NXP - pca9532 PWM LED Driver
  2. The PCA9532 family is SMBus I/O expander optimized for dimming LEDs.
  3. The PWM support 256 steps.
  4. Required properties:
  5. - compatible:
  6. "nxp,pca9530"
  7. "nxp,pca9531"
  8. "nxp,pca9532"
  9. "nxp,pca9533"
  10. - reg - I2C slave address
  11. Each led is represented as a sub-node of the nxp,pca9530.
  12. Optional sub-node properties:
  13. - label: see Documentation/devicetree/bindings/leds/common.txt
  14. - type: Output configuration, see dt-bindings/leds/leds-pca9532.h (default NONE)
  15. - linux,default-trigger: see Documentation/devicetree/bindings/leds/common.txt
  16. Example:
  17. #include <dt-bindings/leds/leds-pca9532.h>
  18. leds: pca9530@60 {
  19. compatible = "nxp,pca9530";
  20. reg = <0x60>;
  21. red-power {
  22. label = "pca:red:power";
  23. type = <PCA9532_TYPE_LED>;
  24. };
  25. green-power {
  26. label = "pca:green:power";
  27. type = <PCA9532_TYPE_LED>;
  28. };
  29. };
  30. For more product information please see the link below:
  31. http://nxp.com/documents/data_sheet/PCA9532.pdf