[lkml]   [2017]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] leds: gpio: Allow retaining state on shutdown

LEDs controlled by 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.

Please review!



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(-)


 \ /
  Last update: 2017-08-25 08:36    [W:0.074 / U:8.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site