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/PROCESSOR-SDK-AM335X: am335x pwm

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi,

Does the am335x support one pwm output?

I set the device tree as below.

 ehrpwm2_pins: ehrpwm2_pins {
  pinctrl-single,pins = <
   0xa0 ( PIN_OUTPUT | MUX_MODE3 ) /* (R1) lcd_data0.ehrpwm2A */
  >;
 };

But there is no file in /sys/class/pwm.

my environment:

LINUX : linux-3.14.26-g2489c02

KERNEL CONFIG :  CONFIG_PWM_TIECAP=y
                                 CONFIG_PWM_TIEHRPWM=y

 

ps. reference site :

http://processors.wiki.ti.com/index.php/AM335x_PWM_Driver's_Guide

http://processors.wiki.ti.com/index.php/Linux_Core_PWM_User's_Guide