This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: DMTimer configuration for PWM

Part Number: AM3352

Tool/software: Linux

Hi,

I am not able to identify where do I need to configure the timer7 of AM335x (E18 on ZCZ ball).

I would like to get a PWM ouptut from that E18 pin with the given dutycycle and frequency.

Note: I have enabled PWM Support in DT, I've also added the entry to the dt for the pinmux, enabled dmtimer ( pwm-omap-dmtimer.c )

Also, I got the following entry in sysfs, /sys/devices/platform/dmtimer-pwm@7/pwm/pwmchip0#  ;   /sys/class/pwm/pwmchip0 -> ../../devices/platform/dmtimer-pwm@7/pwm/pwmchip0