nxp,pca9685-pwm.txt 791 B

123456789101112131415161718192021222324252627
  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. The first cell specifies the per-chip index
  6. of the PWM to use and the second cell is the period in nanoseconds.
  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. };