Hi Sandeep,
If the pins are used by other modules, it will be required enabling the pins as PWM functionality on the Device Tree.
Additionally, you could check the following links, maybe some information would be useful:
linux/pwm – Gateworks
Linux/drivers/pwm/pwm-imx.c - Linux Cross Reference - Free Electrons http://lxr.free-electrons.com/source/drivers/pwm/pwm-imx.c
[U-Boot] [PATCH v3 3/6] pwm, imx6: add support for pwm modul on imx6
And the following document for reference in case of modifying the Device Tree:
Basic Device Tree for the Udoo Board
The information above is regarding software modifications to get PWM signals on the pins. Regarding hardware, it will be required adding a buffer between the i.MX pins and the LEDs, because i.MX pins have limited current/voltage capability, and LED arrays used to have a controller on the middle, so, please take a look on that.
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------