summaryrefslogtreecommitdiff
path: root/drivers/interconnect/qcom/glymur.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/interconnect/qcom/glymur.c')
-rw-r--r--drivers/interconnect/qcom/glymur.c225
1 files changed, 102 insertions, 123 deletions
diff --git a/drivers/interconnect/qcom/glymur.c b/drivers/interconnect/qcom/glymur.c
index cf20b5752dbb..e5c07795a6c6 100644
--- a/drivers/interconnect/qcom/glymur.c
+++ b/drivers/interconnect/qcom/glymur.c
@@ -457,7 +457,7 @@ static struct qcom_icc_node qup0_core_master = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qup0_core_slave },
+ .link_nodes = { &qup0_core_slave },
};
static struct qcom_icc_node qup1_core_master = {
@@ -465,7 +465,7 @@ static struct qcom_icc_node qup1_core_master = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qup1_core_slave },
+ .link_nodes = { &qup1_core_slave },
};
static struct qcom_icc_node qup2_core_master = {
@@ -473,7 +473,7 @@ static struct qcom_icc_node qup2_core_master = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qup2_core_slave },
+ .link_nodes = { &qup2_core_slave },
};
static struct qcom_icc_node llcc_mc = {
@@ -481,7 +481,7 @@ static struct qcom_icc_node llcc_mc = {
.channels = 12,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &ebi },
+ .link_nodes = { &ebi },
};
static struct qcom_icc_node qsm_mnoc_cfg = {
@@ -489,7 +489,7 @@ static struct qcom_icc_node qsm_mnoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &srvc_mnoc },
+ .link_nodes = { &srvc_mnoc },
};
static struct qcom_icc_node qsm_pcie_east_anoc_cfg = {
@@ -497,7 +497,7 @@ static struct qcom_icc_node qsm_pcie_east_anoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &srvc_pcie_east_aggre_noc },
+ .link_nodes = { &srvc_pcie_east_aggre_noc },
};
static struct qcom_icc_node qnm_hscnoc_pcie_east = {
@@ -505,7 +505,7 @@ static struct qcom_icc_node qnm_hscnoc_pcie_east = {
.channels = 1,
.buswidth = 32,
.num_links = 3,
- .link_nodes = (struct qcom_icc_node *[]) { &xs_pcie_0, &xs_pcie_1,
+ .link_nodes = { &xs_pcie_0, &xs_pcie_1,
&xs_pcie_5 },
};
@@ -514,7 +514,7 @@ static struct qcom_icc_node qsm_cnoc_pcie_east_slave_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qhs_hscnoc_pcie_east_ms_mpu_cfg,
+ .link_nodes = { &qhs_hscnoc_pcie_east_ms_mpu_cfg,
&srvc_pcie_east },
};
@@ -523,7 +523,7 @@ static struct qcom_icc_node qsm_pcie_west_anoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &srvc_pcie_west_aggre_noc },
+ .link_nodes = { &srvc_pcie_west_aggre_noc },
};
static struct qcom_icc_node qnm_hscnoc_pcie_west = {
@@ -531,7 +531,7 @@ static struct qcom_icc_node qnm_hscnoc_pcie_west = {
.channels = 1,
.buswidth = 32,
.num_links = 5,
- .link_nodes = (struct qcom_icc_node *[]) { &xs_pcie_2, &xs_pcie_3a,
+ .link_nodes = { &xs_pcie_2, &xs_pcie_3a,
&xs_pcie_3b, &xs_pcie_4,
&xs_pcie_6 },
};
@@ -541,7 +541,7 @@ static struct qcom_icc_node qsm_cnoc_pcie_west_slave_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qhs_hscnoc_pcie_west_ms_mpu_cfg,
+ .link_nodes = { &qhs_hscnoc_pcie_west_ms_mpu_cfg,
&srvc_pcie_west },
};
@@ -550,7 +550,7 @@ static struct qcom_icc_node qss_cnoc_pcie_slave_east_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_cnoc_pcie_east_slave_cfg },
+ .link_nodes = { &qsm_cnoc_pcie_east_slave_cfg },
};
static struct qcom_icc_node qss_cnoc_pcie_slave_west_cfg = {
@@ -558,7 +558,7 @@ static struct qcom_icc_node qss_cnoc_pcie_slave_west_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_cnoc_pcie_west_slave_cfg },
+ .link_nodes = { &qsm_cnoc_pcie_west_slave_cfg },
};
static struct qcom_icc_node qss_mnoc_cfg = {
@@ -566,7 +566,7 @@ static struct qcom_icc_node qss_mnoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_mnoc_cfg },
+ .link_nodes = { &qsm_mnoc_cfg },
};
static struct qcom_icc_node qss_pcie_east_anoc_cfg = {
@@ -574,7 +574,7 @@ static struct qcom_icc_node qss_pcie_east_anoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_pcie_east_anoc_cfg },
+ .link_nodes = { &qsm_pcie_east_anoc_cfg },
};
static struct qcom_icc_node qss_pcie_west_anoc_cfg = {
@@ -582,7 +582,7 @@ static struct qcom_icc_node qss_pcie_west_anoc_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_pcie_west_anoc_cfg },
+ .link_nodes = { &qsm_pcie_west_anoc_cfg },
};
static struct qcom_icc_node qns_llcc = {
@@ -590,7 +590,7 @@ static struct qcom_icc_node qns_llcc = {
.channels = 12,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &llcc_mc },
+ .link_nodes = { &llcc_mc },
};
static struct qcom_icc_node qns_pcie_east = {
@@ -598,7 +598,7 @@ static struct qcom_icc_node qns_pcie_east = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_hscnoc_pcie_east },
+ .link_nodes = { &qnm_hscnoc_pcie_east },
};
static struct qcom_icc_node qns_pcie_west = {
@@ -606,7 +606,7 @@ static struct qcom_icc_node qns_pcie_west = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_hscnoc_pcie_west },
+ .link_nodes = { &qnm_hscnoc_pcie_west },
};
static struct qcom_icc_node qsm_cfg = {
@@ -614,7 +614,7 @@ static struct qcom_icc_node qsm_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 51,
- .link_nodes = (struct qcom_icc_node *[]) { &qhs_ahb2phy0, &qhs_ahb2phy1,
+ .link_nodes = { &qhs_ahb2phy0, &qhs_ahb2phy1,
&qhs_ahb2phy2, &qhs_ahb2phy3,
&qhs_av1_enc_cfg, &qhs_camera_cfg,
&qhs_clk_ctl, &qhs_crypto0_cfg,
@@ -654,7 +654,7 @@ static struct qcom_icc_node xm_gic = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_llcc },
+ .link_nodes = { &qns_llcc },
};
static struct qcom_icc_node qss_cfg = {
@@ -662,7 +662,7 @@ static struct qcom_icc_node qss_cfg = {
.channels = 1,
.buswidth = 4,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qsm_cfg },
+ .link_nodes = { &qsm_cfg },
};
static struct qcom_icc_node qnm_hscnoc_cnoc = {
@@ -670,7 +670,7 @@ static struct qcom_icc_node qnm_hscnoc_cnoc = {
.channels = 1,
.buswidth = 16,
.num_links = 8,
- .link_nodes = (struct qcom_icc_node *[]) { &qhs_aoss, &qhs_ipc_router,
+ .link_nodes = { &qhs_aoss, &qhs_ipc_router,
&qhs_soccp, &qhs_tme_cfg,
&qns_apss, &qss_cfg,
&qxs_boot_imem, &qxs_imem },
@@ -681,7 +681,7 @@ static struct qcom_icc_node qns_hscnoc_cnoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_hscnoc_cnoc },
+ .link_nodes = { &qnm_hscnoc_cnoc },
};
static struct qcom_icc_node alm_gpu_tcu = {
@@ -696,7 +696,7 @@ static struct qcom_icc_node alm_gpu_tcu = {
.prio_fwd_disable = 1,
},
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc },
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc },
};
static struct qcom_icc_node alm_pcie_qtc = {
@@ -711,7 +711,7 @@ static struct qcom_icc_node alm_pcie_qtc = {
.prio_fwd_disable = 1,
},
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc },
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc },
};
static struct qcom_icc_node alm_sys_tcu = {
@@ -726,7 +726,7 @@ static struct qcom_icc_node alm_sys_tcu = {
.prio_fwd_disable = 1,
},
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc },
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc },
};
static struct qcom_icc_node chm_apps = {
@@ -734,7 +734,7 @@ static struct qcom_icc_node chm_apps = {
.channels = 6,
.buswidth = 32,
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -750,7 +750,7 @@ static struct qcom_icc_node qnm_aggre_noc_east = {
.prio_fwd_disable = 1,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -766,7 +766,7 @@ static struct qcom_icc_node qnm_gpu = {
.prio_fwd_disable = 1,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -782,7 +782,7 @@ static struct qcom_icc_node qnm_lpass = {
.prio_fwd_disable = 0,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -798,7 +798,7 @@ static struct qcom_icc_node qnm_mnoc_hf = {
.prio_fwd_disable = 0,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -814,7 +814,7 @@ static struct qcom_icc_node qnm_mnoc_sf = {
.prio_fwd_disable = 0,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -830,7 +830,7 @@ static struct qcom_icc_node qnm_nsp_noc = {
.prio_fwd_disable = 1,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -846,7 +846,7 @@ static struct qcom_icc_node qnm_pcie_east = {
.prio_fwd_disable = 1,
},
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc },
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc },
};
static struct qcom_icc_node qnm_pcie_west = {
@@ -861,7 +861,7 @@ static struct qcom_icc_node qnm_pcie_west = {
.prio_fwd_disable = 1,
},
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc },
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc },
};
static struct qcom_icc_node qnm_snoc_sf = {
@@ -876,7 +876,7 @@ static struct qcom_icc_node qnm_snoc_sf = {
.prio_fwd_disable = 1,
},
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -885,7 +885,7 @@ static struct qcom_icc_node qxm_wlan_q6 = {
.channels = 1,
.buswidth = 8,
.num_links = 4,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc,
+ .link_nodes = { &qns_hscnoc_cnoc, &qns_llcc,
&qns_pcie_east, &qns_pcie_west },
};
@@ -894,7 +894,7 @@ static struct qcom_icc_node qns_a4noc_hscnoc = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_aggre_noc_east },
+ .link_nodes = { &qnm_aggre_noc_east },
};
static struct qcom_icc_node qns_lpass_ag_noc_gemnoc = {
@@ -902,7 +902,7 @@ static struct qcom_icc_node qns_lpass_ag_noc_gemnoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_lpass },
+ .link_nodes = { &qnm_lpass },
};
static struct qcom_icc_node qns_mem_noc_hf = {
@@ -910,7 +910,7 @@ static struct qcom_icc_node qns_mem_noc_hf = {
.channels = 2,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_mnoc_hf },
+ .link_nodes = { &qnm_mnoc_hf },
};
static struct qcom_icc_node qns_mem_noc_sf = {
@@ -918,7 +918,7 @@ static struct qcom_icc_node qns_mem_noc_sf = {
.channels = 2,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_mnoc_sf },
+ .link_nodes = { &qnm_mnoc_sf },
};
static struct qcom_icc_node qns_nsp_hscnoc = {
@@ -926,7 +926,7 @@ static struct qcom_icc_node qns_nsp_hscnoc = {
.channels = 4,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_nsp_noc },
+ .link_nodes = { &qnm_nsp_noc },
};
static struct qcom_icc_node qns_pcie_east_mem_noc = {
@@ -934,7 +934,7 @@ static struct qcom_icc_node qns_pcie_east_mem_noc = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_pcie_east },
+ .link_nodes = { &qnm_pcie_east },
};
static struct qcom_icc_node qns_pcie_west_mem_noc = {
@@ -942,7 +942,7 @@ static struct qcom_icc_node qns_pcie_west_mem_noc = {
.channels = 1,
.buswidth = 64,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_pcie_west },
+ .link_nodes = { &qnm_pcie_west },
};
static struct qcom_icc_node qns_gemnoc_sf = {
@@ -950,7 +950,7 @@ static struct qcom_icc_node qns_gemnoc_sf = {
.channels = 1,
.buswidth = 64,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_snoc_sf },
+ .link_nodes = { &qnm_snoc_sf },
};
static struct qcom_icc_node xm_usb3_0 = {
@@ -965,7 +965,7 @@ static struct qcom_icc_node xm_usb3_0 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc },
+ .link_nodes = { &qns_a4noc_hscnoc },
};
static struct qcom_icc_node xm_usb3_1 = {
@@ -980,7 +980,7 @@ static struct qcom_icc_node xm_usb3_1 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc },
+ .link_nodes = { &qns_a4noc_hscnoc },
};
static struct qcom_icc_node xm_usb4_0 = {
@@ -995,7 +995,7 @@ static struct qcom_icc_node xm_usb4_0 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc },
+ .link_nodes = { &qns_a4noc_hscnoc },
};
static struct qcom_icc_node xm_usb4_1 = {
@@ -1010,7 +1010,7 @@ static struct qcom_icc_node xm_usb4_1 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc },
+ .link_nodes = { &qns_a4noc_hscnoc },
};
static struct qcom_icc_node qnm_lpiaon_noc = {
@@ -1018,7 +1018,7 @@ static struct qcom_icc_node qnm_lpiaon_noc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_lpass_ag_noc_gemnoc },
+ .link_nodes = { &qns_lpass_ag_noc_gemnoc },
};
static struct qcom_icc_node qnm_av1_enc = {
@@ -1033,7 +1033,7 @@ static struct qcom_icc_node qnm_av1_enc = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_camnoc_hf = {
@@ -1048,7 +1048,7 @@ static struct qcom_icc_node qnm_camnoc_hf = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_hf },
+ .link_nodes = { &qns_mem_noc_hf },
};
static struct qcom_icc_node qnm_camnoc_icp = {
@@ -1063,7 +1063,7 @@ static struct qcom_icc_node qnm_camnoc_icp = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_camnoc_sf = {
@@ -1078,7 +1078,7 @@ static struct qcom_icc_node qnm_camnoc_sf = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_eva = {
@@ -1093,7 +1093,7 @@ static struct qcom_icc_node qnm_eva = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_mdp = {
@@ -1108,7 +1108,7 @@ static struct qcom_icc_node qnm_mdp = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_hf },
+ .link_nodes = { &qns_mem_noc_hf },
};
static struct qcom_icc_node qnm_vapss_hcp = {
@@ -1116,7 +1116,7 @@ static struct qcom_icc_node qnm_vapss_hcp = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_video = {
@@ -1131,7 +1131,7 @@ static struct qcom_icc_node qnm_video = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_video_cv_cpu = {
@@ -1146,7 +1146,7 @@ static struct qcom_icc_node qnm_video_cv_cpu = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_video_v_cpu = {
@@ -1161,7 +1161,7 @@ static struct qcom_icc_node qnm_video_v_cpu = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_mem_noc_sf },
+ .link_nodes = { &qns_mem_noc_sf },
};
static struct qcom_icc_node qnm_nsp = {
@@ -1169,7 +1169,7 @@ static struct qcom_icc_node qnm_nsp = {
.channels = 4,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_nsp_hscnoc },
+ .link_nodes = { &qns_nsp_hscnoc },
};
static struct qcom_icc_node xm_pcie_0 = {
@@ -1184,7 +1184,7 @@ static struct qcom_icc_node xm_pcie_0 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc },
+ .link_nodes = { &qns_pcie_east_mem_noc },
};
static struct qcom_icc_node xm_pcie_1 = {
@@ -1199,7 +1199,7 @@ static struct qcom_icc_node xm_pcie_1 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc },
+ .link_nodes = { &qns_pcie_east_mem_noc },
};
static struct qcom_icc_node xm_pcie_5 = {
@@ -1214,7 +1214,7 @@ static struct qcom_icc_node xm_pcie_5 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc },
+ .link_nodes = { &qns_pcie_east_mem_noc },
};
static struct qcom_icc_node xm_pcie_2 = {
@@ -1229,7 +1229,7 @@ static struct qcom_icc_node xm_pcie_2 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc },
+ .link_nodes = { &qns_pcie_west_mem_noc },
};
static struct qcom_icc_node xm_pcie_3a = {
@@ -1244,7 +1244,7 @@ static struct qcom_icc_node xm_pcie_3a = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc },
+ .link_nodes = { &qns_pcie_west_mem_noc },
};
static struct qcom_icc_node xm_pcie_3b = {
@@ -1259,7 +1259,7 @@ static struct qcom_icc_node xm_pcie_3b = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc },
+ .link_nodes = { &qns_pcie_west_mem_noc },
};
static struct qcom_icc_node xm_pcie_4 = {
@@ -1274,7 +1274,7 @@ static struct qcom_icc_node xm_pcie_4 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc },
+ .link_nodes = { &qns_pcie_west_mem_noc },
};
static struct qcom_icc_node xm_pcie_6 = {
@@ -1289,7 +1289,7 @@ static struct qcom_icc_node xm_pcie_6 = {
.prio_fwd_disable = 0,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc },
+ .link_nodes = { &qns_pcie_west_mem_noc },
};
static struct qcom_icc_node qnm_aggre1_noc = {
@@ -1297,7 +1297,7 @@ static struct qcom_icc_node qnm_aggre1_noc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_gemnoc_sf },
+ .link_nodes = { &qns_gemnoc_sf },
};
static struct qcom_icc_node qnm_aggre2_noc = {
@@ -1305,7 +1305,7 @@ static struct qcom_icc_node qnm_aggre2_noc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_gemnoc_sf },
+ .link_nodes = { &qns_gemnoc_sf },
};
static struct qcom_icc_node qnm_aggre3_noc = {
@@ -1313,7 +1313,7 @@ static struct qcom_icc_node qnm_aggre3_noc = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_gemnoc_sf },
+ .link_nodes = { &qns_gemnoc_sf },
};
static struct qcom_icc_node qnm_nsi_noc = {
@@ -1328,7 +1328,7 @@ static struct qcom_icc_node qnm_nsi_noc = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_gemnoc_sf },
+ .link_nodes = { &qns_gemnoc_sf },
};
static struct qcom_icc_node qnm_oobmss = {
@@ -1343,7 +1343,7 @@ static struct qcom_icc_node qnm_oobmss = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_gemnoc_sf },
+ .link_nodes = { &qns_gemnoc_sf },
};
static struct qcom_icc_node qns_a1noc_snoc = {
@@ -1351,7 +1351,7 @@ static struct qcom_icc_node qns_a1noc_snoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_aggre1_noc },
+ .link_nodes = { &qnm_aggre1_noc },
};
static struct qcom_icc_node qns_a2noc_snoc = {
@@ -1359,7 +1359,7 @@ static struct qcom_icc_node qns_a2noc_snoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_aggre2_noc },
+ .link_nodes = { &qnm_aggre2_noc },
};
static struct qcom_icc_node qns_a3noc_snoc = {
@@ -1367,7 +1367,7 @@ static struct qcom_icc_node qns_a3noc_snoc = {
.channels = 1,
.buswidth = 32,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_aggre3_noc },
+ .link_nodes = { &qnm_aggre3_noc },
};
static struct qcom_icc_node qns_lpass_aggnoc = {
@@ -1375,7 +1375,7 @@ static struct qcom_icc_node qns_lpass_aggnoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_lpiaon_noc },
+ .link_nodes = { &qnm_lpiaon_noc },
};
static struct qcom_icc_node qns_system_noc = {
@@ -1383,7 +1383,7 @@ static struct qcom_icc_node qns_system_noc = {
.channels = 1,
.buswidth = 8,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_nsi_noc },
+ .link_nodes = { &qnm_nsi_noc },
};
static struct qcom_icc_node qns_oobmss_snoc = {
@@ -1391,7 +1391,7 @@ static struct qcom_icc_node qns_oobmss_snoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_oobmss },
+ .link_nodes = { &qnm_oobmss },
};
static struct qcom_icc_node qxm_crypto = {
@@ -1406,7 +1406,7 @@ static struct qcom_icc_node qxm_crypto = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a1noc_snoc },
+ .link_nodes = { &qns_a1noc_snoc },
};
static struct qcom_icc_node qxm_soccp = {
@@ -1421,7 +1421,7 @@ static struct qcom_icc_node qxm_soccp = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a1noc_snoc },
+ .link_nodes = { &qns_a1noc_snoc },
};
static struct qcom_icc_node xm_qdss_etr_0 = {
@@ -1436,7 +1436,7 @@ static struct qcom_icc_node xm_qdss_etr_0 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a1noc_snoc },
+ .link_nodes = { &qns_a1noc_snoc },
};
static struct qcom_icc_node xm_qdss_etr_1 = {
@@ -1451,7 +1451,7 @@ static struct qcom_icc_node xm_qdss_etr_1 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a1noc_snoc },
+ .link_nodes = { &qns_a1noc_snoc },
};
static struct qcom_icc_node xm_ufs_mem = {
@@ -1466,7 +1466,7 @@ static struct qcom_icc_node xm_ufs_mem = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a2noc_snoc },
+ .link_nodes = { &qns_a2noc_snoc },
};
static struct qcom_icc_node xm_usb3_2 = {
@@ -1481,7 +1481,7 @@ static struct qcom_icc_node xm_usb3_2 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a2noc_snoc },
+ .link_nodes = { &qns_a2noc_snoc },
};
static struct qcom_icc_node xm_usb4_2 = {
@@ -1496,7 +1496,7 @@ static struct qcom_icc_node xm_usb4_2 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a2noc_snoc },
+ .link_nodes = { &qns_a2noc_snoc },
};
static struct qcom_icc_node qhm_qspi = {
@@ -1511,7 +1511,7 @@ static struct qcom_icc_node qhm_qspi = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node qhm_qup0 = {
@@ -1526,7 +1526,7 @@ static struct qcom_icc_node qhm_qup0 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node qhm_qup1 = {
@@ -1541,7 +1541,7 @@ static struct qcom_icc_node qhm_qup1 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node qhm_qup2 = {
@@ -1556,7 +1556,7 @@ static struct qcom_icc_node qhm_qup2 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node qxm_sp = {
@@ -1564,7 +1564,7 @@ static struct qcom_icc_node qxm_sp = {
.channels = 1,
.buswidth = 8,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node xm_sdc2 = {
@@ -1579,7 +1579,7 @@ static struct qcom_icc_node xm_sdc2 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node xm_sdc4 = {
@@ -1594,7 +1594,7 @@ static struct qcom_icc_node xm_sdc4 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node xm_usb2_0 = {
@@ -1609,7 +1609,7 @@ static struct qcom_icc_node xm_usb2_0 = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node xm_usb3_mp = {
@@ -1624,7 +1624,7 @@ static struct qcom_icc_node xm_usb3_mp = {
.prio_fwd_disable = 1,
},
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_a3noc_snoc },
+ .link_nodes = { &qns_a3noc_snoc },
};
static struct qcom_icc_node qnm_lpass_lpinoc = {
@@ -1632,7 +1632,7 @@ static struct qcom_icc_node qnm_lpass_lpinoc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_lpass_aggnoc },
+ .link_nodes = { &qns_lpass_aggnoc },
};
static struct qcom_icc_node xm_cpucp = {
@@ -1640,7 +1640,7 @@ static struct qcom_icc_node xm_cpucp = {
.channels = 1,
.buswidth = 8,
.num_links = 2,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_system_noc, &srvc_nsinoc },
+ .link_nodes = { &qns_system_noc, &srvc_nsinoc },
};
static struct qcom_icc_node xm_mem_sp = {
@@ -1648,7 +1648,7 @@ static struct qcom_icc_node xm_mem_sp = {
.channels = 1,
.buswidth = 8,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_oobmss_snoc },
+ .link_nodes = { &qns_oobmss_snoc },
};
static struct qcom_icc_node qns_lpi_aon_noc = {
@@ -1656,7 +1656,7 @@ static struct qcom_icc_node qns_lpi_aon_noc = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qnm_lpass_lpinoc },
+ .link_nodes = { &qnm_lpass_lpinoc },
};
static struct qcom_icc_node qnm_lpinoc_dsp_qns4m = {
@@ -1664,7 +1664,7 @@ static struct qcom_icc_node qnm_lpinoc_dsp_qns4m = {
.channels = 1,
.buswidth = 16,
.num_links = 1,
- .link_nodes = (struct qcom_icc_node *[]) { &qns_lpi_aon_noc },
+ .link_nodes = { &qns_lpi_aon_noc },
};
static struct qcom_icc_bcm bcm_acv = {
@@ -1878,7 +1878,6 @@ static const struct qcom_icc_desc glymur_aggre1_noc = {
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
.bcms = aggre1_noc_bcms,
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
@@ -1900,7 +1899,6 @@ static const struct qcom_icc_desc glymur_aggre2_noc = {
.config = &glymur_aggre2_noc_regmap_config,
.nodes = aggre2_noc_nodes,
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
- .alloc_dyn_id = true,
.qos_requires_clocks = true,
};
@@ -1929,7 +1927,6 @@ static const struct qcom_icc_desc glymur_aggre3_noc = {
.config = &glymur_aggre3_noc_regmap_config,
.nodes = aggre3_noc_nodes,
.num_nodes = ARRAY_SIZE(aggre3_noc_nodes),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const aggre4_noc_bcms[] = {
@@ -1958,7 +1955,6 @@ static const struct qcom_icc_desc glymur_aggre4_noc = {
.num_nodes = ARRAY_SIZE(aggre4_noc_nodes),
.bcms = aggre4_noc_bcms,
.num_bcms = ARRAY_SIZE(aggre4_noc_bcms),
- .alloc_dyn_id = true,
.qos_requires_clocks = true,
};
@@ -1982,7 +1978,6 @@ static const struct qcom_icc_desc glymur_clk_virt = {
.num_nodes = ARRAY_SIZE(clk_virt_nodes),
.bcms = clk_virt_bcms,
.num_bcms = ARRAY_SIZE(clk_virt_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const cnoc_cfg_bcms[] = {
@@ -2059,7 +2054,6 @@ static const struct qcom_icc_desc glymur_cnoc_cfg = {
.num_nodes = ARRAY_SIZE(cnoc_cfg_nodes),
.bcms = cnoc_cfg_bcms,
.num_bcms = ARRAY_SIZE(cnoc_cfg_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const cnoc_main_bcms[] = {
@@ -2092,7 +2086,6 @@ static const struct qcom_icc_desc glymur_cnoc_main = {
.num_nodes = ARRAY_SIZE(cnoc_main_nodes),
.bcms = cnoc_main_bcms,
.num_bcms = ARRAY_SIZE(cnoc_main_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const hscnoc_bcms[] = {
@@ -2136,7 +2129,6 @@ static const struct qcom_icc_desc glymur_hscnoc = {
.num_nodes = ARRAY_SIZE(hscnoc_nodes),
.bcms = hscnoc_bcms,
.num_bcms = ARRAY_SIZE(hscnoc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_node * const lpass_ag_noc_nodes[] = {
@@ -2156,7 +2148,6 @@ static const struct qcom_icc_desc glymur_lpass_ag_noc = {
.config = &glymur_lpass_ag_noc_regmap_config,
.nodes = lpass_ag_noc_nodes,
.num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const lpass_lpiaon_noc_bcms[] = {
@@ -2182,7 +2173,6 @@ static const struct qcom_icc_desc glymur_lpass_lpiaon_noc = {
.num_nodes = ARRAY_SIZE(lpass_lpiaon_noc_nodes),
.bcms = lpass_lpiaon_noc_bcms,
.num_bcms = ARRAY_SIZE(lpass_lpiaon_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_node * const lpass_lpicx_noc_nodes[] = {
@@ -2202,7 +2192,6 @@ static const struct qcom_icc_desc glymur_lpass_lpicx_noc = {
.config = &glymur_lpass_lpicx_noc_regmap_config,
.nodes = lpass_lpicx_noc_nodes,
.num_nodes = ARRAY_SIZE(lpass_lpicx_noc_nodes),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
@@ -2220,7 +2209,6 @@ static const struct qcom_icc_desc glymur_mc_virt = {
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
.bcms = mc_virt_bcms,
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
@@ -2259,7 +2247,6 @@ static const struct qcom_icc_desc glymur_mmss_noc = {
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
.bcms = mmss_noc_bcms,
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_node * const nsinoc_nodes[] = {
@@ -2280,7 +2267,6 @@ static const struct qcom_icc_desc glymur_nsinoc = {
.config = &glymur_nsinoc_regmap_config,
.nodes = nsinoc_nodes,
.num_nodes = ARRAY_SIZE(nsinoc_nodes),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const nsp_noc_bcms[] = {
@@ -2306,7 +2292,6 @@ static const struct qcom_icc_desc glymur_nsp_noc = {
.num_nodes = ARRAY_SIZE(nsp_noc_nodes),
.bcms = nsp_noc_bcms,
.num_bcms = ARRAY_SIZE(nsp_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_node * const oobm_ss_noc_nodes[] = {
@@ -2326,7 +2311,6 @@ static const struct qcom_icc_desc glymur_oobm_ss_noc = {
.config = &glymur_oobm_ss_noc_regmap_config,
.nodes = oobm_ss_noc_nodes,
.num_nodes = ARRAY_SIZE(oobm_ss_noc_nodes),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const pcie_east_anoc_bcms[] = {
@@ -2356,7 +2340,6 @@ static const struct qcom_icc_desc glymur_pcie_east_anoc = {
.num_nodes = ARRAY_SIZE(pcie_east_anoc_nodes),
.bcms = pcie_east_anoc_bcms,
.num_bcms = ARRAY_SIZE(pcie_east_anoc_bcms),
- .alloc_dyn_id = true,
.qos_requires_clocks = true,
};
@@ -2388,7 +2371,6 @@ static const struct qcom_icc_desc glymur_pcie_east_slv_noc = {
.num_nodes = ARRAY_SIZE(pcie_east_slv_noc_nodes),
.bcms = pcie_east_slv_noc_bcms,
.num_bcms = ARRAY_SIZE(pcie_east_slv_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const pcie_west_anoc_bcms[] = {
@@ -2420,7 +2402,6 @@ static const struct qcom_icc_desc glymur_pcie_west_anoc = {
.num_nodes = ARRAY_SIZE(pcie_west_anoc_nodes),
.bcms = pcie_west_anoc_bcms,
.num_bcms = ARRAY_SIZE(pcie_west_anoc_bcms),
- .alloc_dyn_id = true,
.qos_requires_clocks = true,
};
@@ -2454,7 +2435,6 @@ static const struct qcom_icc_desc glymur_pcie_west_slv_noc = {
.num_nodes = ARRAY_SIZE(pcie_west_slv_noc_nodes),
.bcms = pcie_west_slv_noc_bcms,
.num_bcms = ARRAY_SIZE(pcie_west_slv_noc_bcms),
- .alloc_dyn_id = true,
};
static struct qcom_icc_bcm * const system_noc_bcms[] = {
@@ -2488,7 +2468,6 @@ static const struct qcom_icc_desc glymur_system_noc = {
.num_nodes = ARRAY_SIZE(system_noc_nodes),
.bcms = system_noc_bcms,
.num_bcms = ARRAY_SIZE(system_noc_bcms),
- .alloc_dyn_id = true,
};
static const struct of_device_id qnoc_of_match[] = {