mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] modernize and fix mc13xxx-led driver
@ 2026-11-22 17:06 Alexander Kurz
  2026-11-22 17:06 ` [PATCH v3 1/2] leds: mc13783: Use unified device property API Alexander Kurz
  2026-11-22 17:06 ` [PATCH v3 2/2] leds: leds-mc13783: enable driver for deferred probe Alexander Kurz
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Kurz @ 2026-11-22 17:06 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Griffin Kroah-Hartman
  Cc: Ilpo Järvinen, Bjorn Helgaas, linux-leds, linux-kernel,
	Alexander Kurz

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@blala.de>

---
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@blala.de/

Changes in v2:
- removed unintended change of property "led-control" (Sashiko)
- Link to v1: https://lore.kernel.org/all/20261121074239.8745-1-akurz@blala.de/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-22 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22 17:06 [PATCH v3 0/2] modernize and fix mc13xxx-led driver Alexander Kurz
2026-11-22 17:06 ` [PATCH v3 1/2] leds: mc13783: Use unified device property API Alexander Kurz
2026-11-22 17:06 ` [PATCH v3 2/2] leds: leds-mc13783: enable driver for deferred probe Alexander Kurz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®