diff options
author | Lee Jones | 2016-08-16 11:35:05 +0200 |
---|---|---|
committer | Thierry Reding | 2016-09-08 10:55:11 +0200 |
commit | c97267ae831da2711e9592398d490dbd1f4d5ddd (patch) | |
tree | 1e070d4104d060eab3751dc1cd3413e8b382925b /Makefile | |
parent | pwm: sti: Add support for PWM capture interrupts (diff) | |
download | kernel-qcow2-linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.tar.gz kernel-qcow2-linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.tar.xz kernel-qcow2-linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.zip |
pwm: sti: Add PWM capture callback
Once a PWM capture has been initiated, the capture call enables a rising
edge detection interrupt, then waits. Once each of the 3 phase changes
have been recorded the thread then wakes. The remaining part of the call
carries out the relevant calculations and returns a structure filled out
with the capture data.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions