[PATCH v2 0/5] clk: Clean up optional helpers, and add API docs to HTML

Sean Anderson seanga2 at gmail.com
Wed Dec 22 18:11:09 CET 2021


This cleans up the various optional helpers for clocks, and adds a new one.
While we're at it, also convert the existing API docs to our HTML documentation.

Changes in v2:
- Clean up the argument list and descriptions
- Rebased onto u-boot/master

Sean Anderson (5):
  clk: Rename clk_get_optional_nodev
  clk: Inline clk_get_*_optional
  clk: Add client API to HTML docs
  clk: Add driver API to HTML docs
  clk: Add clk_get_by_name_optional

 doc/api/clk.rst            |  19 +++
 doc/api/index.rst          |   1 +
 drivers/clk/clk-uclass.c   |  21 ---
 drivers/clk/clk_zynq.c     |   5 +-
 drivers/phy/phy-mtk-tphy.c |   8 +-
 drivers/rng/meson-rng.c    |   4 +-
 include/clk-uclass.h       | 187 +++++++++++++----------
 include/clk.h              | 306 +++++++++++++++++++++----------------
 8 files changed, 310 insertions(+), 241 deletions(-)
 create mode 100644 doc/api/clk.rst

-- 
2.33.0



More information about the U-Boot mailing list