forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/leds/leds-lp8860.txt
....@@ -20,11 +20,15 @@
2020 - reg : 0
2121
2222 Optional child properties:
23
- - label : see Documentation/devicetree/bindings/leds/common.txt
23
+ - function : see Documentation/devicetree/bindings/leds/common.txt
24
+ - color : see Documentation/devicetree/bindings/leds/common.txt
25
+ - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
2426 - linux,default-trigger :
2527 see Documentation/devicetree/bindings/leds/common.txt
2628
2729 Example:
30
+
31
+#include <dt-bindings/leds/common.h>
2832
2933 led-controller@2d {
3034 compatible = "ti,lp8860";
....@@ -36,10 +40,11 @@
3640
3741 led@0 {
3842 reg = <0>;
39
- label = "white:backlight";
43
+ function = LED_FUNCTION_BACKLIGHT;
44
+ color = <LED_COLOR_ID_WHITE>;
4045 linux,default-trigger = "backlight";
4146 };
4247 }
4348
4449 For more product information please see the link below:
45
-http://www.ti.com/product/lp8860-q1
50
+https://www.ti.com/product/lp8860-q1