summaryrefslogtreecommitdiff
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorPhilip, Avinash <avinashphilip@ti.com>2012-07-24 14:05:32 (GMT)
committerThierry Reding <thierry.reding@avionic-design.de>2012-09-10 15:05:44 (GMT)
commit0aa0869c3c9b10338dd92a20fa4a9b6959f177b5 (patch)
treee88017ff289993d4142cf90ea410a2997258b24e /mm/mmap.c
parent01b2d4536f0215c6d97d77e157afee04300ffc90 (diff)
downloadlinux-fsl-qoriq-0aa0869c3c9b10338dd92a20fa4a9b6959f177b5.tar.xz
pwm: Add support for configuring the PWM polarity
Some hardware supports inverting the polarity of the PWM signal. This commit adds support to the PWM framework to allow users of the PWM API to configure the polarity. Note that in order to reduce complexity, changing the polarity of a PWM signal is only allowed while the PWM is disabled. A practical example where this can prove useful is to simulate inversion of the duty cycle. While inversion of polarity and duty cycle are not exactly the same, the differences for most use-cases are negligible. Signed-off-by: Philip, Avinash <avinashphilip@ti.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions