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.