xref: /linux/drivers/interconnect/qcom/sdx55.c (revision cff66ace51e3acfcba3ab03f92adc9510830c365)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Qualcomm SDX55 interconnect driver
4  * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
5  *
6  * Copyright (c) 2021, Linaro Ltd.
7  *
8  */
9 
10 #include <linux/device.h>
11 #include <linux/interconnect.h>
12 #include <linux/interconnect-provider.h>
13 #include <linux/mod_devicetable.h>
14 #include <linux/module.h>
15 #include <linux/platform_device.h>
16 #include <dt-bindings/interconnect/qcom,sdx55.h>
17 
18 #include "bcm-voter.h"
19 #include "icc-rpmh.h"
20 #include "sdx55.h"
21 
22 DEFINE_QNODE(llcc_mc, SDX55_MASTER_LLCC, 4, 4, SDX55_SLAVE_EBI_CH0);
23 DEFINE_QNODE(acm_tcu, SDX55_MASTER_TCU_0, 1, 8, SDX55_SLAVE_LLCC, SDX55_SLAVE_MEM_NOC_SNOC, SDX55_SLAVE_MEM_NOC_PCIE_SNOC);
24 DEFINE_QNODE(qnm_snoc_gc, SDX55_MASTER_SNOC_GC_MEM_NOC, 1, 8, SDX55_SLAVE_LLCC);
25 DEFINE_QNODE(xm_apps_rdwr, SDX55_MASTER_AMPSS_M0, 1, 16, SDX55_SLAVE_LLCC, SDX55_SLAVE_MEM_NOC_SNOC, SDX55_SLAVE_MEM_NOC_PCIE_SNOC);
26 DEFINE_QNODE(qhm_audio, SDX55_MASTER_AUDIO, 1, 4, SDX55_SLAVE_ANOC_SNOC);
27 DEFINE_QNODE(qhm_blsp1, SDX55_MASTER_BLSP_1, 1, 4, SDX55_SLAVE_ANOC_SNOC);
28 DEFINE_QNODE(qhm_qdss_bam, SDX55_MASTER_QDSS_BAM, 1, 4, SDX55_SLAVE_SNOC_CFG, SDX55_SLAVE_EMAC_CFG, SDX55_SLAVE_USB3, SDX55_SLAVE_TLMM, SDX55_SLAVE_SPMI_FETCHER, SDX55_SLAVE_QDSS_CFG, SDX55_SLAVE_PDM, SDX55_SLAVE_SNOC_MEM_NOC_GC, SDX55_SLAVE_TCSR, SDX55_SLAVE_CNOC_DDRSS, SDX55_SLAVE_SPMI_VGI_COEX, SDX55_SLAVE_QPIC, SDX55_SLAVE_OCIMEM, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_USB3_PHY_CFG, SDX55_SLAVE_AOP, SDX55_SLAVE_BLSP_1, SDX55_SLAVE_SDCC_1, SDX55_SLAVE_CNOC_MSS, SDX55_SLAVE_PCIE_PARF, SDX55_SLAVE_ECC_CFG, SDX55_SLAVE_AUDIO, SDX55_SLAVE_AOSS, SDX55_SLAVE_PRNG, SDX55_SLAVE_CRYPTO_0_CFG, SDX55_SLAVE_TCU, SDX55_SLAVE_CLK_CTL, SDX55_SLAVE_IMEM_CFG);
29 DEFINE_QNODE(qhm_qpic, SDX55_MASTER_QPIC, 1, 4, SDX55_SLAVE_AOSS, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_ANOC_SNOC, SDX55_SLAVE_AOP, SDX55_SLAVE_AUDIO);
30 DEFINE_QNODE(qhm_snoc_cfg, SDX55_MASTER_SNOC_CFG, 1, 4, SDX55_SLAVE_SERVICE_SNOC);
31 DEFINE_QNODE(qhm_spmi_fetcher1, SDX55_MASTER_SPMI_FETCHER, 1, 4, SDX55_SLAVE_AOSS, SDX55_SLAVE_ANOC_SNOC, SDX55_SLAVE_AOP);
32 DEFINE_QNODE(qnm_aggre_noc, SDX55_MASTER_ANOC_SNOC, 1, 8, SDX55_SLAVE_PCIE_0, SDX55_SLAVE_SNOC_CFG, SDX55_SLAVE_SDCC_1, SDX55_SLAVE_TLMM, SDX55_SLAVE_SPMI_FETCHER, SDX55_SLAVE_QDSS_CFG, SDX55_SLAVE_PDM, SDX55_SLAVE_SNOC_MEM_NOC_GC, SDX55_SLAVE_TCSR, SDX55_SLAVE_CNOC_DDRSS, SDX55_SLAVE_SPMI_VGI_COEX, SDX55_SLAVE_QDSS_STM, SDX55_SLAVE_QPIC, SDX55_SLAVE_OCIMEM, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_USB3_PHY_CFG, SDX55_SLAVE_AOP, SDX55_SLAVE_BLSP_1, SDX55_SLAVE_USB3, SDX55_SLAVE_CNOC_MSS, SDX55_SLAVE_PCIE_PARF, SDX55_SLAVE_ECC_CFG, SDX55_SLAVE_APPSS, SDX55_SLAVE_AUDIO, SDX55_SLAVE_AOSS, SDX55_SLAVE_PRNG, SDX55_SLAVE_CRYPTO_0_CFG, SDX55_SLAVE_TCU, SDX55_SLAVE_CLK_CTL, SDX55_SLAVE_IMEM_CFG);
33 DEFINE_QNODE(qnm_ipa, SDX55_MASTER_IPA, 1, 8, SDX55_SLAVE_SNOC_CFG, SDX55_SLAVE_EMAC_CFG, SDX55_SLAVE_USB3, SDX55_SLAVE_AOSS, SDX55_SLAVE_SPMI_FETCHER, SDX55_SLAVE_QDSS_CFG, SDX55_SLAVE_PDM, SDX55_SLAVE_SNOC_MEM_NOC_GC, SDX55_SLAVE_TCSR, SDX55_SLAVE_CNOC_DDRSS, SDX55_SLAVE_QDSS_STM, SDX55_SLAVE_QPIC, SDX55_SLAVE_OCIMEM, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_USB3_PHY_CFG, SDX55_SLAVE_AOP, SDX55_SLAVE_BLSP_1, SDX55_SLAVE_SDCC_1, SDX55_SLAVE_CNOC_MSS, SDX55_SLAVE_PCIE_PARF, SDX55_SLAVE_ECC_CFG, SDX55_SLAVE_AUDIO, SDX55_SLAVE_TLMM, SDX55_SLAVE_PRNG, SDX55_SLAVE_CRYPTO_0_CFG, SDX55_SLAVE_CLK_CTL, SDX55_SLAVE_IMEM_CFG);
34 DEFINE_QNODE(qnm_memnoc, SDX55_MASTER_MEM_NOC_SNOC, 1, 8, SDX55_SLAVE_SNOC_CFG, SDX55_SLAVE_EMAC_CFG, SDX55_SLAVE_USB3, SDX55_SLAVE_TLMM, SDX55_SLAVE_SPMI_FETCHER, SDX55_SLAVE_QDSS_CFG, SDX55_SLAVE_PDM, SDX55_SLAVE_TCSR, SDX55_SLAVE_CNOC_DDRSS, SDX55_SLAVE_SPMI_VGI_COEX, SDX55_SLAVE_QDSS_STM, SDX55_SLAVE_QPIC, SDX55_SLAVE_OCIMEM, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_USB3_PHY_CFG, SDX55_SLAVE_AOP, SDX55_SLAVE_BLSP_1, SDX55_SLAVE_SDCC_1, SDX55_SLAVE_CNOC_MSS, SDX55_SLAVE_PCIE_PARF, SDX55_SLAVE_ECC_CFG, SDX55_SLAVE_APPSS,  SDX55_SLAVE_AUDIO, SDX55_SLAVE_AOSS, SDX55_SLAVE_PRNG, SDX55_SLAVE_CRYPTO_0_CFG, SDX55_SLAVE_TCU, SDX55_SLAVE_CLK_CTL, SDX55_SLAVE_IMEM_CFG);
35 DEFINE_QNODE(qnm_memnoc_pcie, SDX55_MASTER_MEM_NOC_PCIE_SNOC, 1, 8, SDX55_SLAVE_PCIE_0);
36 DEFINE_QNODE(qxm_crypto, SDX55_MASTER_CRYPTO_CORE_0, 1, 8, SDX55_SLAVE_AOSS, SDX55_SLAVE_ANOC_SNOC, SDX55_SLAVE_AOP);
37 DEFINE_QNODE(xm_emac, SDX55_MASTER_EMAC, 1, 8, SDX55_SLAVE_ANOC_SNOC);
38 DEFINE_QNODE(xm_ipa2pcie_slv, SDX55_MASTER_IPA_PCIE, 1, 8, SDX55_SLAVE_PCIE_0);
39 DEFINE_QNODE(xm_pcie, SDX55_MASTER_PCIE, 1, 8, SDX55_SLAVE_ANOC_SNOC);
40 DEFINE_QNODE(xm_qdss_etr, SDX55_MASTER_QDSS_ETR, 1, 8, SDX55_SLAVE_SNOC_CFG, SDX55_SLAVE_EMAC_CFG, SDX55_SLAVE_USB3, SDX55_SLAVE_AOSS, SDX55_SLAVE_SPMI_FETCHER, SDX55_SLAVE_QDSS_CFG, SDX55_SLAVE_PDM, SDX55_SLAVE_SNOC_MEM_NOC_GC, SDX55_SLAVE_TCSR, SDX55_SLAVE_CNOC_DDRSS, SDX55_SLAVE_SPMI_VGI_COEX, SDX55_SLAVE_QPIC, SDX55_SLAVE_OCIMEM, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_USB3_PHY_CFG, SDX55_SLAVE_AOP, SDX55_SLAVE_BLSP_1, SDX55_SLAVE_SDCC_1, SDX55_SLAVE_CNOC_MSS, SDX55_SLAVE_PCIE_PARF, SDX55_SLAVE_ECC_CFG, SDX55_SLAVE_AUDIO, SDX55_SLAVE_AOSS, SDX55_SLAVE_PRNG, SDX55_SLAVE_CRYPTO_0_CFG, SDX55_SLAVE_TCU, SDX55_SLAVE_CLK_CTL, SDX55_SLAVE_IMEM_CFG);
41 DEFINE_QNODE(xm_sdc1, SDX55_MASTER_SDCC_1, 1, 8, SDX55_SLAVE_AOSS, SDX55_SLAVE_IPA_CFG, SDX55_SLAVE_ANOC_SNOC, SDX55_SLAVE_AOP, SDX55_SLAVE_AUDIO);
42 DEFINE_QNODE(xm_usb3, SDX55_MASTER_USB3, 1, 8, SDX55_SLAVE_ANOC_SNOC);
43 DEFINE_QNODE(ebi, SDX55_SLAVE_EBI_CH0, 1, 4);
44 DEFINE_QNODE(qns_llcc, SDX55_SLAVE_LLCC, 1, 16, SDX55_SLAVE_EBI_CH0);
45 DEFINE_QNODE(qns_memnoc_snoc, SDX55_SLAVE_MEM_NOC_SNOC, 1, 8, SDX55_MASTER_MEM_NOC_SNOC);
46 DEFINE_QNODE(qns_sys_pcie, SDX55_SLAVE_MEM_NOC_PCIE_SNOC, 1, 8, SDX55_MASTER_MEM_NOC_PCIE_SNOC);
47 DEFINE_QNODE(qhs_aop, SDX55_SLAVE_AOP, 1, 4);
48 DEFINE_QNODE(qhs_aoss, SDX55_SLAVE_AOSS, 1, 4);
49 DEFINE_QNODE(qhs_apss, SDX55_SLAVE_APPSS, 1, 4);
50 DEFINE_QNODE(qhs_audio, SDX55_SLAVE_AUDIO, 1, 4);
51 DEFINE_QNODE(qhs_blsp1, SDX55_SLAVE_BLSP_1, 1, 4);
52 DEFINE_QNODE(qhs_clk_ctl, SDX55_SLAVE_CLK_CTL, 1, 4);
53 DEFINE_QNODE(qhs_crypto0_cfg, SDX55_SLAVE_CRYPTO_0_CFG, 1, 4);
54 DEFINE_QNODE(qhs_ddrss_cfg, SDX55_SLAVE_CNOC_DDRSS, 1, 4);
55 DEFINE_QNODE(qhs_ecc_cfg, SDX55_SLAVE_ECC_CFG, 1, 4);
56 DEFINE_QNODE(qhs_emac_cfg, SDX55_SLAVE_EMAC_CFG, 1, 4);
57 DEFINE_QNODE(qhs_imem_cfg, SDX55_SLAVE_IMEM_CFG, 1, 4);
58 DEFINE_QNODE(qhs_ipa, SDX55_SLAVE_IPA_CFG, 1, 4);
59 DEFINE_QNODE(qhs_mss_cfg, SDX55_SLAVE_CNOC_MSS, 1, 4);
60 DEFINE_QNODE(qhs_pcie_parf, SDX55_SLAVE_PCIE_PARF, 1, 4);
61 DEFINE_QNODE(qhs_pdm, SDX55_SLAVE_PDM, 1, 4);
62 DEFINE_QNODE(qhs_prng, SDX55_SLAVE_PRNG, 1, 4);
63 DEFINE_QNODE(qhs_qdss_cfg, SDX55_SLAVE_QDSS_CFG, 1, 4);
64 DEFINE_QNODE(qhs_qpic, SDX55_SLAVE_QPIC, 1, 4);
65 DEFINE_QNODE(qhs_sdc1, SDX55_SLAVE_SDCC_1, 1, 4);
66 DEFINE_QNODE(qhs_snoc_cfg, SDX55_SLAVE_SNOC_CFG, 1, 4, SDX55_MASTER_SNOC_CFG);
67 DEFINE_QNODE(qhs_spmi_fetcher, SDX55_SLAVE_SPMI_FETCHER, 1, 4);
68 DEFINE_QNODE(qhs_spmi_vgi_coex, SDX55_SLAVE_SPMI_VGI_COEX, 1, 4);
69 DEFINE_QNODE(qhs_tcsr, SDX55_SLAVE_TCSR, 1, 4);
70 DEFINE_QNODE(qhs_tlmm, SDX55_SLAVE_TLMM, 1, 4);
71 DEFINE_QNODE(qhs_usb3, SDX55_SLAVE_USB3, 1, 4);
72 DEFINE_QNODE(qhs_usb3_phy, SDX55_SLAVE_USB3_PHY_CFG, 1, 4);
73 DEFINE_QNODE(qns_aggre_noc, SDX55_SLAVE_ANOC_SNOC, 1, 8, SDX55_MASTER_ANOC_SNOC);
74 DEFINE_QNODE(qns_snoc_memnoc, SDX55_SLAVE_SNOC_MEM_NOC_GC, 1, 8, SDX55_MASTER_SNOC_GC_MEM_NOC);
75 DEFINE_QNODE(qxs_imem, SDX55_SLAVE_OCIMEM, 1, 8);
76 DEFINE_QNODE(srvc_snoc, SDX55_SLAVE_SERVICE_SNOC, 1, 4);
77 DEFINE_QNODE(xs_pcie, SDX55_SLAVE_PCIE_0, 1, 8);
78 DEFINE_QNODE(xs_qdss_stm, SDX55_SLAVE_QDSS_STM, 1, 4);
79 DEFINE_QNODE(xs_sys_tcu_cfg, SDX55_SLAVE_TCU, 1, 8);
80 
81 DEFINE_QBCM(bcm_mc0, "MC0", true, &ebi);
82 DEFINE_QBCM(bcm_sh0, "SH0", true, &qns_llcc);
83 DEFINE_QBCM(bcm_ce0, "CE0", false, &qxm_crypto);
84 DEFINE_QBCM(bcm_pn0, "PN0", false, &qhm_snoc_cfg);
85 DEFINE_QBCM(bcm_sh3, "SH3", false, &xm_apps_rdwr);
86 DEFINE_QBCM(bcm_sh4, "SH4", false, &qns_memnoc_snoc, &qns_sys_pcie);
87 DEFINE_QBCM(bcm_sn0, "SN0", true, &qns_snoc_memnoc);
88 DEFINE_QBCM(bcm_sn1, "SN1", false, &qxs_imem);
89 DEFINE_QBCM(bcm_pn1, "PN1", false, &xm_sdc1);
90 DEFINE_QBCM(bcm_pn2, "PN2", false, &qhm_audio, &qhm_spmi_fetcher1);
91 DEFINE_QBCM(bcm_sn3, "SN3", false, &xs_qdss_stm);
92 DEFINE_QBCM(bcm_pn3, "PN3", false, &qhm_blsp1, &qhm_qpic);
93 DEFINE_QBCM(bcm_sn4, "SN4", false, &xs_sys_tcu_cfg);
94 DEFINE_QBCM(bcm_pn5, "PN5", false, &qxm_crypto);
95 DEFINE_QBCM(bcm_sn6, "SN6", false, &xs_pcie);
96 DEFINE_QBCM(bcm_sn7, "SN7", false, &qnm_aggre_noc, &xm_emac, &xm_emac, &xm_usb3,
97 	    &qns_aggre_noc);
98 DEFINE_QBCM(bcm_sn8, "SN8", false, &qhm_qdss_bam, &xm_qdss_etr);
99 DEFINE_QBCM(bcm_sn9, "SN9", false, &qnm_memnoc);
100 DEFINE_QBCM(bcm_sn10, "SN10", false, &qnm_memnoc_pcie);
101 DEFINE_QBCM(bcm_sn11, "SN11", false, &qnm_ipa, &xm_ipa2pcie_slv);
102 
103 static struct qcom_icc_bcm * const mc_virt_bcms[] = {
104 	&bcm_mc0,
105 };
106 
107 static struct qcom_icc_node * const mc_virt_nodes[] = {
108 	[MASTER_LLCC] = &llcc_mc,
109 	[SLAVE_EBI_CH0] = &ebi,
110 };
111 
112 static const struct qcom_icc_desc sdx55_mc_virt = {
113 	.nodes = mc_virt_nodes,
114 	.num_nodes = ARRAY_SIZE(mc_virt_nodes),
115 	.bcms = mc_virt_bcms,
116 	.num_bcms = ARRAY_SIZE(mc_virt_bcms),
117 };
118 
119 static struct qcom_icc_bcm * const mem_noc_bcms[] = {
120 	&bcm_sh0,
121 	&bcm_sh3,
122 	&bcm_sh4,
123 };
124 
125 static struct qcom_icc_node * const mem_noc_nodes[] = {
126 	[MASTER_TCU_0] = &acm_tcu,
127 	[MASTER_SNOC_GC_MEM_NOC] = &qnm_snoc_gc,
128 	[MASTER_AMPSS_M0] = &xm_apps_rdwr,
129 	[SLAVE_LLCC] = &qns_llcc,
130 	[SLAVE_MEM_NOC_SNOC] = &qns_memnoc_snoc,
131 	[SLAVE_MEM_NOC_PCIE_SNOC] = &qns_sys_pcie,
132 };
133 
134 static const struct qcom_icc_desc sdx55_mem_noc = {
135 	.nodes = mem_noc_nodes,
136 	.num_nodes = ARRAY_SIZE(mem_noc_nodes),
137 	.bcms = mem_noc_bcms,
138 	.num_bcms = ARRAY_SIZE(mem_noc_bcms),
139 };
140 
141 static struct qcom_icc_bcm * const system_noc_bcms[] = {
142 	&bcm_ce0,
143 	&bcm_pn0,
144 	&bcm_pn1,
145 	&bcm_pn2,
146 	&bcm_pn3,
147 	&bcm_pn5,
148 	&bcm_sn0,
149 	&bcm_sn1,
150 	&bcm_sn3,
151 	&bcm_sn4,
152 	&bcm_sn6,
153 	&bcm_sn7,
154 	&bcm_sn8,
155 	&bcm_sn9,
156 	&bcm_sn10,
157 	&bcm_sn11,
158 };
159 
160 static struct qcom_icc_node * const system_noc_nodes[] = {
161 	[MASTER_AUDIO] = &qhm_audio,
162 	[MASTER_BLSP_1] = &qhm_blsp1,
163 	[MASTER_QDSS_BAM] = &qhm_qdss_bam,
164 	[MASTER_QPIC] = &qhm_qpic,
165 	[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
166 	[MASTER_SPMI_FETCHER] = &qhm_spmi_fetcher1,
167 	[MASTER_ANOC_SNOC] = &qnm_aggre_noc,
168 	[MASTER_IPA] = &qnm_ipa,
169 	[MASTER_MEM_NOC_SNOC] = &qnm_memnoc,
170 	[MASTER_MEM_NOC_PCIE_SNOC] = &qnm_memnoc_pcie,
171 	[MASTER_CRYPTO_CORE_0] = &qxm_crypto,
172 	[MASTER_EMAC] = &xm_emac,
173 	[MASTER_IPA_PCIE] = &xm_ipa2pcie_slv,
174 	[MASTER_PCIE] = &xm_pcie,
175 	[MASTER_QDSS_ETR] = &xm_qdss_etr,
176 	[MASTER_SDCC_1] = &xm_sdc1,
177 	[MASTER_USB3] = &xm_usb3,
178 	[SLAVE_AOP] = &qhs_aop,
179 	[SLAVE_AOSS] = &qhs_aoss,
180 	[SLAVE_APPSS] = &qhs_apss,
181 	[SLAVE_AUDIO] = &qhs_audio,
182 	[SLAVE_BLSP_1] = &qhs_blsp1,
183 	[SLAVE_CLK_CTL] = &qhs_clk_ctl,
184 	[SLAVE_CRYPTO_0_CFG] = &qhs_crypto0_cfg,
185 	[SLAVE_CNOC_DDRSS] = &qhs_ddrss_cfg,
186 	[SLAVE_ECC_CFG] = &qhs_ecc_cfg,
187 	[SLAVE_EMAC_CFG] = &qhs_emac_cfg,
188 	[SLAVE_IMEM_CFG] = &qhs_imem_cfg,
189 	[SLAVE_IPA_CFG] = &qhs_ipa,
190 	[SLAVE_CNOC_MSS] = &qhs_mss_cfg,
191 	[SLAVE_PCIE_PARF] = &qhs_pcie_parf,
192 	[SLAVE_PDM] = &qhs_pdm,
193 	[SLAVE_PRNG] = &qhs_prng,
194 	[SLAVE_QDSS_CFG] = &qhs_qdss_cfg,
195 	[SLAVE_QPIC] = &qhs_qpic,
196 	[SLAVE_SDCC_1] = &qhs_sdc1,
197 	[SLAVE_SNOC_CFG] = &qhs_snoc_cfg,
198 	[SLAVE_SPMI_FETCHER] = &qhs_spmi_fetcher,
199 	[SLAVE_SPMI_VGI_COEX] = &qhs_spmi_vgi_coex,
200 	[SLAVE_TCSR] = &qhs_tcsr,
201 	[SLAVE_TLMM] = &qhs_tlmm,
202 	[SLAVE_USB3] = &qhs_usb3,
203 	[SLAVE_USB3_PHY_CFG] = &qhs_usb3_phy,
204 	[SLAVE_ANOC_SNOC] = &qns_aggre_noc,
205 	[SLAVE_SNOC_MEM_NOC_GC] = &qns_snoc_memnoc,
206 	[SLAVE_OCIMEM] = &qxs_imem,
207 	[SLAVE_SERVICE_SNOC] = &srvc_snoc,
208 	[SLAVE_PCIE_0] = &xs_pcie,
209 	[SLAVE_QDSS_STM] = &xs_qdss_stm,
210 	[SLAVE_TCU] = &xs_sys_tcu_cfg,
211 };
212 
213 static const struct qcom_icc_desc sdx55_system_noc = {
214 	.nodes = system_noc_nodes,
215 	.num_nodes = ARRAY_SIZE(system_noc_nodes),
216 	.bcms = system_noc_bcms,
217 	.num_bcms = ARRAY_SIZE(system_noc_bcms),
218 };
219 
220 static const struct of_device_id qnoc_of_match[] = {
221 	{ .compatible = "qcom,sdx55-mc-virt",
222 	  .data = &sdx55_mc_virt},
223 	{ .compatible = "qcom,sdx55-mem-noc",
224 	  .data = &sdx55_mem_noc},
225 	{ .compatible = "qcom,sdx55-system-noc",
226 	  .data = &sdx55_system_noc},
227 	{ }
228 };
229 MODULE_DEVICE_TABLE(of, qnoc_of_match);
230 
231 static struct platform_driver qnoc_driver = {
232 	.probe = qcom_icc_rpmh_probe,
233 	.remove = qcom_icc_rpmh_remove,
234 	.driver = {
235 		.name = "qnoc-sdx55",
236 		.of_match_table = qnoc_of_match,
237 		.sync_state = icc_sync_state,
238 	},
239 };
240 module_platform_driver(qnoc_driver);
241 
242 MODULE_DESCRIPTION("Qualcomm SDX55 NoC driver");
243 MODULE_AUTHOR("Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>");
244 MODULE_LICENSE("GPL v2");
245