Skip to content

Commit 550064a

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: qcm2290: Update EBI channel configuration
QCM2290 can support two memory configurations: single-channel, 32-bit wide LPDDR3 @ up to 933MHz (bus clock) or dual-channel, 16-bit wide LPDDR4X @ up to 1804 MHz. The interconnect driver in its current form seems to gravitate towards the first one, however there are no LPDDR3- equipped boards upstream and we still don't have a great way to discern the DDR generations on the kernel side. To make DDR scaling possible on the only currently-supported 2290 board, stick with the LPDDR4X config by default. The side effect on any potential LPDDR3 board would be that the requested bus clock rate is too high (but still capped to the firmware-configured FMAX). Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230726-topic-icc_coeff-v4-7-c04b60caa467@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent 8657ed4 commit 550064a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/interconnect/qcom/qcm2290.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ static struct qcom_icc_node mas_gfx3d = {
678678
static struct qcom_icc_node slv_ebi1 = {
679679
.name = "slv_ebi1",
680680
.id = QCM2290_SLAVE_EBI1,
681-
.buswidth = 8,
681+
.buswidth = 4,
682+
.channels = 2,
682683
.mas_rpm_id = -1,
683684
.slv_rpm_id = 0,
684685
};

0 commit comments

Comments
 (0)