[PATCH v3 0/2] modernize and fix mc13xxx-led driver
From: Alexander Kurz
Date: Sun Nov 22 2026 - 12:06:42 EST
Main goal of this series is a fix enabling deferred probing of the
mc13xxx-led driver. The previous implementation has been dependent
on the MFD instance being present first and which has been changed
by commit 78efa53e715e ("leds: Init leds class earlier"), breaking
functionality. While working on it, replace the OF-specific API
with the newerunified device property API.
Signed-off-by: Alexander Kurz <akurz@xxxxxxxx>
---
Changes in v3:
- use dev_fwnode() to check parent availability, replacing dev_of_node().
(Sashiko)
- drop CONFIG_OF guard around mc13xxx_led_probe_dt() as all used. (Sashiko)
implementations should be safe for compilation with CONFIG_OF=n now.
- Link to v2: https://lore.kernel.org/all/20261122073235.26707-1-akurz@xxxxxxxx/
Changes in v2:
- removed unintended change of property "led-control" (Sashiko)
- Link to v1: https://lore.kernel.org/all/20261121074239.8745-1-akurz@xxxxxxxx/
Alexander Kurz (2):
leds: mc13783: Use unified device property API
leds: leds-mc13783: enable driver for deferred probe
drivers/leds/leds-mc13783.c | 37 +++++++++++++++----------------------
1 file changed, 15 insertions(+), 22 deletions(-)
--
2.39.5