pwm: rockchip: Allow polarity invert on rk3288
authorDoug Anderson <dianders@chromium.org>
Mon, 25 Aug 2014 22:59:25 +0000 (15:59 -0700)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 26 Aug 2014 08:44:08 +0000 (10:44 +0200)
commit7264354c0cb8c04bd4a85d24e5d57a0e2417c2fb
tree94f16f29c664c6afd56b9a4608690e0b3d5a13ea
parent137fd45ffec15db14034990ceac890975cae7a32
pwm: rockchip: Allow polarity invert on rk3288

The rk3288 has the ability to invert the polarity of the PWM.  Let's
enable that ability.  Note that this increases pwm_cells to 3 for
rk3288.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Caesar Wang <caesar.wang@rock-chips.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
drivers/pwm/pwm-rockchip.c