From: Andrew Jeffery <andrew@aj.id.au>
To: linux-leds@vger.kernel.org
Cc: Andrew Jeffery <andrew@aj.id.au>,
rpurdie@rpsys.net, jacek.anaszewski@gmail.com, pavel@ucw.cz,
robh+dt@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
joel@jms.id.au, openbmc@lists.ozlabs.org
Subject: [PATCH 0/2] leds: gpio: Allow retaining state on shutdown
Date: Fri, 25 Aug 2017 16:05:01 +0930 [thread overview]
Message-ID: <20170825063503.31577-1-andrew@aj.id.au> (raw)
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
next reply other threads:[~2017-08-25 6:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 6:35 Andrew Jeffery [this message]
2017-08-25 6:35 ` [PATCH 1/2] dt-bindings: leds: gpio: Add optional retain-state-shutdown property Andrew Jeffery
2017-08-25 6:35 ` [PATCH 2/2] leds: gpio: Allow LED to retain state at shutdown Andrew Jeffery
2017-08-25 7:32 ` Pavel Machek
2017-08-27 11:01 ` Jacek Anaszewski
[not found] ` <3b89ad70-7024-b4ac-bf4e-49a02d12da51-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-28 0:00 ` Andrew Jeffery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170825063503.31577-1-andrew@aj.id.au \
--to=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=jacek.anaszewski@gmail.com \
--cc=joel@jms.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=openbmc@lists.ozlabs.org \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox