doc: introduce led.rst documentation

Introduce simple led.rst documentation to document all the additional
Kconfig and the current limitation of LED_BLINK and GPIO software blink.

Also add missing definition for sw_blink in led_uc_plat struct.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Christian Marangi
2024-10-01 14:24:42 +02:00
committed by Tom Rini
parent 990f726ce7
commit 051c448c8b
3 changed files with 52 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ U-Boot API documentation
event
getopt
interrupt
led
linker_lists
lmb
logging

10
doc/api/led.rst Normal file
View File

@@ -0,0 +1,10 @@
.. SPDX-License-Identifier: GPL-2.0+
LED
===
.. kernel-doc:: include/led.h
:doc: Overview
.. kernel-doc:: include/led.h
:internal: