Skip to content
Commit f5808ac1 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Jacek Anaszewski
Browse files

leds: gpio: Allow LED to retain state at shutdown



In some systems, such as Baseboard Management Controllers (BMCs), we
want to retain the state of LEDs across a reboot of the BMC (whilst the
host remains up). Implement support for the retain-state-shutdown
devicetree property in leds-gpio.

Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Tested-by: default avatarBrandon Wyman <bjwyman@gmail.com>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 0f34f958
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment