Hi,
I followed the guide by Robert here:
https://eewiki.net/display/linuxonarm/BeagleBone+Black
I am having trouble getting PWM userspace access (/sys/class/pwm/). I don't
have a 'pwmchip0' folder. In am335x-bone-common.dtsi I added:
ehrpwm2_pins: pinmux_ehrpwm2_pins {
pinctrl-single,pins = <
0xa0 ( PIN_OUTPUT | MUX_MODE3 ) /* (R1) lcd_data0.ehrpwm2A */
0xa4 ( PIN_OUTPUT | MUX_MODE3 ) /* (R2) lcd_data1.ehrpwm2B */
>;
};
&epwmss2 {
status = "okay";
ehrpwm2 {
pinctrl-names = "default";
pinctrl-0 = <&ehrpwm2_pins>;
status = "okay";
};
};
Should it make the pwmchip0 by itself? It did when I was running TI Linux.
This is on a custom board that's based on a BBB.
Thanks.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/30376f28-b568-41ca-9675-f69616e8ca37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.