Thread (39 messages) 39 messages, 8 authors, 2020-07-20

Re: [PATCH v5 12/13] arm64: dts: freescale: sl28: enable LED support

From: Michael Walle <hidden>
Date: 2020-07-17 21:54:52
Also in: linux-devicetree, linux-gpio, linux-hwmon, linux-pwm, linux-watchdog, lkml

Hi Pavel,

Am 2020-07-17 10:36, schrieb Pavel Machek:
Hi!
quoted
Now that we have support for GPIO lines of the SMARC connector, enable
LED support on the KBox A-230-LS. There are two LEDs without fixed
functions, one is yellow and one is green. Unfortunately, it is just 
one
multi-color LED, thus while it is possible to enable both at the same
time it is hard to tell the difference between "yellow only" and 
"yellow
and green".
quoted
+		user_yellow {
+			label = "s1914:yellow:user";
+			gpios = <&sl28cpld_gpio0 0 0>;
+		};
+
+		user_green {
+			label = "s1914:green:user";
+			gpios = <&sl28cpld_gpio1 3 0>;
+		};
This is not suitable label for such LEDs... there's zero chance 
userland will
know what to do with these.

Do they have some kind of "usual" function?
Unfortunately, they do not. I guess the green one could be something 
like
"application ready" and the yellow one could be an indication that some
fault occurred.

Do you have any suggestions?

-michael

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help