leds-pca9532.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. - default-state: see Documentation/devicetree/bindings/leds/common.txt
  17. This property is only valid for sub-nodes of type <PCA9532_TYPE_LED>.
  18. Example:
  19. #include <dt-bindings/leds/leds-pca9532.h>
  20. leds: pca9530@60 {
  21. compatible = "nxp,pca9530";
  22. reg = <0x60>;
  23. red-power {
  24. label = "pca:red:power";
  25. type = <PCA9532_TYPE_LED>;
  26. };
  27. green-power {
  28. label = "pca:green:power";
  29. type = <PCA9532_TYPE_LED>;
  30. };
  31. kernel-booting {
  32. type = <PCA9532_TYPE_LED>;
  33. default-state = "on";
  34. };
  35. sys-stat {
  36. type = <PCA9532_TYPE_LED>;
  37. default-state = "keep"; // don't touch, was set by U-Boot
  38. };
  39. };
  40. For more product information please see the link below:
  41. http://nxp.com/documents/data_sheet/PCA9532.pdf