diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-06-19 15:04:34 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-15 09:54:44 -0700 |
commit | a927eb09d49c73f5250d61d5b7a0b5de09ab6a28 (patch) | |
tree | 694f1b539f70faff3b1d0c616e057dc7275acfc8 /scripts/gdb/linux/interrupts.py | |
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 <stephan@gerhold.net>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Georgi Djakov <djakov@kernel.org>
Link: https://lore.kernel.org/r/20230526-topic-smd_icc-v7-9-09c78c175546@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions