summaryrefslogtreecommitdiff
path: root/drivers/clocksource/dw_apb_timer.c
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2022-07-12 04:59:29 +0300
committerGeorgi Djakov <djakov@kernel.org>2022-07-12 10:04:01 +0300
commite3305daad62c90068e755cdae36a86ac4f02af22 (patch)
tree7e23e5949dd277a6a941be4109e1ef1149b26c70 /drivers/clocksource/dw_apb_timer.c
parentdcbce7b0a79cc5bc16759079090e1a3aa8dfea34 (diff)
downloadlinux-e3305daad62c90068e755cdae36a86ac4f02af22.tar.xz
interconnect: qcom: icc-rpm: Set bandwidth and clock for bucket values
This commit uses buckets for support bandwidth and clock rates. It introduces a new function qcom_icc_bus_aggregate() to calculate the aggregate average and peak bandwidths for every bucket, and also it calculates the maximum value of aggregated average bandwidth across all buckets. The maximum aggregated average is used to calculate the final bandwidth requests. And we can set the clock rate per bucket, we use SLEEP bucket as default bucket if a platform doesn't enable the interconnect path tags in DT binding; otherwise, we use WAKE bucket to set active clock and use SLEEP bucket for other clocks. So far we don't use AMC bucket. Signed-off-by: Leo Yan <leo.yan@linaro.org> Link: https://lore.kernel.org/r/20220712015929.2789881-6-leo.yan@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/clocksource/dw_apb_timer.c')
0 files changed, 0 insertions, 0 deletions