linux/Documentation/leds
Manuel Fombuena 96fa4d6995 leds: st1202: Correct and extend hw_pattern documentation
Fix the repeat section: -1 is a valid value meaning infinite repeat,
as accepted by the ledtrig-pattern sysfs interface; only 0 and values
below -1 are rejected. The previous text incorrectly stated all negative
numbers were invalid. Also remove the redundant trailing sentence since
the behaviour is now covered inline.

Add the brightness range (0-255) to the hw_pattern section, which was
previously undocumented.

Fixes: b1816b2238 ("Documentation:leds: Add leds-st1202.rst")
Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Assisted-by: Claude:claude-sonnet-4-6
Link: https://patch.msgid.link/GV1PR08MB8497B2FB4F5AC4B142790CE5C5F52@GV1PR08MB8497.eurprd08.prod.outlook.com
Signed-off-by: Lee Jones <lee@kernel.org>
2026-07-09 10:53:04 +01:00
..
index.rst Documentation: leds: Document pattern behavior of Samsung S2M series PMIC RGB LEDs 2026-06-17 11:29:34 +01:00
leds-blinkm.rst leds: Add multicolor support to BlinkM LED driver 2024-08-01 13:40:02 +01:00
leds-cht-wcove.rst leds: cht-wcove: Add support for breathing mode use hw_pattern sysfs API 2023-05-25 12:16:15 +01:00
leds-class-flash.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-class-multicolor.rst leds: Introduce the multi_max_intensity sysfs attribute 2026-06-17 11:28:52 +01:00
leds-class.rst Documentation: leds: leds-class: Document keyboard backlight LED class naming 2026-06-17 11:28:25 +01:00
leds-el15203000.rst docs: ABI: sysfs-class-led-trigger-pattern: remove hw_pattern duplication 2020-10-30 13:15:03 +01:00
leds-lm3556.rst Documentation: Add leading slash to some paths 2021-03-31 13:49:19 -06:00
leds-lp55xx.rst docs: fix typo in leds-lp55xx.rst 2026-05-25 14:20:02 -06:00
leds-lp3944.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp5521.rst leds: lp55xx_common: Enable use without FW_LOADER_USER_HELPER 2025-10-21 10:46:30 +01:00
leds-lp5523.rst leds: lp55xx_common: Enable use without FW_LOADER_USER_HELPER 2025-10-21 10:46:30 +01:00
leds-lp5562.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
leds-lp5812.rst docs: leds: Fix sysfs ABI reference in lp5812.rst 2026-06-17 11:28:14 +01:00
leds-mlxcpld.rst docs: leds: fix typo in Documentation/leds/leds-mlxcpld.rst 2024-08-26 15:07:59 -06:00
leds-mt6370-rgb.rst Documentation: leds: MT6370: Use bullet lists for timing variables 2023-03-29 15:38:53 +01:00
leds-qcom-lpg.rst Documentation: leds: Correct spelling 2023-01-30 08:03:46 +00:00
leds-s2m-rgb.rst Documentation: leds: Document pattern behavior of Samsung S2M series PMIC RGB LEDs 2026-06-17 11:29:34 +01:00
leds-sc27xx.rst docs: ABI: sysfs-class-led-trigger-pattern: remove hw_pattern duplication 2020-10-30 13:15:03 +01:00
leds-st1202.rst leds: st1202: Correct and extend hw_pattern documentation 2026-07-09 10:53:04 +01:00
ledtrig-oneshot.rst docs: leds: ledtrig-oneshot: Fix spelling mistake 2023-04-20 14:57:48 +01:00
ledtrig-transient.rst leds: we don't want people to use LED subsystem for vibrations 2020-08-17 18:04:15 +02:00
ledtrig-usbport.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
uleds.rst docs: leds: convert to ReST 2019-06-28 20:57:31 +02:00
well-known-leds.txt leds: Add multicolor support to BlinkM LED driver 2024-08-01 13:40:02 +01:00