Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1719781
| From | Andrew Jeffery <andrew@aj.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] leds: gpio: Allow retaining state on shutdown |
| Date | 2017-08-25 08:40 +0200 |
| Message-ID | <uigrD-xp-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, 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! 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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/2] leds: gpio: Allow retaining state on shutdown Andrew Jeffery <andrew@aj.id.au> - 2017-08-25 08:40 +0200
csiph-web