Skip to content

auxdisplay: add support for TI LP5812 4x3 Matrix LED driver

Nam Tran linux-arm-kernel linux-devicetree linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v8 Latest5 patches 26 repliesIn review

Changes in v8 from the cover letter

- Move driver to drivers/auxdisplay/ instead of drivers/leds/.
- Rename files from leds-lp5812.c/.h to lp5812.c/.h.
- Move ti,lp5812.yaml binding to auxdisplay/ directory,
and update the title and $id to match new path.
- No functional changes to the binding itself (keep Reviewed-by).
- Update commit messages and patch titles to reflect the move.
- Link to v7: https://lore.kernel.org/linux-leds/[email protected]/

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: auxdisplay: add TI LP5812 4×3 Matrix RGB LED DriverDocumentation/devicetree/bindings/auxdisplay/ti,lp5812.yaml MAINTAINERS+52 -00 replies
2/5auxdisplay: add TI LP5812 4×3 Matrix RGB LED DriverMAINTAINERS drivers/auxdisplay/Kconfig drivers/auxdisplay/Makefile +2 more+3106 -02 replies
3/5docs: ABI: Document LP5812 sysfs interfacesDocumentation/ABI/testing/sysfs-bus-i2c-devices-lp5812 MAINTAINERS+145 -00 replies
4/5docs: auxdisplay: document TI LP5812 RGB LED driverDocumentation/admin-guide/auxdisplay/index.rst Documentation/admin-guide/auxdisplay/lp5812.rst MAINTAINERS+82 -10 replies
5/5arm64: dts: Add LP5812 node for Raspberry Pi 4 Model Barch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts+10 -00 replies

Reviews trailers per patch

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

PatchKrzysztof Kozlowski
1/5R-b
2/5
3/5
4/5
5/5

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

Read the v8 thread

Cover letter [PATCH v8 0/5] auxdisplay: add support for TI LP5812 4x3 Matrix LED driver

This patch series adds support for the TI/National Semiconductor LP5812 4x3 matrix RGB LED driver. The driver supports features such as autonomous animation and time-cross-multiplexing (TCM) for dynamic LED effects.

---
Changes in v8:
- Move driver to drivers/auxdisplay/ instead of drivers/leds/.
- Rename files from leds-lp5812.c/.h to lp5812.c/.h.
- Move ti,lp5812.yaml binding to auxdisplay/ directory,
and update the title and $id to match new path.
- No functional changes to the binding itself (keep Reviewed-by).
- Update commit messages and patch titles to reflect the move.
- Link to v7: https://lore.kernel.org/linux-leds/[email protected]/

Changes in v7:
- Mark chip_leds_map as const.
- Use consistent ret initialization.
- Simplify the function set_mix_sel_led().
- Refactor dev_config_show() and led_auto_animation_show() to avoid temp buffer, malloc/free.
- Simplify the code and ensure consistent use of mutex lock/unlock in show/store functions.
- Remove total_leds and total_aeu.
- Link to v6: https://lore.kernel.org/linux-leds/[email protected]/

Changes in v6:
- Add vcc-supply property to describe the LP5812 power supply.
- Remove chan-name property and entire LED subnodes, as they are not needed.
- Update LP5812 LED driver node to Raspberry Pi 4 B Device Tree, based on updated binding.
- Link to v5: https://lore.kernel.org/linux-leds/[email protected]/

Changes in v5:
- Rebase on v6.15-rc2
- Removed unused functions (lp5812_dump_regs, lp5812_update_bit).
- Address Krzysztof's review comments
- Link to v4: https://lore.kernel.org/linux-leds/[email protected]/
---

Nam Tran (5):
dt-bindings: auxdisplay: add TI LP5812 4×3 Matrix RGB LED Driver
auxdisplay: add TI LP5812 4×3 Matrix RGB LED Driver
docs: ABI: Document LP5812 sysfs interfaces
docs: auxdisplay: document TI LP5812 RGB LED driver
arm64: dts: Add LP5812 node for Raspberry Pi 4 Model B

 .../ABI/testing/sysfs-bus-i2c-devices-lp5812  |  144 +
 .../admin-guide/auxdisplay/index.rst          |    3 +-
 .../admin-guide/auxdisplay/lp5812.rst         |   79 +
 .../bindings/auxdisplay/ti,lp5812.yaml        |   46 +
 MAINTAINERS                                   |   12 +
 .../arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts |   10 +
 drivers/auxdisplay/Kconfig                    |   17 +
 drivers/auxdisplay/Makefile                   |    1 +
 drivers/auxdisplay/lp5812.c                   | 2736 +++++++++++++++++
 drivers/auxdisplay/lp5812.h                   |  348 +++
 10 files changed, 3395 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-i2c-devices-lp5812
 create mode 100644 Documentation/admin-guide/auxdisplay/lp5812.rst
 create mode 100644 Documentation/devicetree/bindings/auxdisplay/ti,lp5812.yaml
 create mode 100644 drivers/auxdisplay/lp5812.c
 create mode 100644 drivers/auxdisplay/lp5812.h

base-commit: f1a3944c860b0615d0513110d8cf62bb94adbb41

Signature · 1 line
2.25.1