diff options
author | Tudor Ambarus <[email protected]> | 2021-02-03 17:43:32 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-02-09 16:54:44 -0800 |
commit | 428d97e18594bc2c5cfd7207dff883384bac6822 (patch) | |
tree | 8852ab6590eddeca3afbaa261b83e80e4d1bae4c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
clk: at91: Fix the declaration of the clocks
These are all "early clocks" that require initialization just at
of_clk_init() time. Use CLK_OF_DECLARE() to declare them.
This also fixes a problem that was spotted when fw_devlink was
set to 'on' by default: the boards failed to boot. The reason is
that CLK_OF_DECLARE_DRIVER() clears the OF_POPULATED and causes
the consumers of the clock to be postponed by fw_devlink until
the second initialization routine of the clock has been completed.
One of the consumers of the clock is the timer, which is used as a
clocksource, and needs the clock initialized early. Postponing the
timers caused the fail at boot.
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Saravana Kannan <[email protected]>
Tested-by: Eugen Hristev <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions