From 207dad903ae9c4a50624c9c6ffb9a9c39e876821 Mon Sep 17 00:00:00 2001 From: Mike Tipton Date: Mon, 13 Apr 2020 12:57:32 -0700 Subject: [PATCH] interconnect: qcom: lahaina: Change QUP vote_scale to 1 The QUP BCMs expect requests to be made in KHz. However, since we currently scale client requests by 1000, this requires client requests to be made in MHz. To align with the rest of the non-HLOS images, to make things more consistent with other BCMs that use KBps, and to allow for finer-grained frequency requests, change the scaling factor to 1. This allows the client requests to be made in KHz. Change-Id: I5b9e53d3fe2691830f304f909cd3ac0c94dacbcf Signed-off-by: Mike Tipton --- drivers/interconnect/qcom/lahaina.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/interconnect/qcom/lahaina.c b/drivers/interconnect/qcom/lahaina.c index 1a2ff335c890..715cd7c8294f 100644 --- a/drivers/interconnect/qcom/lahaina.c +++ b/drivers/interconnect/qcom/lahaina.c @@ -2087,6 +2087,7 @@ static struct qcom_icc_bcm bcm_mm5 = { static struct qcom_icc_bcm bcm_qup0 = { .name = "QUP0", .voter_idx = 0, + .vote_scale = 1, .num_nodes = 1, .nodes = { &qup0_core_slave }, }; @@ -2094,6 +2095,7 @@ static struct qcom_icc_bcm bcm_qup0 = { static struct qcom_icc_bcm bcm_qup1 = { .name = "QUP1", .voter_idx = 0, + .vote_scale = 1, .num_nodes = 1, .nodes = { &qup1_core_slave }, }; @@ -2101,6 +2103,7 @@ static struct qcom_icc_bcm bcm_qup1 = { static struct qcom_icc_bcm bcm_qup2 = { .name = "QUP2", .voter_idx = 0, + .vote_scale = 1, .num_nodes = 1, .nodes = { &qup2_core_slave }, };