• Lee Jones's avatar
    pwm: Add PWM capture support · 3a3d1a4e
    Lee Jones authored
    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>
    3a3d1a4e
core.c 23.6 KB