From: Heiko Stuebner <heiko@sntech.de>
To: lee@kernel.org, pavel@kernel.org
Cc: heiko@sntech.de, linux-leds@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] qnap-mcu: add support for the status LEDs
Date: Mon, 4 Aug 2025 13:49:47 +0200 [thread overview]
Message-ID: <20250804114949.3127417-1-heiko@sntech.de> (raw)
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
next reply other threads:[~2025-08-04 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-04 11:49 Heiko Stuebner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250804114949.3127417-1-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®