summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-06-08 10:21:25 +0100
committerThierry Reding <thierry.reding@gmail.com>2016-06-10 16:01:40 +0200
commit1a366fe9153f445e950a7a344932b7419aa83094 (patch)
treeb6d66b37c862446d280a03179c178913d9090aad /drivers/pinctrl
parent3a3d1a4e32ab47323d7b8c8b7631a8d36a3098b2 (diff)
downloadop-kernel-dev-1a366fe9153f445e950a7a344932b7419aa83094.zip
op-kernel-dev-1a366fe9153f445e950a7a344932b7419aa83094.tar.gz
pwm: sysfs: Add PWM capture support
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>". Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud