[PATCH 0/3] clk: imx: scu: support defer probe properly
Dong Aisheng
aisheng.dong at nxp.com
Tue Nov 24 05:07:59 EST 2020
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/20201119114302.26263-1-aisheng.dong@nxp.com/
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(-)
--
2.23.0
More information about the linux-arm-kernel
mailing list