qnap-mcu: add support for the status LEDs

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 4 Aug 2025 13:17:01 +0200

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

Patches in this set

Statistics

  • 2 individual patches
  • 170 lines added
  • 5 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...