All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] This series adds support for gpio-leds "default-state" property. The
@ 2018-03-07  9:48 linux-kernel-dev at beckhoff.com
  2018-03-07  9:48 ` [U-Boot] [PATCH 1/2] dm: led: Support "default-state" property linux-kernel-dev at beckhoff.com
  2018-03-07  9:48 ` [U-Boot] [PATCH 2/2] dm: led: auto probe() LEDs with "default-state" linux-kernel-dev at beckhoff.com
  0 siblings, 2 replies; 4+ messages in thread
From: linux-kernel-dev at beckhoff.com @ 2018-03-07  9:48 UTC (permalink / raw)
  To: u-boot

From: Patrick Bruenn <p.bruenn@beckhoff.com>

main usecase in mind are LEDs which indicate a state like "power on".
With this patchset applied, all you have to do is:
Add a gpio-led node with 'default-state = "on";' property to your device
tree. And the LED will automatically light up during U-Boot startup.


Patrick Bruenn (2):
  dm: led: Support "default-state" property
  dm: led: auto probe() LEDs with "default-state"

 drivers/led/led_gpio.c | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-01 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07  9:48 [U-Boot] [PATCH 0/2] This series adds support for gpio-leds "default-state" property. The linux-kernel-dev at beckhoff.com
2018-03-07  9:48 ` [U-Boot] [PATCH 1/2] dm: led: Support "default-state" property linux-kernel-dev at beckhoff.com
2018-04-01 14:19   ` Simon Glass
2018-03-07  9:48 ` [U-Boot] [PATCH 2/2] dm: led: auto probe() LEDs with "default-state" linux-kernel-dev at beckhoff.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.