nxp,pca9685-pwm.txt 748 B

12345678910111213141516171819202122232425262728
  1. NXP PCA9685 16-channel 12-bit PWM LED controller
  2. ================================================
  3. Required properties:
  4. - compatible: "nxp,pca9685-pwm"
  5. - #pwm-cells: Should be 2. See pwm.txt in this directory for a description of
  6. the cells format.
  7. The index 16 is the ALLCALL channel, that sets all PWM channels at the same
  8. time.
  9. Optional properties:
  10. - invert (bool): boolean to enable inverted logic
  11. - open-drain (bool): boolean to configure outputs with open-drain structure;
  12. if omitted use totem-pole structure
  13. Example:
  14. For LEDs that are directly connected to the PCA, the following setting is
  15. applicable:
  16. pca: pca@41 {
  17. compatible = "nxp,pca9685-pwm";
  18. #pwm-cells = <2>;
  19. reg = <0x41>;
  20. invert;
  21. open-drain;
  22. };