diff options
| author | Venkatesh Yadav Abbarapu <[email protected]> | 2023-09-12 09:00:55 +0530 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2023-09-21 13:20:11 +0200 |
| commit | c7cce2606d252a83e72655bb595d7ff4a267615c (patch) | |
| tree | acbaecb3332722774f971d21b796de54656d6865 /scripts | |
| parent | df2ed08b2df708a9f343aa4f47954c90433e11c2 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
