hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
....@@ -18,6 +18,10 @@
1818 Optional properties:
1919 - enable-gpios : gpio pin to enable/disable the device.
2020 - 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.
2125
2226 Required child properties:
2327 - reg : 0 - Will enable all LED sync paths
....@@ -26,11 +30,17 @@
2630 3 - Will enable the LED3 sync (LM36923 only)
2731
2832 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)
3036 - linux,default-trigger :
37
+ see Documentation/devicetree/bindings/leds/common.txt
38
+ - led-max-microamp :
3139 see Documentation/devicetree/bindings/leds/common.txt
3240
3341 Example:
42
+
43
+#include <dt-bindings/leds/common.h>
3444
3545 led-controller@36 {
3646 compatible = "ti,lm3692x";
....@@ -40,13 +50,16 @@
4050
4151 enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
4252 vled-supply = <&vbatt>;
53
+ ti,ovp-microvolt = <29000000>;
4354
4455 led@0 {
4556 reg = <0>;
46
- label = "white:backlight_cluster";
57
+ function = LED_FUNCTION_BACKLIGHT;
58
+ color = <LED_COLOR_ID_WHITE>;
4759 linux,default-trigger = "backlight";
60
+ led-max-microamp = <20000>;
4861 };
4962 }
5063
5164 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