[U-Boot] [PATCH 0/5] clk: support assigned-clock, assigned-clock-parents, assigned-clock-rates

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Jan 25 17:34:02 UTC 2018


For various peripherals on Rockchip SoCs (e.g. for the Ethernet GMAC),
the parent-clock needs to be set via the DTS.  This adds the required
plumbing and implements the GMAC case for the RK3399.



Philipp Tomsich (5):
  clk: add clk_set_parent()
  clk: refactor clk_get_by_index() into clk_get_by_indexed_prop()
  rockchip: clk: rk3399: implement set_parent() operation
  clk: implement clk_set_defaults()
  rockchip: clk: rk3399: accept all assigned-clocks from the 'cru'-node

 drivers/clk/clk-uclass.c          | 140 +++++++++++++++++++++++++++++++++++++-
 drivers/clk/rockchip/clk_rk3399.c |  92 ++++++++++++++++++++++++-
 drivers/core/device.c             |   6 ++
 include/clk-uclass.h              |   8 +++
 include/clk.h                     |  28 ++++++++
 5 files changed, 270 insertions(+), 4 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list