1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-16 18:49:28 +01:00
Files
u-boot-megous/drivers
Venkatesh Yadav Abbarapu c7cce2606d clk: versal: Fix the function versal_clock_ref
For reference clocks, PM_CLK_GET_PARENT call is not allowed.
PM_CLK_GET_PARENT only allowed for MUX clocks. Rename the
versal_clock_ref() with versal_clock_get_ref_rate() for better
readability. Fix the versal_clock_get_ref_rate function by
passing the parent_id, and check whether the parent_id
belongs to ref_clk or pl_alt_ref_clk.
Also adding the function versal_clock_get_fixed_factor_rate()
if the clk_id belongs to the fixed factor clock.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230912033055.2549-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2023-09-21 13:20:11 +02:00
..
2021-10-05 08:50:15 -04:00
2023-05-02 14:23:58 -04:00
2023-07-21 09:00:39 +02:00
2023-08-21 17:32:17 -04:00
2023-08-21 17:32:17 -04:00
2023-03-02 17:45:58 -05:00
2023-01-20 12:27:24 -05:00
2023-04-21 15:16:01 +08:00
2023-09-19 11:36:25 -04:00
2023-04-25 15:31:28 -04:00