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?
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
Hi, Yu,
if you have resolved your question, please help me correct "Correct button" "Helpful button" to close this ticket !
Thanks!
Regards,
Weidong