diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-07 00:20:24 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-05-08 08:28:07 +0200 |
commit | b0571e7e4ec4d62b27711758417c388042f7bae7 (patch) | |
tree | 5955d8df122121f629d058aa40c181d19a8f4dd9 /Documentation/devicetree/bindings | |
parent | leds: leds-pwm: implement PWM inversion (diff) | |
download | linux-b0571e7e4ec4d62b27711758417c388042f7bae7.tar.xz linux-b0571e7e4ec4d62b27711758417c388042f7bae7.zip |
leds: leds-pwm: add DT support for LEDs wired to supply
The non-DT driver allowed an active low property to be specified, but DT
is missing this in its description. Add the property to the DT binding
document, making it optional. It defaults to active high, which retains
compatibility with existing descriptions.
This should only be used for causes where the LED is wired to supply,
and the PWM does not sensibly support its own inversion.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-pwm.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm.txt b/Documentation/devicetree/bindings/leds/leds-pwm.txt index 7297107cf832..6c6583c35f2f 100644 --- a/Documentation/devicetree/bindings/leds/leds-pwm.txt +++ b/Documentation/devicetree/bindings/leds/leds-pwm.txt @@ -13,6 +13,8 @@ LED sub-node properties: For the pwms and pwm-names property please refer to: Documentation/devicetree/bindings/pwm/pwm.txt - max-brightness : Maximum brightness possible for the LED +- active-low : (optional) For PWMs where the LED is wired to supply + rather than ground. - label : (optional) see Documentation/devicetree/bindings/leds/common.txt - linux,default-trigger : (optional) |