Skip to content

clk: imx: scu: support defer probe properly

Dong Aisheng linux-arm-kernel linux-clk linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: imx: scu: make scu clk driver depend on scu pddrivers/clk/imx/Kconfig+2 -20 replies
2/3firmware: imx: scu-pd: export SCU PD register statusdrivers/firmware/imx/scu-pd.c include/linux/firmware/imx/sci.h+25 -10 replies
3/3clk: imx: scu: defer probe if scu pd is still not readydrivers/clk/imx/clk-scu.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] clk: imx: scu: support defer probe properly

This patch series is a continued solution for the issue discussed here:
https://lore.kernel.org/patchwork/patch/1334670/

As kernel doesn't want user to call device_is_bound() which is removed
https://patchwork.kernel.org/project/linux-clk/patch/[email protected]/

Because SCU clock-controller (SCU clock protocol) itself does not have a power domain property in DT as it does not depend on power domain, but the sub clocks registered requires power domains to be ready first.
We export an API for SCU clk driver to query the status in
order to support -EPROBE_DEFER properly.

Dong Aisheng (3):
clk: imx: scu: make scu clk driver depend on scu pd
firmware: imx: scu-pd: export SCU PD register status
clk: imx: scu: defer probe if scu pd is still not ready

 drivers/clk/imx/Kconfig          |  4 ++--
 drivers/clk/imx/clk-scu.c        |  3 +++
 drivers/firmware/imx/scu-pd.c    | 20 +++++++++++++++++++-
 include/linux/firmware/imx/sci.h |  6 ++++++
 4 files changed, 30 insertions(+), 3 deletions(-)
Signature · 1 line
2.23.0