| .. | .. |
|---|
| 18 | 18 | Optional properties: |
|---|
| 19 | 19 | - enable-gpios : gpio pin to enable/disable the device. |
|---|
| 20 | 20 | - vled-supply : LED supply |
|---|
| 21 | + - ti,ovp-microvolt: Overvoltage protection in |
|---|
| 22 | + micro-volt, can be 17000000, 21000000, 25000000 or |
|---|
| 23 | + 29000000. If ti,ovp-microvolt is not specified it |
|---|
| 24 | + defaults to 29000000. |
|---|
| 21 | 25 | |
|---|
| 22 | 26 | Required child properties: |
|---|
| 23 | 27 | - reg : 0 - Will enable all LED sync paths |
|---|
| .. | .. |
|---|
| 26 | 30 | 3 - Will enable the LED3 sync (LM36923 only) |
|---|
| 27 | 31 | |
|---|
| 28 | 32 | Optional child properties: |
|---|
| 29 | | - - label : see Documentation/devicetree/bindings/leds/common.txt |
|---|
| 33 | + - function : see Documentation/devicetree/bindings/leds/common.txt |
|---|
| 34 | + - color : see Documentation/devicetree/bindings/leds/common.txt |
|---|
| 35 | + - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) |
|---|
| 30 | 36 | - linux,default-trigger : |
|---|
| 37 | + see Documentation/devicetree/bindings/leds/common.txt |
|---|
| 38 | + - led-max-microamp : |
|---|
| 31 | 39 | see Documentation/devicetree/bindings/leds/common.txt |
|---|
| 32 | 40 | |
|---|
| 33 | 41 | Example: |
|---|
| 42 | + |
|---|
| 43 | +#include <dt-bindings/leds/common.h> |
|---|
| 34 | 44 | |
|---|
| 35 | 45 | led-controller@36 { |
|---|
| 36 | 46 | compatible = "ti,lm3692x"; |
|---|
| .. | .. |
|---|
| 40 | 50 | |
|---|
| 41 | 51 | enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; |
|---|
| 42 | 52 | vled-supply = <&vbatt>; |
|---|
| 53 | + ti,ovp-microvolt = <29000000>; |
|---|
| 43 | 54 | |
|---|
| 44 | 55 | led@0 { |
|---|
| 45 | 56 | reg = <0>; |
|---|
| 46 | | - label = "white:backlight_cluster"; |
|---|
| 57 | + function = LED_FUNCTION_BACKLIGHT; |
|---|
| 58 | + color = <LED_COLOR_ID_WHITE>; |
|---|
| 47 | 59 | linux,default-trigger = "backlight"; |
|---|
| 60 | + led-max-microamp = <20000>; |
|---|
| 48 | 61 | }; |
|---|
| 49 | 62 | } |
|---|
| 50 | 63 | |
|---|
| 51 | 64 | For more product information please see the link below: |
|---|
| 52 | | -http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf |
|---|
| 65 | +https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf |
|---|