public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] leds: extend disk trigger
@ 2026-01-23 19:05 Markus Probst
  2026-01-23 19:05 ` [PATCH RFC 1/4] leds: dt-bindings: add disk trigger led pattern Markus Probst
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Markus Probst @ 2026-01-23 19:05 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jacek Anaszewski, Damien Le Moal, Niklas Cassel,
	John Garry, Jason Yan, James E.J. Bottomley, Martin K. Petersen
  Cc: Pavel Machek, linux-leds, devicetree, linux-kernel, linux-ide,
	linux-scsi, Markus Probst

Extend the disk trigger
- to allow configuration of the blinking delays
  and whether the led should be kept on, on idle.
- to allow an individual led to be mapped to an ata port

I would also like to add another patch to this series, only leaving the led
on with invert 1 if also at least one disk is present on the ata port.
The led would then not only indicate activity, but also if a disk is
present.
That is why it is an RFC.

@Damien,Niclas: What would be the most straightforward way of telling
the led trigger if at least one disk is present on the ata port and
notifing it when this changes?

Thanks
- Markus Probst

Signed-off-by: Markus Probst <markus.probst@posteo.de>
---
Markus Probst (4):
      leds: dt-bindings: add disk trigger led pattern
      leds: dt-bindings: add disk trigger for each ata port
      leds: add delay_on, delay_off and invert attributes to disk trigger
      leds: add disk trigger for each ata port

 Documentation/devicetree/bindings/leds/common.yaml |  10 +-
 drivers/ata/libata-core.c                          |  22 +-
 drivers/leds/trigger/ledtrig-disk.c                | 298 ++++++++++++++++++++-
 drivers/scsi/libsas/sas_ata.c                      |   3 +-
 include/linux/leds.h                               |  16 +-
 include/linux/libata.h                             |   6 +-
 6 files changed, 332 insertions(+), 23 deletions(-)
---
base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
change-id: 20260123-ledtrig_disk_-1a500531865a


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

end of thread, other threads:[~2026-01-29  4:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23 19:05 [PATCH RFC 0/4] leds: extend disk trigger Markus Probst
2026-01-23 19:05 ` [PATCH RFC 1/4] leds: dt-bindings: add disk trigger led pattern Markus Probst
2026-01-23 19:05 ` [PATCH RFC 2/4] leds: dt-bindings: add disk trigger for each ata port Markus Probst
2026-01-23 19:05 ` [PATCH RFC 3/4] leds: add delay_on, delay_off and invert attributes to disk trigger Markus Probst
2026-01-23 19:18   ` Markus Probst
2026-01-23 19:05 ` [PATCH RFC 4/4] leds: add disk trigger for each ata port Markus Probst
2026-01-26  6:34   ` Damien Le Moal
2026-01-24 23:21 ` [PATCH RFC 0/4] leds: extend disk trigger Pavel Machek
2026-01-25  0:19   ` Markus Probst
2026-01-26  9:00 ` Niklas Cassel
2026-01-26 16:19   ` Ian Pilcher
2026-01-26 19:03     ` Niklas Cassel
2026-01-26 22:06   ` Markus Probst
2026-01-27  9:32     ` Niklas Cassel
2026-01-27 15:34       ` Markus Probst
2026-01-28  6:34         ` Damien Le Moal
2026-01-28 15:44           ` Markus Probst
2026-01-28 21:51             ` Niklas Cassel
2026-01-29  4:41             ` Damien Le Moal

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