If properly enabled in dtb file during booting, you can always use any 
peripherals in AM335X SoC.
Refer https://github.com/chunsj/nxctrl/blob/master/pwm-test.c, which uses 
/dev/mem for control
pwm. Of course this code does not provide sysfs interface.

Sent from my iPad

> On Apr 18, 2014, at 9:12 PM, halhe...@gmail.com wrote:
> 
> I retried accessing PWM in the latest 3.13 kernel.....with no luck. Is PWM 
> still not supported in 3.13 (under /sys/devices/ocp.#/pwm_test_P9_14.#/) or 
> is there simply a new way to access PWM that I'm not aware of ?
> 
> Hussam
> 
>> On Tuesday, March 25, 2014 5:29:03 PM UTC-4, halh...@gmail.com wrote:
>> I'm having problems with PWM under the latest 3.13 kernel (built as per the 
>> instructions provided @ 
>> http://www.eewiki.net/display/linuxonarm/BeagleBone+Black) with a Debian 
>> root filesystem.The Device tree seems to support 3 PWM channels on P9_14, 
>> P9_16 (ehprwm1a&b) & P9_42 (ecap0). But when i take a peek at the contents 
>> of the "/sys/devices/ocp.#/pwm_test_P9_14.#/" directory I do not see the 
>> 'period', 'duty', 'run' or 'polarity' files needed to control the PWM 
>> channels.
>> 
>> Is PWM supported in the 3.13 Kernel yet? 
>> 
>> Thanks!
>> Hussam
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to