]> git.karo-electronics.de Git - linux-beck.git/commit
pwm: vt8500: Add polarity support
authorTony Prisk <linux@prisktech.co.nz>
Wed, 2 Jan 2013 19:44:16 +0000 (08:44 +1300)
committerThierry Reding <thierry.reding@avionic-design.de>
Wed, 9 Jan 2013 07:17:12 +0000 (08:17 +0100)
commit3ccb1c1702ed4bb07006d20c8173899a69dae242
treeef55173274b60bec942b0dcfc15f1df3614029fe
parent8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1
pwm: vt8500: Add polarity support

Add support to set polarity on PWM devices, allowing for inverted
duty cycles.

Also update the binding document to #pwm-cells = <3> to allow
passing the flags from devicetree.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
drivers/pwm/pwm-vt8500.c