Hi all,
We have two backlight controls in imx287 processor based. One is for lcd panel and other is for switch buttons.
lcd panel backlight is connected to pwm4(gpio3_29) and switch buttons backlgiht is connected to pwm3(gpio3_28).
Dutycycle of pwm3 is able to cotrol through drivers/leds/leds-mxs-pwm.c driver after configuring platform data as per my needs. pwm3 output is routed to switch buttons via booster(tps6115), which needs minimum 50 khz frequency. The default frequency which I am getting is 1.47Khz using leds-mxs-pwm driver.
Please let me know how to change the default frequency to 50kz.
Solved! Go to Solution.
I could able to chage the period by chaning cdiv value. Now I could able to change the switch buttons brightness.
I could able to chage the period by chaning cdiv value. Now I could able to change the switch buttons brightness.
Hi,
Thanks for sharing your solution!
Best regards!
/Carlos.