[PATCH 0/4] Allow to probe clks added in overlays

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 22 01:32:41 PDT 2023


We recently gained support for applying overlays to the barebox live
tree and to probe devices from it. This works well for most devices
but not for clks declared with CLK_OF_DECLARE. This series adds support
for these as well.

Sascha Hauer (4):
  clk: clk-gpio: Turn into driver
  clk: of: drop arguments from of_clk_init()
  clk: of: make of_clk_init() safe for being called multiple times
  commands: of_overlay: Allow to register clocks from overlay

 commands/of_overlay.c  |  8 ++++++--
 drivers/clk/clk-gpio.c | 20 ++++++++++----------
 drivers/clk/clk.c      | 30 +++++++++++++++++++++---------
 drivers/of/base.c      |  2 +-
 include/linux/clk.h    |  5 ++---
 5 files changed, 40 insertions(+), 25 deletions(-)

-- 
2.30.2




More information about the barebox mailing list