forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt
....@@ -14,7 +14,9 @@
1414 - reg: Port this LED is connected to.
1515
1616 Optional child properties:
17
-- label: See Documentation/devicetree/bindings/leds/common.txt.
17
+- function: See Documentation/devicetree/bindings/leds/common.txt.
18
+- color: See Documentation/devicetree/bindings/leds/common.txt.
19
+- label: See Documentation/devicetree/bindings/leds/common.txt (deprecated).
1820
1921 Examples:
2022
....@@ -25,17 +27,17 @@
2527 reg = <0x200>;
2628
2729 led@0 {
28
- label = "red";
30
+ color = <LED_COLOR_ID_RED>;
2931 reg = <0x0>;
3032 };
3133
3234 led@1 {
33
- label = "green";
35
+ color = <LED_COLOR_ID_GREEN>;
3436 reg = <0x1>;
3537 };
3638
3739 led@2 {
38
- label = "blue";
40
+ color = <LED_COLOR_ID_BLUE>;
3941 reg = <0x2>;
4042 };
4143 };