mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Documentation: ABI: leds: document shared trigger attributes
@ 2026-10-01  6:45 Wayne Ho via B4 Relay
  2026-10-01  6:45 ` [PATCH 1/2] Documentation: ABI: leds: inverted is specific to the backlight trigger Wayne Ho via B4 Relay
  2026-10-01  6:45 ` [PATCH 2/2] Documentation: ABI: leds: document timer, heartbeat and activity attributes Wayne Ho via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Wayne Ho via B4 Relay @ 2026-10-01  6:45 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones; +Cc: linux-leds, linux-kernel

The delay_on, delay_off and invert attributes are created by several
LED triggers, but only the oneshot variants are documented. Adding a
separate ABI file per trigger would make get_abi.py report the same
sysfs path as defined more than once, so patch 2 moves these entries
to sysfs-class-led and describes each trigger's behaviour there.

Patch 1 is a small preparatory fix: the existing inverted entry still
mentions the gpio trigger, which no longer creates that attribute.

Checked with tools/docs/get_abi.py validate (no new warnings) and
scripts/checkpatch.pl (clean).

Signed-off-by: Wayne Ho <wayneho219@gmail.com>
---
Wayne Ho (2):
      Documentation: ABI: leds: inverted is specific to the backlight trigger
      Documentation: ABI: leds: document timer, heartbeat and activity attributes

 Documentation/ABI/testing/sysfs-class-led          | 73 +++++++++++++++++++++-
 .../ABI/testing/sysfs-class-led-trigger-oneshot    | 29 ---------
 2 files changed, 70 insertions(+), 32 deletions(-)
---
base-commit: 5dd1818b15d98d4a20806cd00b1b40320b06004f
change-id: 20261001-docs-leds-abi-trigger-attrs-a20ed96981dd

Best regards,
--  
Wayne Ho <wayneho219@gmail.com>



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

end of thread, other threads:[~2026-10-05 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01  6:45 [PATCH 0/2] Documentation: ABI: leds: document shared trigger attributes Wayne Ho via B4 Relay
2026-10-01  6:45 ` [PATCH 1/2] Documentation: ABI: leds: inverted is specific to the backlight trigger Wayne Ho via B4 Relay
2026-10-05 10:43   ` Griffin Kroah-Hartman
2026-10-05 15:35     ` Wayne Ho
2026-10-01  6:45 ` [PATCH 2/2] Documentation: ABI: leds: document timer, heartbeat and activity attributes Wayne Ho via B4 Relay

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®