[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170828001711.19662-1-andrew@aj.id.au>
Date: Mon, 28 Aug 2017 09:47:09 +0930
From: Andrew Jeffery <andrew@...id.au>
To: linux-leds@...r.kernel.org
Cc: Andrew Jeffery <andrew@...id.au>, rpurdie@...ys.net,
jacek.anaszewski@...il.com, pavel@....cz, robh+dt@...nel.org,
mark.rutland@....com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, joel@....id.au,
openbmc@...ts.ozlabs.org
Subject: [PATCH v2 0/2] leds: gpio: Allow retaining state on shutdown
Hello,
LEDs controlled by Baseboard Management Controllers (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.
Changes in v2:
* Expand BMC to Baseboard Management Controller at least once in each commit
message.
v1: https://lkml.org/lkml/2017/8/25/44
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
Powered by blists - more mailing lists