[PATCH 0/6] clk: uclass fixes and improvements
    Samuel Holland 
    samuel at sholland.org
       
    Mon Feb 20 06:59:33 CET 2023
    
    
  
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(-)
-- 
2.39.2
    
    
More information about the U-Boot
mailing list