On Sun 2019-03-10 19:28:15, Jacek Anaszewski wrote:
> Add common LED color name definitions for use in Device Tree.

Could we do "LED_COLOR_NAME_" => "LED_COLOR_"?

                                                                Pavel

> Signed-off-by: Jacek Anaszewski <[email protected]>
> Cc: Baolin Wang <[email protected]>
> Cc: Daniel Mack <[email protected]>
> Cc: Dan Murphy <[email protected]>
> Cc: Linus Walleij <[email protected]>
> Cc: Oleh Kravchenko <[email protected]>
> Cc: Sakari Ailus <[email protected]>
> Cc: Simon Shields <[email protected]>
> ---
>  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"
> +
>  #endif /* __DT_BINDINGS_LEDS_H */

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature

Reply via email to