[PATCH v2 0/2] Documentation: ABI: leds: Document shared trigger attributes
From: Wayne Ho
Date: Mon Oct 05 2026 - 11:33:44 EST
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@xxxxxxxxx>
---
Changes in v2:
- Capitalize the description after the subject prefix, and reword
patch 1's subject to start with a verb (Sashiko)
- Add Fixes tag to patch 1 and reference the commit that removed the
attribute (Griffin)
- Link to v1: https://patch.msgid.link/20261001-docs-leds-abi-trigger-attrs-v1-0-54f0529bf0f6@xxxxxxxxx
---
Wayne Ho (2):
Documentation: ABI: leds: Drop stale gpio trigger reference for inverted
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@xxxxxxxxx>