qnap-mcu: add support for the status LEDs
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
- [0001] leds: qnap-mcu: fix state numbering for usb LED (raw)
- [0002] leds: qnap-mcu: add support for the red and green status (raw)
Statistics
- 2 individual patches
- 170 lines added
- 5 lines removed