This patch series merges support for AP-owned and bus QoS from SDM660 into common code (icc-rpm.c). MSM8916 and MSM8939 support code is extended to support these features. As I was touching these drivers, per Bjorn's suggestion expand DEFINE_QNODE macros (which makes adding QoS support much easier to review). Dependencies: - https://lore.kernel.org/linux-arm-msm/20210902054915.28689-1-shawn.guo@xxxxxxxxxx/ - https://lore.kernel.org/linux-arm-msm/20210823014003.31391-1-shawn.guo@xxxxxxxxxx/ - https://lore.kernel.org/linux-arm-msm/20210824043435.23190-1-shawn.guo@xxxxxxxxxx/ Changes since v1: - Rebase on top a2noc clocks support patch. - Expand DEFINE_QNODE - Simplify struct qcom_icc_node by moving links to separate array ---------------------------------------------------------------- Dmitry Baryshkov (11): interconnect: icc-rpm: move bus clocks handling into qnoc_probe interconnect: sdm660: expand DEFINE_QNODE macros interconnect: sdm660: drop default/unused values interconnect: sdm660: merge common code into icc-rpm interconnect: icc-rpm: add support for QoS reg offset interconnect: msm8916: expand DEFINE_QNODE macros interconnect: msm8916: add support for AP-owned nodes interconnect: msm8939: expand DEFINE_QNODE macros interconnect: msm8939: add support for AP-owned nodes interconnect: qcs404: expand DEFINE_QNODE macros interconnect: qcom: drop DEFINE_QNODE macro drivers/interconnect/qcom/icc-rpm.c | 263 ++++- drivers/interconnect/qcom/icc-rpm.h | 56 +- drivers/interconnect/qcom/msm8916.c | 1214 ++++++++++++++++++++-- drivers/interconnect/qcom/msm8939.c | 1283 +++++++++++++++++++++-- drivers/interconnect/qcom/qcs404.c | 967 +++++++++++++++-- drivers/interconnect/qcom/sdm660.c | 1940 ++++++++++++++++++++++++----------- 6 files changed, 4815 insertions(+), 908 deletions(-)