Re: [PATCH 04/25] dt-bindings: leds: Add LED_COLOR_NAME definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan,

On 3/11/19 1:23 PM, Dan Murphy wrote:
Jacek

On 3/10/19 1:28 PM, Jacek Anaszewski wrote:
Add common LED color name definitions for use in Device Tree.

Signed-off-by: Jacek Anaszewski <jacek.anaszewski@xxxxxxxxx>
Cc: Baolin Wang <baolin.wang@xxxxxxxxxx>
Cc: Daniel Mack <daniel@xxxxxxxxxx>
Cc: Dan Murphy <dmurphy@xxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
Cc: Oleh Kravchenko <oleg@xxxxxxxxxx>
Cc: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Cc: Simon Shields <simon@xxxxxxxxxxxxx>
---
  include/dt-bindings/leds/common.h | 9 +++++++++
  1 file changed, 9 insertions(+)

diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h
index ffcd46317307..0e986bb59391 100644
--- a/include/dt-bindings/leds/common.h
+++ b/include/dt-bindings/leds/common.h
@@ -57,4 +57,13 @@
  #define LED_FUNCTION_WLAN "wlan"
  #define LED_FUNCTION_WPS "wps"
+/* Standard LED colors */
+#define LED_COLOR_NAME_WHITE    "white"
+#define LED_COLOR_NAME_RED      "red"
+#define LED_COLOR_NAME_GREEN    "green"
+#define LED_COLOR_NAME_BLUE     "blue"
+#define LED_COLOR_NAME_AMBER    "amber"
+#define LED_COLOR_NAME_VIOLET   "violet"
+#define LED_COLOR_NAME_YELLOW   "yellow"
+

#define LED_COLOR_NAME_INFRARED	"ir"

Ack.

Dan

  #endif /* __DT_BINDINGS_LEDS_H */




--
Best regards,
Jacek Anaszewski



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux