Skip to content

Commit 60426ff

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: msm8996: Provide UFS clocks to A2NoC
On eMMC devices the bootloader has no business enabling UFS clocks. That results in a platform hang and hard reboot when trying to vote on paths including MASTER_UFS and since sync_state guarantees that it's done at boot time, this effectively prevents such devices from booting. Fix that. Fixes: 7add937 ("interconnect: qcom: Add MSM8996 interconnect provider driver") Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> #db820c Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent df87527 commit 60426ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/interconnect/qcom/msm8996.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ static const char * const bus_a0noc_clocks[] = {
3333
"aggre0_noc_mpu_cfg"
3434
};
3535

36+
static const char * const bus_a2noc_clocks[] = {
37+
"bus",
38+
"bus_a",
39+
"aggre2_ufs_axi",
40+
"ufs_axi"
41+
};
42+
3643
static const u16 mas_a0noc_common_links[] = {
3744
MSM8996_SLAVE_A0NOC_SNOC
3845
};
@@ -1859,6 +1866,8 @@ static const struct qcom_icc_desc msm8996_a2noc = {
18591866
.type = QCOM_ICC_NOC,
18601867
.nodes = a2noc_nodes,
18611868
.num_nodes = ARRAY_SIZE(a2noc_nodes),
1869+
.clocks = bus_a2noc_clocks,
1870+
.num_clocks = ARRAY_SIZE(bus_a2noc_clocks),
18621871
.regmap_cfg = &msm8996_a2noc_regmap_config
18631872
};
18641873

0 commit comments

Comments
 (0)