atmel-tcb-pwm.txt 553 B

123456789101112131415161718
  1. Atmel TCB PWM controller
  2. Required properties:
  3. - compatible: should be "atmel,tcb-pwm"
  4. - #pwm-cells: Should be 3. The first cell specifies the per-chip index
  5. of the PWM to use, the second cell is the period in nanoseconds and
  6. bit 0 in the third cell is used to encode the polarity of PWM output.
  7. Set bit 0 of the third cell in PWM specifier to 1 for inverse polarity &
  8. set to 0 for normal polarity.
  9. - tc-block: The Timer Counter block to use as a PWM chip.
  10. Example:
  11. pwm {
  12. compatible = "atmel,tcb-pwm";
  13. #pwm-cells = <3>;
  14. tc-block = <1>;
  15. };