Thread (35 messages) 35 messages, 3 authors, 2016-07-13

[PATCH v3 10/20] pwm: sysfs: Add PWM Capture support

From: Lee Jones <hidden>
Date: 2016-06-10 14:35:54
Also in: linux-devicetree, linux-pwm, lkml

On Fri, 10 Jun 2016, Thierry Reding wrote:
On Wed, Jun 08, 2016 at 10:21:25AM +0100, Lee Jones wrote:
quoted
Allow a user to read PWM Capture results from /sysfs.

To start a capture and read the result, simply read the file:

  $ cat $PWMCHIP/capture

The output format is "<period>:<duty_cycle>".
The format below is "<period> <duty cycle>".

No need to rev the series for this, I can take patches 8 and 10 as-is
and make those modifications myself.
Ideal, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help