mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] qnap-mcu: add support for the status LEDs
@ 2025-08-04 11:49 Heiko Stuebner
  2025-08-04 11:49 ` [PATCH v2 1/2] leds: qnap-mcu: fix state numbering for usb LED Heiko Stuebner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiko Stuebner @ 2025-08-04 11:49 UTC (permalink / raw)
  To: lee, pavel; +Cc: heiko, linux-leds, linux-kernel

Add the status LED controlled via the MCU and clean up the usb LED
a tiny bit.

changes in v2:
- add patch to clarify the command "area" of the usb status LED
- captilze LED in text areas (Lee)
- use 100 chars to prevent some line breaks (Lee)
- added the newly found state for "both on"
- don't forward declare struct, instead just point both LEDs to
  the red one, to allow resolving the parent struct and shared
  setter functions


Heiko Stuebner (2):
  leds: qnap-mcu: fix state numbering for usb LED
  leds: qnap-mcu: add support for the red and green status LEDs

 drivers/leds/leds-qnap-mcu.c | 175 ++++++++++++++++++++++++++++++++++-
 1 file changed, 170 insertions(+), 5 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-09-02  7:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-04 11:49 [PATCH v2 0/2] qnap-mcu: add support for the status LEDs Heiko Stuebner
2025-08-04 11:49 ` [PATCH v2 1/2] leds: qnap-mcu: fix state numbering for usb LED Heiko Stuebner
2025-08-04 11:49 ` [PATCH v2 2/2] leds: qnap-mcu: add support for the red and green status LEDs Heiko Stuebner
2025-09-02  7:55 ` [PATCH v2 0/2] qnap-mcu: add support for the " Lee Jones

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®