interconnect: qcom: use icc_sync state for sm8[12]50
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 27 Oct 2020 13:34:18 +0000 (16:34 +0300)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 27 Oct 2020 14:01:22 +0000 (16:01 +0200)
commitfce52ad3483281930dc9215a68d69837f219f889
tree4cccea45f5f028b0103911cd8a50d98dfb20775b
parent266cd33b59138501579c64648f54b93eab2e5adf
interconnect: qcom: use icc_sync state for sm8[12]50

In addition to the rest of Qcom interconnect drivers use icc_sync_state
for SM8150/SM8250 interconnect drivers to notify the interconnect
framework when all consumers are probed and there is no need to keep the
bandwidth set to maximum anymore.

Also move the BCM initialization before creating the nodes to set the
max bandwidth in hardware for the initialization/probing stage.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 7d3b0b0d8184 ("interconnect: qcom: Use icc_sync_state")
Link: https://lore.kernel.org/r/20201027133418.976687-1-dmitry.baryshkov@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/sm8150.c
drivers/interconnect/qcom/sm8250.c