clk: imx: scu: support defer probe properly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | clk: imx: scu: make scu clk driver depend on scu pddrivers/ | +2 | 0 replies | |
| 2/3 | firmware: imx: scu-pd: export SCU PD register statusdrivers/ include/ | +25 | 0 replies | |
| 3/3 | clk: imx: scu: defer probe if scu pd is still not readydrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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