interconnect: qcom: sm8450: add enable_mask for bcm nodes
authorNeil Armstrong <neil.armstrong@linaro.org>
Fri, 23 Jun 2023 12:50:43 +0000 (14:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2023 16:27:25 +0000 (18:27 +0200)
commite12b1ebc758a0b5778db1d29181f41f321e6c22c
tree4d5b1b6c97e131c0b2dfd2cbf78e5230cc63c979
parent8d0e2802b111da37866c20d7f6b531eb31c72ff5
interconnect: qcom: sm8450: add enable_mask for bcm nodes

commit be02db24cf840bc0fdfbecc78ad803619dd143e6 upstream.

Set the proper enable_mask to nodes requiring such value
to be used instead of a bandwidth when voting.

The masks were copied from the downstream implementation at [1].

[1] https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/blob/KERNEL.PLATFORM.1.0.r2-05600-WAIPIOLE.0/drivers/interconnect/qcom/waipio.c

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-2-709474b151cc@linaro.org
Fixes: fafc114a468e ("interconnect: qcom: Add SM8450 interconnect provider driver")
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/interconnect/qcom/sm8450.c