Commit 0f0f2579 authored by Jacek Anaszewski's avatar Jacek Anaszewski

dt-bindings: sc27xx-blt: Add function and color properties

Refer to new "function" and "color" properties and mark "label"
as deprecated.
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: Baolin Wang <baolin.wang@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent bb4e9af0
...@@ -14,7 +14,9 @@ Required child properties: ...@@ -14,7 +14,9 @@ Required child properties:
- reg: Port this LED is connected to. - reg: Port this LED is connected to.
Optional child properties: Optional child properties:
- label: See Documentation/devicetree/bindings/leds/common.txt. - function: See Documentation/devicetree/bindings/leds/common.txt.
- color: See Documentation/devicetree/bindings/leds/common.txt.
- label: See Documentation/devicetree/bindings/leds/common.txt (deprecated).
Examples: Examples:
...@@ -25,17 +27,17 @@ led-controller@200 { ...@@ -25,17 +27,17 @@ led-controller@200 {
reg = <0x200>; reg = <0x200>;
led@0 { led@0 {
label = "red"; color = <LED_COLOR_ID_RED>;
reg = <0x0>; reg = <0x0>;
}; };
led@1 { led@1 {
label = "green"; color = <LED_COLOR_ID_GREEN>;
reg = <0x1>; reg = <0x1>;
}; };
led@2 { led@2 {
label = "blue"; color = <LED_COLOR_ID_BLUE>;
reg = <0x2>; reg = <0x2>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment