clk: Add client API to HTML docs

This converts the existing client (aka clk.h) documentation to kernel doc
format, and adds it to the HTML docs. I have tried to preserve existing
comments as much as possible, refraining from semantic changes.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20211222171114.3091780-4-seanga2@gmail.com
[rebased onto u-boot/master and resolved conflicts]
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson
2021-12-22 12:11:12 -05:00
parent 14cacb019c
commit 9c88b13a90
3 changed files with 101 additions and 93 deletions

13
doc/api/clk.rst Normal file
View File

@@ -0,0 +1,13 @@
.. SPDX-License-Identifier: GPL-2.0+
Clock API
=========
.. kernel-doc:: include/clk.h
:doc: Overview
Client API
----------
.. kernel-doc:: include/clk.h
:internal:

View File

@@ -6,6 +6,7 @@ U-Boot API documentation
.. toctree::
:maxdepth: 2
clk
dfu
dm
efi