aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2017-04-27 08:37:33 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-05-14 13:01:29 +0200
commitbb29b9cccd95feeb43e11e9b1c2479777082e28a (patch)
treea4d68a91a58dccdd88eae6265ff30a50671d5d12 /Documentation/devicetree/bindings/leds
parentLinux 4.12-rc1 (diff)
downloadlinux-dev-bb29b9cccd95feeb43e11e9b1c2479777082e28a.tar.xz
linux-dev-bb29b9cccd95feeb43e11e9b1c2479777082e28a.zip
leds: pca963x: Add bindings to invert polarity
Add a new DT property, nxp,inverted-out, to invert the polarity of the output. Tested on PCA9634. Signed-off-by: Anders Darander <anders@chargestorm.se> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
-rw-r--r--Documentation/devicetree/bindings/leds/pca963x.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/pca963x.txt b/Documentation/devicetree/bindings/leds/pca963x.txt
index dfbdb123a9bf..4eee41482041 100644
--- a/Documentation/devicetree/bindings/leds/pca963x.txt
+++ b/Documentation/devicetree/bindings/leds/pca963x.txt
@@ -10,6 +10,7 @@ Optional properties:
- nxp,period-scale : In some configurations, the chip blinks faster than expected.
This parameter provides a scaling ratio (fixed point, decimal divided
by 1000) to compensate, e.g. 1300=1.3x and 750=0.75x.
+- nxp,inverted-out: invert the polarity of the generated PWM
Each led is represented as a sub-node of the nxp,pca963x device.