[PATCH 0/2] Documentation: ABI: leds: document shared trigger attributes

From: Wayne Ho via B4 Relay

Date: Thu Oct 01 2026 - 02:45: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>
---
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@xxxxxxxxx>