commit | f5808ac158f2b16b686a3d3c0879c5d6048aba14 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Aug 28 09:47:11 2017 +0930 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Tue Aug 29 21:10:40 2017 +0200 |
tree | e223e075b1e3b1877d644c2104effb193077c4eb | |
parent | 0f34f958768c48037ce19cdc5d863a7316a86d44 [diff] |
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: Andrew Jeffery <andrew@aj.id.au> Acked-by: Pavel Machek <pavel@ucw.cz> Tested-by: Brandon Wyman <bjwyman@gmail.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>