pwm: bcm2835: Support for polarity setting via DT
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 12 Aug 2017 10:19:44 +0000 (12:19 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 21 Aug 2017 05:27:58 +0000 (07:27 +0200)
commit8a88b2a2017d1e7e80db53080baff591fd454722
tree9d55587aafc8237aa1fd7f26b389f1d34e6cdda6
parent46421d9d8e802e570dfa4d793a4938d2642ec7a7
pwm: bcm2835: Support for polarity setting via DT

This adds support for the third (optional) pwm cell to specify the
polarity, which is needed by display backlights for example.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-bcm2835.c