Skip to content
Commit 3a3d1a4e authored by Lee Jones's avatar Lee Jones Committed by Thierry Reding
Browse files

pwm: Add PWM capture support



Supply a PWM capture callback op in order to pass back information
obtained by running analysis on a PWM signal. This would normally (at
least during testing) be called from the sysfs routines with a view to
printing out PWM capture data which has been encoded into a string.

Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
[thierry.reding@gmail.com: make capture data unsigned int for symmetry]
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1a695a90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment