Linux LED subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Introduce userspace LED triggers driver
@ 2025-03-11  1:28 Craig McQueen
  2025-03-11  1:28 ` [PATCH v2 1/1] leds: " Craig McQueen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Craig McQueen @ 2025-03-11  1:28 UTC (permalink / raw)
  To: linux-leds; +Cc: Craig McQueen

I've done some significant rework since my original submission of this.

* Moved and renamed driver to drivers/leds/trigger/ledtrig-user.c, 
following kernel arrangement of trigger drivers.
But note the char device name and uapi header file are still named 
'uledtriggers'.
* Fixed a mutex reentrancy issue with the 'activate' function.
* Code refactoring and add comments.
* Add new documentation page to index.

Craig McQueen (1):
  leds: Introduce userspace LED triggers driver

 Documentation/leds/index.rst        |   1 +
 Documentation/leds/ledtrig-user.rst |  36 +++
 drivers/leds/trigger/Kconfig        |  10 +
 drivers/leds/trigger/Makefile       |   1 +
 drivers/leds/trigger/ledtrig-user.c | 348 ++++++++++++++++++++++++++++
 include/uapi/linux/uledtriggers.h   | 123 ++++++++++
 6 files changed, 519 insertions(+)
 create mode 100644 Documentation/leds/ledtrig-user.rst
 create mode 100644 drivers/leds/trigger/ledtrig-user.c
 create mode 100644 include/uapi/linux/uledtriggers.h

-- 
2.48.1


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

end of thread, other threads:[~2025-04-11 10:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11  1:28 [PATCH v2 0/1] Introduce userspace LED triggers driver Craig McQueen
2025-03-11  1:28 ` [PATCH v2 1/1] leds: " Craig McQueen
2025-03-25 13:15   ` Pavel Machek
2025-03-27  2:13     ` Craig McQueen
2025-04-11 10:08       ` Pavel Machek
2025-03-11  1:57 ` [PATCH v2 0/1] " Craig McQueen
2025-03-14 10:57 ` Lee Jones

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