Skip to content

clk: uclass fixes and improvements

Samuel Holland u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6clk: Handle error pointers in clk_valid()include/clk.h+1 -15 replies
2/6clk: Fix error handling in clk_get_rate()drivers/clk/clk-uclass.c+1 -64 replies
3/6clk: Fix error handling in clk_get_parent()drivers/clk/clk-uclass.c+1 -14 replies
4/6clk: Fix rate caching in clk_get_parent_rate()drivers/clk/clk-uclass.c+2 -13 replies
5/6clk: Remove an unneeded check from clk_get_parent_rate()drivers/clk/clk-uclass.c+0 -52 replies
6/6clk: Add a .get_parent operationdrivers/clk/clk-uclass.c include/clk-uclass.h+14 -62 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchMichal SuchánekSean Anderson
1/6R-b
2/6R-b
3/6
4/6R-b
5/6R-b R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] clk: uclass fixes and improvements

This series fixes a few issues found while writing a clk driver for a new SoC (Bouffalo Lab BL808), and adds the new functionality needed to implement a hierarchy of clocks in a single device (without the CCF). The .get_parent hook will be useful on other platforms as well; I plan to use it to implement PLL rate setting on sunxi.

Samuel Holland (6):
clk: Handle error pointers in clk_valid()
clk: Fix error handling in clk_get_rate()
clk: Fix error handling in clk_get_parent()
clk: Fix rate caching in clk_get_parent_rate()
clk: Remove an unneeded check from clk_get_parent_rate()
clk: Add a .get_parent operation

 drivers/clk/clk-uclass.c | 35 ++++++++++++++++-------------------
 include/clk-uclass.h     |  2 ++
 include/clk.h            |  2 +-
 3 files changed, 19 insertions(+), 20 deletions(-)
Signature · 1 line
2.39.2