diff options
author | Konrad Dybcio <[email protected]> | 2023-06-19 15:04:34 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-15 09:54:44 -0700 |
commit | a927eb09d49c73f5250d61d5b7a0b5de09ab6a28 (patch) | |
tree | 694f1b539f70faff3b1d0c616e057dc7275acfc8 /lib/crypto/mpi/mpi-bit.c | |
parent | 19ced2aec6cdff7d227e012f7ac63d28dae07288 (diff) |
interconnect: qcom: smd-rpm: Add rpmcc handling skeleton code
Introduce qcom_icc_rpm_set_bus_rate() in preparation for handling RPM
clock resources within the interconnect framework. This lets us greatly
simplify all of the code handling, as setting the rate comes down to:
u32 rate_khz = max(clk.sleep_rate, clk.active_rate, clk_a.active_rate)
write_to_rpm(clock.description, rate_khz);
Reviewed-by: Stephan Gerhold <[email protected]>
Signed-off-by: Konrad Dybcio <[email protected]>
Acked-by: Georgi Djakov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions