interconnect: qcom: rpm: Add support for specifying channel num
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 8 Mar 2023 21:40:08 +0000 (22:40 +0100)
committerGeorgi Djakov <djakov@kernel.org>
Wed, 5 Apr 2023 08:29:59 +0000 (11:29 +0300)
commit02819953b33a4410e6aa4595a043c052408c90d3
tree25129641d38b111f692b675549aadd834f9367ca
parent1d779317eb6529d89bfe6d7900a2cf9e03149aeb
interconnect: qcom: rpm: Add support for specifying channel num

Some nodes, like EBI0 (DDR) or L3/LLCC, may be connected over more than
one channel. This should be taken into account in bandwidth calcualtion,
as we're supposed to feed msmbus with the per-channel bandwidth. Add
support for specifying that and use it during bandwidth aggregation.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230228-topic-qos-v7-2-815606092fff@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c
drivers/interconnect/qcom/icc-rpm.h