The Linux BSP already contains the PWM driver, refer to the Section 2.5 of the attached document for more information.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------