leds-pwm frequecy support for imx28 bsp linux 2.6.35.3

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

leds-pwm frequecy support for imx28 bsp linux 2.6.35.3

ソリューションへジャンプ
1,834件の閲覧回数
ask
Contributor III

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.

0 件の賞賛
返信
1 解決策
1,491件の閲覧回数
ask
Contributor III

I could able to chage the period by chaning cdiv value. Now I could able to change the switch buttons brightness.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,492件の閲覧回数
ask
Contributor III

I could able to chage the period by chaning cdiv value. Now I could able to change the switch buttons brightness.

0 件の賞賛
返信
1,491件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi,

Thanks for sharing your solution!

Best regards!

/Carlos.

0 件の賞賛
返信