linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] leds: gpio: Allow retaining state on shutdown
@ 2017-08-28  0:17 Andrew Jeffery
  2017-08-28  0:17 ` [PATCH v2 1/2] dt-bindings: leds: gpio: Add optional retain-state-shutdown property Andrew Jeffery
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andrew Jeffery @ 2017-08-28  0:17 UTC (permalink / raw)
  To: linux-leds
  Cc: Andrew Jeffery, rpurdie, jacek.anaszewski, pavel, robh+dt,
	mark.rutland, devicetree, linux-kernel, joel, openbmc

Hello,

LEDs controlled by Baseboard Management Controllers (BMCs) are sometimes
required to retain their state across BMC resets. BMC resets may occur whilst
the host is alive, thus the chassis and host system remain powered up. In these
two patches I define an new devicetree property to describe the behaviour for
GPIO LEDs and add support to the leds-gpio driver.

Changes in v2:
* Expand BMC to Baseboard Management Controller at least once in each commit
  message.

v1: https://lkml.org/lkml/2017/8/25/44

Please review!

Cheers,

Andrew

Andrew Jeffery (2):
  dt-bindings: leds: gpio: Add optional retain-state-shutdown property
  leds: gpio: Allow LED to retain state at shutdown

 Documentation/devicetree/bindings/leds/leds-gpio.txt | 3 +++
 drivers/leds/leds-gpio.c                             | 7 ++++++-
 include/linux/leds.h                                 | 2 ++
 3 files changed, 11 insertions(+), 1 deletion(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-09-05 19:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28  0:17 [PATCH v2 0/2] leds: gpio: Allow retaining state on shutdown Andrew Jeffery
2017-08-28  0:17 ` [PATCH v2 1/2] dt-bindings: leds: gpio: Add optional retain-state-shutdown property Andrew Jeffery
2017-08-28 10:19   ` Pavel Machek
2017-08-28 21:13     ` Brandon Wyman
2017-08-29 19:13       ` Jacek Anaszewski
2017-08-31 21:28   ` Rob Herring
2017-08-31 23:02     ` Andrew Jeffery
2017-09-05 19:10       ` Jacek Anaszewski
2017-08-28  0:17 ` [PATCH v2 2/2] leds: gpio: Allow LED to retain state at shutdown Andrew Jeffery
2017-08-28 20:22 ` [PATCH v2 0/2] leds: gpio: Allow retaining state on shutdown Jacek Anaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).