Skip to content

leds: Support retaining state for the PCA955x

Eddie James openbmc 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7dt-bindings: leds: Add retain-state-shutdown booleanDocumentation/devicetree/bindings/leds/common.yaml+6 -00 replies
2/7leds: leds-core: Implement the retain-state-shutdown propertydrivers/leds/led-class.c+8 -20 replies
3/7leds: pca955x: Clean up code formattingdrivers/leds/leds-pca955x.c+30 -330 replies
4/7leds: pca955x: Add brightness_get functiondrivers/leds/leds-pca955x.c+52 -00 replies
5/7leds: pca955x: Implement the default-state propertydrivers/leds/leds-pca955x.c+46 -80 replies
6/7leds: pca955x: Let the core process the fwnodedrivers/leds/leds-pca955x.c+30 -280 replies
7/7leds: pca955x: Switch to i2c probe_newdrivers/leds/leds-pca955x.c+19 -40 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/7A-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH linux dev-5.10 0/7] leds: Support retaining state for the PCA955x

This series implements the ability to retain the state of the LEDs controlled by the PCA955x across system reboots. This includes a change to the LED core driver to respect the retain-state-shutdown device tree property. It also cleans up the PCA955x driver, adds the ability to query the hardware LED brightness, switches the I2C probe function to probe_new, and uses more core functionality for parsing the fwnode.

This series has been applied to linux-next.

Eddie James (7):
dt-bindings: leds: Add retain-state-shutdown boolean
leds: leds-core: Implement the retain-state-shutdown property
leds: pca955x: Clean up code formatting
leds: pca955x: Add brightness_get function
leds: pca955x: Implement the default-state property
leds: pca955x: Let the core process the fwnode
leds: pca955x: Switch to i2c probe_new

 .../devicetree/bindings/leds/common.yaml      |   6 +
 drivers/leds/led-class.c                      |  10 +-
 drivers/leds/leds-pca955x.c                   | 232 +++++++++++++-----
 3 files changed, 182 insertions(+), 66 deletions(-)
Signature · 1 line
2.27.0