diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-11 19:58:50 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2025-01-09 18:19:21 +0300 |
commit | 9e89f02da718bc912f7f253b58804d4a52efed30 (patch) | |
tree | 4f2a7765a979e4699c266c1ae2da390372ecd502 /scripts/extract-fwblobs | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) | |
download | linux-9e89f02da718bc912f7f253b58804d4a52efed30.tar.xz |
clk: rockchip: support clocks registered late
When some clocks are registered late and some clocks are registered
early we need to make sure the late registered clocks report probe defer
until the final registration has happened.
But we do not want to keep reporting probe defer after the late
registration has happened. Also not all Rockchip SoCs have late
registered clocks and may not need to report probe defer at all.
This restructures code a bit, so that there is a new function
rockchip_clk_init_early(), which should be used for initializing the CRU
structure on SoCs making use of late initialization in addition to the
early init. These platforms should call rockchip_clk_finalize()
once all clocks have been registered.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
[added EXPORT_SYMBOL_GPL(rockchip_clk_finalize) to match the early function]
Link: https://lore.kernel.org/r/20241211165957.94922-2-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions