Thanks Peter,

 I have exercised that option already before posting and somehow it didn't work.

Changing the parameters (and recompiling) didn't change the default values, so my conclusion is that they might be

somehow hard-coded in a kernel driver.

Jan


On 26/11/2014 12:34 AM Peter Gregory wrote:

I don't know if this will help, but have you tried changing the polarity of the PWM pin in the device tree overlay?

bs_pwm_test_P8_13 {
compatible = "pwm_test";
pwms = <&ehrpwm2 1 500000 0>;
pwm-names = "PWM_P8_13";

pinctrl-names = "default";
pinctrl-0 = <&bs_pwm_P8_13_0xc>;

enabled = <1>;
duty = <0>;
status = "okay";
};


The last numeric parameter of pwms <&ehrpwm2 1 500000 0> swaps the polarity of the PWM output.
With the default duty cycle of 0, the pin will be low on power-up.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/bqsOg6NMyIM/unsubscribe.
To unsubscribe from this group and all its topics, 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