interconnect: qcom: icc-rpm: Check for node-specific rate coefficients
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 25 Aug 2023 15:38:26 +0000 (17:38 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Mon, 9 Oct 2023 12:07:52 +0000 (15:07 +0300)
commitba3f826639782587b70a684dae79d39f6d3c433e
tree628a4d71b8bcaf2c359c757a0c373839fc930bf4
parent919791d82d3b878094e9edc39b0d9a4eafcc0860
interconnect: qcom: icc-rpm: Check for node-specific rate coefficients

Some nodes may have different coefficients than the general values for
bus they're attached to. Check for that and use them if present. See
[1], [2] for reference.

[1] https://github.com/sonyxperiadev/kernel/commit/7456d9779af9ad6bb9c7ee6f33d5c5a8d3648e24
[2] https://github.com/artem/android_kernel_sony_msm8996/commit/bf7a8985dcaf0eab5bc2562d2d6775e7e29c0f30
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230726-topic-icc_coeff-v4-4-c04b60caa467@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c
drivers/interconnect/qcom/icc-rpm.h