Is there a pwm driver in KK4.4.3 U-boot for SabreSD?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a pwm driver in KK4.4.3 U-boot for SabreSD?

1,082 Views
sjyu
Contributor I

Hello,

There is a pwm driver in kk4.4.2 U-boot: /bootable/bootloader/uboot-imx/drivers/misc/imx_pwm.c

But this driver is removed from KK4.4.3, and I does not found how SabreSD controlled the pwm signal on DISP0_PWM(Pad name:SD1_DAT3) inU-boot

If I want to change the frequency on pad SD1_DAT3 and add a pwm signal from pad DISP0_DAT9 in U-boot on SabreSD, is there an easy way to control that?

Labels (1)
Tags (1)
0 Kudos
2 Replies

560 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi SJ,

   /bootable/bootloader/uboot-imx/drivers/misc/imx_pwm.c is PWM driver in u-boot, and on how to use it , example code is in mx6q_sabresd.c, please find " imx_pwm_config,imx_pwm_enable" in this file and research source code.

   In addition, if you want to use other differenct PADs for your PWM signal, you just need to change multiplexing code.

   Hope these information can help you !!


Regards,

Weidong

0 Kudos

560 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi, Yu,

    if you have resolved your question, please help me correct "Correct button" "Helpful button" to close this ticket !

Thanks!

Regards,

Weidong

0 Kudos