mbox series

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

Message ID 20211222171114.3091780-1-seanga2@gmail.com
Headers show
Series clk: Clean up optional helpers, and add API docs to HTML | expand

Message

Sean Anderson Dec. 22, 2021, 5:11 p.m. UTC
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

Comments

Sean Anderson Jan. 15, 2022, 8:40 p.m. UTC | #1
On Wed, 22 Dec 2021 12:11:09 -0500, Sean Anderson wrote:
> 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
> 
> [...]

Applied, thanks!

[1/5] clk: Rename clk_get_optional_nodev
      commit: 80a0b4131b718f5685343a043d18949adc493df6
[2/5] clk: Inline clk_get_*_optional
      commit: 40389606194f3d603d034f756169494ad76f84ae
[3/5] clk: Add client API to HTML docs
      commit: 0c0b970cf39cf9e28d838c72e516dfbd7a5b5cb7
[4/5] clk: Add driver API to HTML docs
      commit: decee5e428ae8ab634eeef00f4e763febf1bcbda

Best regards,