interconnect changes for 5.19
These are the interconnect changes for the 5.19-rc1 merge window consisting of driver updates. Driver changes: - New driver for SC8280XP - New driver for SDX65 - SC8180X driver fixes - Constify various data structures in that are never modified - Fix clock rate caching in RPM drivers. - Misc fixes and clean-ups Signed-off-by: Georgi Djakov <djakov@kernel.org> -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJihnVHAAoJEIDQzArG2BZjSbYQAJeLioNrkwI7mcbZ9UD0/T9W 7LPy/jMEs8pkvplU4P4n4PejXrFph5GRl4DhYM5LOf1A8iknIt9Y8EdThaom8rRf NXuYhEtkY/4861PboLbb84E/yOMicU8LguVKLPZW0FyzCQ3MF0UrMenASPkirylv foayULoWnZqdSyjUHUEWk4IhyqINSHU9oyjMOhI2UQ3fEJvWKVyjuh7rEFPwoxTx 0adB22ZdfuLkSL+Qe9qqq+S/lp2E5HtGwhlKGbaJJ8Dov+deAWMJ/tSEb3fIMWS8 COcubYzQMWwS69OzmnFk6Uu5qZYN5fnYpuYUgQzhceZfIQOYOFbCjzaCRr1gjr4B tjlqkN+StJ0r9/8KL9xoRPUKgFjS8a/uEOx75/UzkJx3NzLnUc5DeA1yVBVqjWjd ITBS/YBPs0ULD78VZPeEen+DeOrk51e7Y25XVhBTZ9cMzluaddAqYbED40nPPb1y fJQ8g5hXtX/ZIgpZ9ap2Hx+N/KB8FuaMUIxeX0j2Xl5kyEzf9TSn9nARAcuXN+z1 COAOi3R7SzN5j/6X2nflffp9Z0MZvXpe+KrCAjNk9htePDtRqarnXzFmNwjH8b/8 wbozWQ96m8mBtLlG1PzwI5wfIcdVYFl9lhnLIq7mXTWN9TUvD4MTMx+bsGT8Mkce hFhFZDn2xh2xT3dXPutv =VLi+ -----END PGP SIGNATURE----- Merge tag 'icc-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc into char-misc-next Georgi writes: interconnect changes for 5.19 These are the interconnect changes for the 5.19-rc1 merge window consisting of driver updates. Driver changes: - New driver for SC8280XP - New driver for SDX65 - SC8180X driver fixes - Constify various data structures in that are never modified - Fix clock rate caching in RPM drivers. - Misc fixes and clean-ups Signed-off-by: Georgi Djakov <djakov@kernel.org> * tag 'icc-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc: dt-bindings: interconnect: Remove sc7180/sdx55 ipa compatibles interconnect: qcom: sc8180x: Reformat node and bcm definitions interconnect: qcom: sc8180x: Mark some BCMs keepalive interconnect: qcom: sc8180x: Fix QUP0 nodes interconnect: qcom: sc8180x: Modernize sc8180x probe dt-bindings: interconnect: Add SC8180X QUP0 virt provider interconnect: qcom: icc-rpm: Cache every clock rate interconnect: qcom: icc-rpm: Fix for cached clock rate interconnect: qcom: sc8280xp: constify qcom_icc_bcm pointers interconnect: qcom: sc8280xp: constify icc_node pointers interconnect: qcom: sc8280xp: constify qcom_icc_desc interconnect: qcom: Add SDX65 interconnect provider driver dt-bindings: interconnect: Add Qualcomm SDX65 DT bindings interconnect: qcom: constify qcom_icc_bcm pointers interconnect: qcom: constify icc_node pointers interconnect: qcom: constify qcom_icc_desc interconnect: qcom: Add SC8280XP interconnect provider dt-bindings: interconnect: qcom: Add sc8280xp binding
This commit is contained in:
commit
9dcff75d39
@ -31,7 +31,6 @@ properties:
|
||||
- qcom,sc7180-config-noc
|
||||
- qcom,sc7180-dc-noc
|
||||
- qcom,sc7180-gem-noc
|
||||
- qcom,sc7180-ipa-virt
|
||||
- qcom,sc7180-mc-virt
|
||||
- qcom,sc7180-mmss-noc
|
||||
- qcom,sc7180-npu-noc
|
||||
@ -59,7 +58,20 @@ properties:
|
||||
- qcom,sc8180x-ipa-virt
|
||||
- qcom,sc8180x-mc-virt
|
||||
- qcom,sc8180x-mmss-noc
|
||||
- qcom,sc8180x-qup-virt
|
||||
- qcom,sc8180x-system-noc
|
||||
- qcom,sc8280xp-aggre1-noc
|
||||
- qcom,sc8280xp-aggre2-noc
|
||||
- qcom,sc8280xp-clk-virt
|
||||
- qcom,sc8280xp-config-noc
|
||||
- qcom,sc8280xp-dc-noc
|
||||
- qcom,sc8280xp-gem-noc
|
||||
- qcom,sc8280xp-lpass-ag-noc
|
||||
- qcom,sc8280xp-mc-virt
|
||||
- qcom,sc8280xp-mmss-noc
|
||||
- qcom,sc8280xp-nspa-noc
|
||||
- qcom,sc8280xp-nspb-noc
|
||||
- qcom,sc8280xp-system-noc
|
||||
- qcom,sdm845-aggre1-noc
|
||||
- qcom,sdm845-aggre2-noc
|
||||
- qcom,sdm845-config-noc
|
||||
@ -68,10 +80,12 @@ properties:
|
||||
- qcom,sdm845-mem-noc
|
||||
- qcom,sdm845-mmss-noc
|
||||
- qcom,sdm845-system-noc
|
||||
- qcom,sdx55-ipa-virt
|
||||
- qcom,sdx55-mc-virt
|
||||
- qcom,sdx55-mem-noc
|
||||
- qcom,sdx55-system-noc
|
||||
- qcom,sdx65-mc-virt
|
||||
- qcom,sdx65-mem-noc
|
||||
- qcom,sdx65-system-noc
|
||||
- qcom,sm8150-aggre1-noc
|
||||
- qcom,sm8150-aggre2-noc
|
||||
- qcom,sm8150-camnoc-noc
|
||||
|
@ -110,6 +110,15 @@ config INTERCONNECT_QCOM_SC8180X
|
||||
This is a driver for the Qualcomm Network-on-Chip on sc8180x-based
|
||||
platforms.
|
||||
|
||||
config INTERCONNECT_QCOM_SC8280XP
|
||||
tristate "Qualcomm SC8280XP interconnect driver"
|
||||
depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
|
||||
select INTERCONNECT_QCOM_RPMH
|
||||
select INTERCONNECT_QCOM_BCM_VOTER
|
||||
help
|
||||
This is a driver for the Qualcomm Network-on-Chip on SC8280XP-based
|
||||
platforms.
|
||||
|
||||
config INTERCONNECT_QCOM_SDM660
|
||||
tristate "Qualcomm SDM660 interconnect driver"
|
||||
depends on INTERCONNECT_QCOM
|
||||
@ -137,6 +146,15 @@ config INTERCONNECT_QCOM_SDX55
|
||||
This is a driver for the Qualcomm Network-on-Chip on sdx55-based
|
||||
platforms.
|
||||
|
||||
config INTERCONNECT_QCOM_SDX65
|
||||
tristate "Qualcomm SDX65 interconnect driver"
|
||||
depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
|
||||
select INTERCONNECT_QCOM_RPMH
|
||||
select INTERCONNECT_QCOM_BCM_VOTER
|
||||
help
|
||||
This is a driver for the Qualcomm Network-on-Chip on sdx65-based
|
||||
platforms.
|
||||
|
||||
config INTERCONNECT_QCOM_SM8150
|
||||
tristate "Qualcomm SM8150 interconnect driver"
|
||||
depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
|
||||
|
@ -12,9 +12,11 @@ icc-rpmh-obj := icc-rpmh.o
|
||||
qnoc-sc7180-objs := sc7180.o
|
||||
qnoc-sc7280-objs := sc7280.o
|
||||
qnoc-sc8180x-objs := sc8180x.o
|
||||
qnoc-sc8280xp-objs := sc8280xp.o
|
||||
qnoc-sdm660-objs := sdm660.o
|
||||
qnoc-sdm845-objs := sdm845.o
|
||||
qnoc-sdx55-objs := sdx55.o
|
||||
qnoc-sdx65-objs := sdx65.o
|
||||
qnoc-sm8150-objs := sm8150.o
|
||||
qnoc-sm8250-objs := sm8250.o
|
||||
qnoc-sm8350-objs := sm8350.o
|
||||
@ -33,9 +35,11 @@ obj-$(CONFIG_INTERCONNECT_QCOM_RPMH) += icc-rpmh.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SC7180) += qnoc-sc7180.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SC7280) += qnoc-sc7280.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SC8180X) += qnoc-sc8180x.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SC8280XP) += qnoc-sc8280xp.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SDM660) += qnoc-sdm660.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SDM845) += qnoc-sdm845.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SDX55) += qnoc-sdx55.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SDX65) += qnoc-sdx65.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SM8150) += qnoc-sm8150.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SM8250) += qnoc-sm8250.o
|
||||
obj-$(CONFIG_INTERCONNECT_QCOM_SM8350) += qnoc-sm8350.o
|
||||
|
@ -274,20 +274,19 @@ static int qcom_icc_set(struct icc_node *src, struct icc_node *dst)
|
||||
do_div(rate, qn->buswidth);
|
||||
rate = min_t(u64, rate, LONG_MAX);
|
||||
|
||||
if (qn->rate == rate)
|
||||
return 0;
|
||||
|
||||
for (i = 0; i < qp->num_clks; i++) {
|
||||
if (qp->bus_clk_rate[i] == rate)
|
||||
continue;
|
||||
|
||||
ret = clk_set_rate(qp->bus_clks[i].clk, rate);
|
||||
if (ret) {
|
||||
pr_err("%s clk_set_rate error: %d\n",
|
||||
qp->bus_clks[i].id, ret);
|
||||
return ret;
|
||||
}
|
||||
qp->bus_clk_rate[i] = rate;
|
||||
}
|
||||
|
||||
qn->rate = rate;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -301,7 +300,7 @@ int qnoc_probe(struct platform_device *pdev)
|
||||
const struct qcom_icc_desc *desc;
|
||||
struct icc_onecell_data *data;
|
||||
struct icc_provider *provider;
|
||||
struct qcom_icc_node **qnodes;
|
||||
struct qcom_icc_node * const *qnodes;
|
||||
struct qcom_icc_provider *qp;
|
||||
struct icc_node *node;
|
||||
size_t num_nodes, i;
|
||||
@ -332,6 +331,11 @@ int qnoc_probe(struct platform_device *pdev)
|
||||
if (!qp)
|
||||
return -ENOMEM;
|
||||
|
||||
qp->bus_clk_rate = devm_kcalloc(dev, cd_num, sizeof(*qp->bus_clk_rate),
|
||||
GFP_KERNEL);
|
||||
if (!qp->bus_clk_rate)
|
||||
return -ENOMEM;
|
||||
|
||||
data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes),
|
||||
GFP_KERNEL);
|
||||
if (!data)
|
||||
|
@ -26,6 +26,7 @@ enum qcom_icc_type {
|
||||
* @type: the ICC provider type
|
||||
* @qos_offset: offset to QoS registers
|
||||
* @regmap: regmap for QoS registers read/write access
|
||||
* @bus_clk_rate: bus clock rate in Hz
|
||||
*/
|
||||
struct qcom_icc_provider {
|
||||
struct icc_provider provider;
|
||||
@ -33,6 +34,7 @@ struct qcom_icc_provider {
|
||||
enum qcom_icc_type type;
|
||||
struct regmap *regmap;
|
||||
unsigned int qos_offset;
|
||||
u64 *bus_clk_rate;
|
||||
struct clk_bulk_data bus_clks[];
|
||||
};
|
||||
|
||||
@ -66,7 +68,6 @@ struct qcom_icc_qos {
|
||||
* @mas_rpm_id: RPM id for devices that are bus masters
|
||||
* @slv_rpm_id: RPM id for devices that are bus slaves
|
||||
* @qos: NoC QoS setting parameters
|
||||
* @rate: current bus clock rate in Hz
|
||||
*/
|
||||
struct qcom_icc_node {
|
||||
unsigned char *name;
|
||||
@ -77,11 +78,10 @@ struct qcom_icc_node {
|
||||
int mas_rpm_id;
|
||||
int slv_rpm_id;
|
||||
struct qcom_icc_qos qos;
|
||||
u64 rate;
|
||||
};
|
||||
|
||||
struct qcom_icc_desc {
|
||||
struct qcom_icc_node **nodes;
|
||||
struct qcom_icc_node * const *nodes;
|
||||
size_t num_nodes;
|
||||
const char * const *clocks;
|
||||
size_t num_clocks;
|
||||
|
@ -189,7 +189,7 @@ int qcom_icc_rpmh_probe(struct platform_device *pdev)
|
||||
struct device *dev = &pdev->dev;
|
||||
struct icc_onecell_data *data;
|
||||
struct icc_provider *provider;
|
||||
struct qcom_icc_node **qnodes, *qn;
|
||||
struct qcom_icc_node * const *qnodes, *qn;
|
||||
struct qcom_icc_provider *qp;
|
||||
struct icc_node *node;
|
||||
size_t num_nodes, i, j;
|
||||
|
@ -22,7 +22,7 @@
|
||||
struct qcom_icc_provider {
|
||||
struct icc_provider provider;
|
||||
struct device *dev;
|
||||
struct qcom_icc_bcm **bcms;
|
||||
struct qcom_icc_bcm * const *bcms;
|
||||
size_t num_bcms;
|
||||
struct bcm_voter *voter;
|
||||
};
|
||||
@ -112,9 +112,9 @@ struct qcom_icc_fabric {
|
||||
};
|
||||
|
||||
struct qcom_icc_desc {
|
||||
struct qcom_icc_node **nodes;
|
||||
struct qcom_icc_node * const *nodes;
|
||||
size_t num_nodes;
|
||||
struct qcom_icc_bcm **bcms;
|
||||
struct qcom_icc_bcm * const *bcms;
|
||||
size_t num_bcms;
|
||||
};
|
||||
|
||||
|
@ -1191,7 +1191,7 @@ static struct qcom_icc_node snoc_pcnoc_slv = {
|
||||
.links = snoc_pcnoc_slv_links,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8916_snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8916_snoc_nodes[] = {
|
||||
[BIMC_SNOC_SLV] = &bimc_snoc_slv,
|
||||
[MASTER_JPEG] = &mas_jpeg,
|
||||
[MASTER_MDP_PORT0] = &mas_mdp,
|
||||
@ -1228,7 +1228,7 @@ static const struct regmap_config msm8916_snoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8916_snoc = {
|
||||
static const struct qcom_icc_desc msm8916_snoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = msm8916_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8916_snoc_nodes),
|
||||
@ -1236,7 +1236,7 @@ static struct qcom_icc_desc msm8916_snoc = {
|
||||
.qos_offset = 0x7000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8916_bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8916_bimc_nodes[] = {
|
||||
[BIMC_SNOC_MAS] = &bimc_snoc_mas,
|
||||
[MASTER_AMPSS_M0] = &mas_apss,
|
||||
[MASTER_GRAPHICS_3D] = &mas_gfx,
|
||||
@ -1256,7 +1256,7 @@ static const struct regmap_config msm8916_bimc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8916_bimc = {
|
||||
static const struct qcom_icc_desc msm8916_bimc = {
|
||||
.type = QCOM_ICC_BIMC,
|
||||
.nodes = msm8916_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8916_bimc_nodes),
|
||||
@ -1264,7 +1264,7 @@ static struct qcom_icc_desc msm8916_bimc = {
|
||||
.qos_offset = 0x8000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8916_pcnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8916_pcnoc_nodes[] = {
|
||||
[MASTER_BLSP_1] = &mas_blsp_1,
|
||||
[MASTER_DEHR] = &mas_dehr,
|
||||
[MASTER_LPASS] = &mas_audio,
|
||||
@ -1325,7 +1325,7 @@ static const struct regmap_config msm8916_pcnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8916_pcnoc = {
|
||||
static const struct qcom_icc_desc msm8916_pcnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = msm8916_pcnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8916_pcnoc_nodes),
|
||||
|
@ -1251,7 +1251,7 @@ static struct qcom_icc_node snoc_pcnoc_slv = {
|
||||
.links = snoc_pcnoc_slv_links,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8939_snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8939_snoc_nodes[] = {
|
||||
[BIMC_SNOC_SLV] = &bimc_snoc_slv,
|
||||
[MASTER_QDSS_BAM] = &mas_qdss_bam,
|
||||
[MASTER_QDSS_ETR] = &mas_qdss_etr,
|
||||
@ -1281,7 +1281,7 @@ static const struct regmap_config msm8939_snoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8939_snoc = {
|
||||
static const struct qcom_icc_desc msm8939_snoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = msm8939_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8939_snoc_nodes),
|
||||
@ -1289,7 +1289,7 @@ static struct qcom_icc_desc msm8939_snoc = {
|
||||
.qos_offset = 0x7000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8939_snoc_mm_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8939_snoc_mm_nodes[] = {
|
||||
[MASTER_VIDEO_P0] = &mas_video,
|
||||
[MASTER_JPEG] = &mas_jpeg,
|
||||
[MASTER_VFE] = &mas_vfe,
|
||||
@ -1301,7 +1301,7 @@ static struct qcom_icc_node *msm8939_snoc_mm_nodes[] = {
|
||||
[SNOC_MM_INT_2] = &mm_int_2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8939_snoc_mm = {
|
||||
static const struct qcom_icc_desc msm8939_snoc_mm = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = msm8939_snoc_mm_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8939_snoc_mm_nodes),
|
||||
@ -1309,7 +1309,7 @@ static struct qcom_icc_desc msm8939_snoc_mm = {
|
||||
.qos_offset = 0x7000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8939_bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8939_bimc_nodes[] = {
|
||||
[BIMC_SNOC_MAS] = &bimc_snoc_mas,
|
||||
[MASTER_AMPSS_M0] = &mas_apss,
|
||||
[MASTER_GRAPHICS_3D] = &mas_gfx,
|
||||
@ -1329,7 +1329,7 @@ static const struct regmap_config msm8939_bimc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8939_bimc = {
|
||||
static const struct qcom_icc_desc msm8939_bimc = {
|
||||
.type = QCOM_ICC_BIMC,
|
||||
.nodes = msm8939_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8939_bimc_nodes),
|
||||
@ -1337,7 +1337,7 @@ static struct qcom_icc_desc msm8939_bimc = {
|
||||
.qos_offset = 0x8000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *msm8939_pcnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const msm8939_pcnoc_nodes[] = {
|
||||
[MASTER_BLSP_1] = &mas_blsp_1,
|
||||
[MASTER_DEHR] = &mas_dehr,
|
||||
[MASTER_LPASS] = &mas_audio,
|
||||
@ -1400,7 +1400,7 @@ static const struct regmap_config msm8939_pcnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc msm8939_pcnoc = {
|
||||
static const struct qcom_icc_desc msm8939_pcnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = msm8939_pcnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8939_pcnoc_nodes),
|
||||
|
@ -220,7 +220,7 @@ struct msm8974_icc_node {
|
||||
};
|
||||
|
||||
struct msm8974_icc_desc {
|
||||
struct msm8974_icc_node **nodes;
|
||||
struct msm8974_icc_node * const *nodes;
|
||||
size_t num_nodes;
|
||||
};
|
||||
|
||||
@ -244,7 +244,7 @@ DEFINE_QNODE(bimc_to_snoc, MSM8974_BIMC_TO_SNOC, 8, 3, 2, MSM8974_SNOC_TO_BIMC,
|
||||
DEFINE_QNODE(slv_ebi_ch0, MSM8974_BIMC_SLV_EBI_CH0, 8, -1, 0);
|
||||
DEFINE_QNODE(slv_ampss_l2, MSM8974_BIMC_SLV_AMPSS_L2, 8, -1, 1);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_bimc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_bimc_nodes[] = {
|
||||
[BIMC_MAS_AMPSS_M0] = &mas_ampss_m0,
|
||||
[BIMC_MAS_AMPSS_M1] = &mas_ampss_m1,
|
||||
[BIMC_MAS_MSS_PROC] = &mas_mss_proc,
|
||||
@ -254,7 +254,7 @@ static struct msm8974_icc_node *msm8974_bimc_nodes[] = {
|
||||
[BIMC_SLV_AMPSS_L2] = &slv_ampss_l2,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_bimc = {
|
||||
static const struct msm8974_icc_desc msm8974_bimc = {
|
||||
.nodes = msm8974_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_bimc_nodes),
|
||||
};
|
||||
@ -297,7 +297,7 @@ DEFINE_QNODE(slv_ebi1_phy_cfg, MSM8974_CNOC_SLV_EBI1_PHY_CFG, 8, -1, 73);
|
||||
DEFINE_QNODE(slv_rpm, MSM8974_CNOC_SLV_RPM, 8, -1, 74);
|
||||
DEFINE_QNODE(slv_service_cnoc, MSM8974_CNOC_SLV_SERVICE_CNOC, 8, -1, 76);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_cnoc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_cnoc_nodes[] = {
|
||||
[CNOC_MAS_RPM_INST] = &mas_rpm_inst,
|
||||
[CNOC_MAS_RPM_DATA] = &mas_rpm_data,
|
||||
[CNOC_MAS_RPM_SYS] = &mas_rpm_sys,
|
||||
@ -337,7 +337,7 @@ static struct msm8974_icc_node *msm8974_cnoc_nodes[] = {
|
||||
[CNOC_SLV_SERVICE_CNOC] = &slv_service_cnoc,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_cnoc = {
|
||||
static const struct msm8974_icc_desc msm8974_cnoc = {
|
||||
.nodes = msm8974_cnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_cnoc_nodes),
|
||||
};
|
||||
@ -365,7 +365,7 @@ DEFINE_QNODE(slv_mnoc_mpu_cfg, MSM8974_MNOC_SLV_MNOC_MPU_CFG, 16, -1, 14);
|
||||
DEFINE_QNODE(slv_onoc_mpu_cfg, MSM8974_MNOC_SLV_ONOC_MPU_CFG, 16, -1, 15);
|
||||
DEFINE_QNODE(slv_service_mnoc, MSM8974_MNOC_SLV_SERVICE_MNOC, 16, -1, 17);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_mnoc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_mnoc_nodes[] = {
|
||||
[MNOC_MAS_GRAPHICS_3D] = &mas_graphics_3d,
|
||||
[MNOC_MAS_JPEG] = &mas_jpeg,
|
||||
[MNOC_MAS_MDP_PORT0] = &mas_mdp_port0,
|
||||
@ -390,7 +390,7 @@ static struct msm8974_icc_node *msm8974_mnoc_nodes[] = {
|
||||
[MNOC_SLV_SERVICE_MNOC] = &slv_service_mnoc,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_mnoc = {
|
||||
static const struct msm8974_icc_desc msm8974_mnoc = {
|
||||
.nodes = msm8974_mnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_mnoc_nodes),
|
||||
};
|
||||
@ -410,7 +410,7 @@ DEFINE_QNODE(ocmem_vnoc_to_onoc, MSM8974_OCMEM_VNOC_TO_OCMEM_NOC, 16, 56, 79, MS
|
||||
DEFINE_QNODE(ocmem_vnoc_to_snoc, MSM8974_OCMEM_VNOC_TO_SNOC, 8, 57, 80);
|
||||
DEFINE_QNODE(mas_v_ocmem_gfx3d, MSM8974_OCMEM_VNOC_MAS_GFX3D, 8, 55, -1, MSM8974_OCMEM_VNOC_TO_OCMEM_NOC);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_onoc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_onoc_nodes[] = {
|
||||
[OCMEM_NOC_TO_OCMEM_VNOC] = &ocmem_noc_to_ocmem_vnoc,
|
||||
[OCMEM_MAS_JPEG_OCMEM] = &mas_jpeg_ocmem,
|
||||
[OCMEM_MAS_MDP_OCMEM] = &mas_mdp_ocmem,
|
||||
@ -425,7 +425,7 @@ static struct msm8974_icc_node *msm8974_onoc_nodes[] = {
|
||||
[OCMEM_SLV_OCMEM] = &slv_ocmem,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_onoc = {
|
||||
static const struct msm8974_icc_desc msm8974_onoc = {
|
||||
.nodes = msm8974_onoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_onoc_nodes),
|
||||
};
|
||||
@ -458,7 +458,7 @@ DEFINE_QNODE(slv_pnoc_mpu_cfg, MSM8974_PNOC_SLV_PNOC_MPU_CFG, 8, -1, 43);
|
||||
DEFINE_QNODE(slv_prng, MSM8974_PNOC_SLV_PRNG, 8, -1, 44, MSM8974_PNOC_TO_SNOC);
|
||||
DEFINE_QNODE(slv_service_pnoc, MSM8974_PNOC_SLV_SERVICE_PNOC, 8, -1, 46);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_pnoc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_pnoc_nodes[] = {
|
||||
[PNOC_MAS_PNOC_CFG] = &mas_pnoc_cfg,
|
||||
[PNOC_MAS_SDCC_1] = &mas_sdcc_1,
|
||||
[PNOC_MAS_SDCC_3] = &mas_sdcc_3,
|
||||
@ -488,7 +488,7 @@ static struct msm8974_icc_node *msm8974_pnoc_nodes[] = {
|
||||
[PNOC_SLV_SERVICE_PNOC] = &slv_service_pnoc,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_pnoc = {
|
||||
static const struct msm8974_icc_desc msm8974_pnoc = {
|
||||
.nodes = msm8974_pnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_pnoc_nodes),
|
||||
};
|
||||
@ -518,7 +518,7 @@ DEFINE_QNODE(slv_snoc_ocmem, MSM8974_SNOC_SLV_SNOC_OCMEM, 8, -1, 27);
|
||||
DEFINE_QNODE(slv_service_snoc, MSM8974_SNOC_SLV_SERVICE_SNOC, 8, -1, 29);
|
||||
DEFINE_QNODE(slv_qdss_stm, MSM8974_SNOC_SLV_QDSS_STM, 8, -1, 30);
|
||||
|
||||
static struct msm8974_icc_node *msm8974_snoc_nodes[] = {
|
||||
static struct msm8974_icc_node * const msm8974_snoc_nodes[] = {
|
||||
[SNOC_MAS_LPASS_AHB] = &mas_lpass_ahb,
|
||||
[SNOC_MAS_QDSS_BAM] = &mas_qdss_bam,
|
||||
[SNOC_MAS_SNOC_CFG] = &mas_snoc_cfg,
|
||||
@ -545,7 +545,7 @@ static struct msm8974_icc_node *msm8974_snoc_nodes[] = {
|
||||
[SNOC_SLV_QDSS_STM] = &slv_qdss_stm,
|
||||
};
|
||||
|
||||
static struct msm8974_icc_desc msm8974_snoc = {
|
||||
static const struct msm8974_icc_desc msm8974_snoc = {
|
||||
.nodes = msm8974_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(msm8974_snoc_nodes),
|
||||
};
|
||||
@ -648,7 +648,7 @@ static int msm8974_get_bw(struct icc_node *node, u32 *avg, u32 *peak)
|
||||
static int msm8974_icc_probe(struct platform_device *pdev)
|
||||
{
|
||||
const struct msm8974_icc_desc *desc;
|
||||
struct msm8974_icc_node **qnodes;
|
||||
struct msm8974_icc_node * const *qnodes;
|
||||
struct msm8974_icc_provider *qp;
|
||||
struct device *dev = &pdev->dev;
|
||||
struct icc_onecell_data *data;
|
||||
|
@ -1796,7 +1796,7 @@ static struct qcom_icc_node slv_srvc_snoc = {
|
||||
.qos.qos_mode = NOC_QOS_MODE_INVALID
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *a0noc_nodes[] = {
|
||||
static struct qcom_icc_node * const a0noc_nodes[] = {
|
||||
[MASTER_PCIE_0] = &mas_pcie_0,
|
||||
[MASTER_PCIE_1] = &mas_pcie_1,
|
||||
[MASTER_PCIE_2] = &mas_pcie_2
|
||||
@ -1820,7 +1820,7 @@ static const struct qcom_icc_desc msm8996_a0noc = {
|
||||
.regmap_cfg = &msm8996_a0noc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *a1noc_nodes[] = {
|
||||
static struct qcom_icc_node * const a1noc_nodes[] = {
|
||||
[MASTER_CNOC_A1NOC] = &mas_cnoc_a1noc,
|
||||
[MASTER_CRYPTO_CORE0] = &mas_crypto_c0,
|
||||
[MASTER_PNOC_A1NOC] = &mas_pnoc_a1noc
|
||||
@ -1841,7 +1841,7 @@ static const struct qcom_icc_desc msm8996_a1noc = {
|
||||
.regmap_cfg = &msm8996_a1noc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *a2noc_nodes[] = {
|
||||
static struct qcom_icc_node * const a2noc_nodes[] = {
|
||||
[MASTER_USB3] = &mas_usb3,
|
||||
[MASTER_IPA] = &mas_ipa,
|
||||
[MASTER_UFS] = &mas_ufs
|
||||
@ -1862,7 +1862,7 @@ static const struct qcom_icc_desc msm8996_a2noc = {
|
||||
.regmap_cfg = &msm8996_a2noc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const bimc_nodes[] = {
|
||||
[MASTER_AMPSS_M0] = &mas_apps_proc,
|
||||
[MASTER_GRAPHICS_3D] = &mas_oxili,
|
||||
[MASTER_MNOC_BIMC] = &mas_mnoc_bimc,
|
||||
@ -1888,7 +1888,7 @@ static const struct qcom_icc_desc msm8996_bimc = {
|
||||
.regmap_cfg = &msm8996_bimc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *cnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const cnoc_nodes[] = {
|
||||
[MASTER_SNOC_CNOC] = &mas_snoc_cnoc,
|
||||
[MASTER_QDSS_DAP] = &mas_qdss_dap,
|
||||
[SLAVE_CNOC_A1NOC] = &slv_cnoc_a1noc,
|
||||
@ -1946,7 +1946,7 @@ static const struct qcom_icc_desc msm8996_cnoc = {
|
||||
.regmap_cfg = &msm8996_cnoc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const mnoc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &mas_cnoc_mnoc_cfg,
|
||||
[MASTER_CPP] = &mas_cpp,
|
||||
[MASTER_JPEG] = &mas_jpeg,
|
||||
@ -2001,7 +2001,7 @@ static const struct qcom_icc_desc msm8996_mnoc = {
|
||||
.regmap_cfg = &msm8996_mnoc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *pnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const pnoc_nodes[] = {
|
||||
[MASTER_SNOC_PNOC] = &mas_snoc_pnoc,
|
||||
[MASTER_SDCC_1] = &mas_sdcc_1,
|
||||
[MASTER_SDCC_2] = &mas_sdcc_2,
|
||||
@ -2037,7 +2037,7 @@ static const struct qcom_icc_desc msm8996_pnoc = {
|
||||
.regmap_cfg = &msm8996_pnoc_regmap_config
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const snoc_nodes[] = {
|
||||
[MASTER_HMSS] = &mas_hmss,
|
||||
[MASTER_QDSS_BAM] = &mas_qdss_bam,
|
||||
[MASTER_SNOC_CFG] = &mas_snoc_cfg,
|
||||
|
@ -67,7 +67,7 @@ struct qcom_osm_l3_node {
|
||||
};
|
||||
|
||||
struct qcom_osm_l3_desc {
|
||||
const struct qcom_osm_l3_node **nodes;
|
||||
const struct qcom_osm_l3_node * const *nodes;
|
||||
size_t num_nodes;
|
||||
unsigned int lut_row_size;
|
||||
unsigned int reg_freq_lut;
|
||||
@ -86,7 +86,7 @@ struct qcom_osm_l3_desc {
|
||||
DEFINE_QNODE(sdm845_osm_apps_l3, SDM845_MASTER_OSM_L3_APPS, 16, SDM845_SLAVE_OSM_L3);
|
||||
DEFINE_QNODE(sdm845_osm_l3, SDM845_SLAVE_OSM_L3, 16);
|
||||
|
||||
static const struct qcom_osm_l3_node *sdm845_osm_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sdm845_osm_l3_nodes[] = {
|
||||
[MASTER_OSM_L3_APPS] = &sdm845_osm_apps_l3,
|
||||
[SLAVE_OSM_L3] = &sdm845_osm_l3,
|
||||
};
|
||||
@ -102,7 +102,7 @@ static const struct qcom_osm_l3_desc sdm845_icc_osm_l3 = {
|
||||
DEFINE_QNODE(sc7180_osm_apps_l3, SC7180_MASTER_OSM_L3_APPS, 16, SC7180_SLAVE_OSM_L3);
|
||||
DEFINE_QNODE(sc7180_osm_l3, SC7180_SLAVE_OSM_L3, 16);
|
||||
|
||||
static const struct qcom_osm_l3_node *sc7180_osm_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sc7180_osm_l3_nodes[] = {
|
||||
[MASTER_OSM_L3_APPS] = &sc7180_osm_apps_l3,
|
||||
[SLAVE_OSM_L3] = &sc7180_osm_l3,
|
||||
};
|
||||
@ -118,7 +118,7 @@ static const struct qcom_osm_l3_desc sc7180_icc_osm_l3 = {
|
||||
DEFINE_QNODE(sc7280_epss_apps_l3, SC7280_MASTER_EPSS_L3_APPS, 32, SC7280_SLAVE_EPSS_L3);
|
||||
DEFINE_QNODE(sc7280_epss_l3, SC7280_SLAVE_EPSS_L3, 32);
|
||||
|
||||
static const struct qcom_osm_l3_node *sc7280_epss_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sc7280_epss_l3_nodes[] = {
|
||||
[MASTER_EPSS_L3_APPS] = &sc7280_epss_apps_l3,
|
||||
[SLAVE_EPSS_L3_SHARED] = &sc7280_epss_l3,
|
||||
};
|
||||
@ -134,7 +134,7 @@ static const struct qcom_osm_l3_desc sc7280_icc_epss_l3 = {
|
||||
DEFINE_QNODE(sc8180x_osm_apps_l3, SC8180X_MASTER_OSM_L3_APPS, 32, SC8180X_SLAVE_OSM_L3);
|
||||
DEFINE_QNODE(sc8180x_osm_l3, SC8180X_SLAVE_OSM_L3, 32);
|
||||
|
||||
static const struct qcom_osm_l3_node *sc8180x_osm_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sc8180x_osm_l3_nodes[] = {
|
||||
[MASTER_OSM_L3_APPS] = &sc8180x_osm_apps_l3,
|
||||
[SLAVE_OSM_L3] = &sc8180x_osm_l3,
|
||||
};
|
||||
@ -150,7 +150,7 @@ static const struct qcom_osm_l3_desc sc8180x_icc_osm_l3 = {
|
||||
DEFINE_QNODE(sm8150_osm_apps_l3, SM8150_MASTER_OSM_L3_APPS, 32, SM8150_SLAVE_OSM_L3);
|
||||
DEFINE_QNODE(sm8150_osm_l3, SM8150_SLAVE_OSM_L3, 32);
|
||||
|
||||
static const struct qcom_osm_l3_node *sm8150_osm_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sm8150_osm_l3_nodes[] = {
|
||||
[MASTER_OSM_L3_APPS] = &sm8150_osm_apps_l3,
|
||||
[SLAVE_OSM_L3] = &sm8150_osm_l3,
|
||||
};
|
||||
@ -166,7 +166,7 @@ static const struct qcom_osm_l3_desc sm8150_icc_osm_l3 = {
|
||||
DEFINE_QNODE(sm8250_epss_apps_l3, SM8250_MASTER_EPSS_L3_APPS, 32, SM8250_SLAVE_EPSS_L3);
|
||||
DEFINE_QNODE(sm8250_epss_l3, SM8250_SLAVE_EPSS_L3, 32);
|
||||
|
||||
static const struct qcom_osm_l3_node *sm8250_epss_l3_nodes[] = {
|
||||
static const struct qcom_osm_l3_node * const sm8250_epss_l3_nodes[] = {
|
||||
[MASTER_EPSS_L3_APPS] = &sm8250_epss_apps_l3,
|
||||
[SLAVE_EPSS_L3_SHARED] = &sm8250_epss_l3,
|
||||
};
|
||||
@ -228,7 +228,7 @@ static int qcom_osm_l3_probe(struct platform_device *pdev)
|
||||
const struct qcom_osm_l3_desc *desc;
|
||||
struct icc_onecell_data *data;
|
||||
struct icc_provider *provider;
|
||||
const struct qcom_osm_l3_node **qnodes;
|
||||
const struct qcom_osm_l3_node * const *qnodes;
|
||||
struct icc_node *node;
|
||||
size_t num_nodes;
|
||||
struct clk *clk;
|
||||
|
@ -1174,7 +1174,7 @@ static struct qcom_icc_node slv_anoc_snoc = {
|
||||
};
|
||||
|
||||
/* NoC descriptors */
|
||||
static struct qcom_icc_node *qcm2290_bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_bimc_nodes[] = {
|
||||
[MASTER_APPSS_PROC] = &mas_appss_proc,
|
||||
[MASTER_SNOC_BIMC_RT] = &mas_snoc_bimc_rt,
|
||||
[MASTER_SNOC_BIMC_NRT] = &mas_snoc_bimc_nrt,
|
||||
@ -1193,7 +1193,7 @@ static const struct regmap_config qcm2290_bimc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_bimc = {
|
||||
static const struct qcom_icc_desc qcm2290_bimc = {
|
||||
.type = QCOM_ICC_BIMC,
|
||||
.nodes = qcm2290_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_bimc_nodes),
|
||||
@ -1202,7 +1202,7 @@ static struct qcom_icc_desc qcm2290_bimc = {
|
||||
.qos_offset = 0x8000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcm2290_cnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_cnoc_nodes[] = {
|
||||
[MASTER_SNOC_CNOC] = &mas_snoc_cnoc,
|
||||
[MASTER_QDSS_DAP] = &mas_qdss_dap,
|
||||
[SLAVE_BIMC_CFG] = &slv_bimc_cfg,
|
||||
@ -1248,14 +1248,14 @@ static const struct regmap_config qcm2290_cnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_cnoc = {
|
||||
static const struct qcom_icc_desc qcm2290_cnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = qcm2290_cnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_cnoc_nodes),
|
||||
.regmap_cfg = &qcm2290_cnoc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcm2290_snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_snoc_nodes[] = {
|
||||
[MASTER_CRYPTO_CORE0] = &mas_crypto_core0,
|
||||
[MASTER_SNOC_CFG] = &mas_snoc_cfg,
|
||||
[MASTER_TIC] = &mas_tic,
|
||||
@ -1289,7 +1289,7 @@ static const struct regmap_config qcm2290_snoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_snoc = {
|
||||
static const struct qcom_icc_desc qcm2290_snoc = {
|
||||
.type = QCOM_ICC_QNOC,
|
||||
.nodes = qcm2290_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_snoc_nodes),
|
||||
@ -1298,25 +1298,25 @@ static struct qcom_icc_desc qcm2290_snoc = {
|
||||
.qos_offset = 0x15000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcm2290_qup_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_qup_virt_nodes[] = {
|
||||
[MASTER_QUP_CORE_0] = &mas_qup_core_0,
|
||||
[SLAVE_QUP_CORE_0] = &slv_qup_core_0
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_qup_virt = {
|
||||
static const struct qcom_icc_desc qcm2290_qup_virt = {
|
||||
.type = QCOM_ICC_QNOC,
|
||||
.nodes = qcm2290_qup_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_qup_virt_nodes),
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcm2290_mmnrt_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_mmnrt_virt_nodes[] = {
|
||||
[MASTER_CAMNOC_SF] = &mas_camnoc_sf,
|
||||
[MASTER_VIDEO_P0] = &mas_video_p0,
|
||||
[MASTER_VIDEO_PROC] = &mas_video_proc,
|
||||
[SLAVE_SNOC_BIMC_NRT] = &slv_snoc_bimc_nrt,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_mmnrt_virt = {
|
||||
static const struct qcom_icc_desc qcm2290_mmnrt_virt = {
|
||||
.type = QCOM_ICC_QNOC,
|
||||
.nodes = qcm2290_mmnrt_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_mmnrt_virt_nodes),
|
||||
@ -1324,13 +1324,13 @@ static struct qcom_icc_desc qcm2290_mmnrt_virt = {
|
||||
.qos_offset = 0x15000,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcm2290_mmrt_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const qcm2290_mmrt_virt_nodes[] = {
|
||||
[MASTER_CAMNOC_HF] = &mas_camnoc_hf,
|
||||
[MASTER_MDP0] = &mas_mdp0,
|
||||
[SLAVE_SNOC_BIMC_RT] = &slv_snoc_bimc_rt,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcm2290_mmrt_virt = {
|
||||
static const struct qcom_icc_desc qcm2290_mmrt_virt = {
|
||||
.type = QCOM_ICC_QNOC,
|
||||
.nodes = qcm2290_mmrt_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcm2290_mmrt_virt_nodes),
|
||||
|
@ -974,7 +974,7 @@ static struct qcom_icc_node slv_lpass = {
|
||||
.slv_rpm_id = -1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcs404_bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcs404_bimc_nodes[] = {
|
||||
[MASTER_AMPSS_M0] = &mas_apps_proc,
|
||||
[MASTER_OXILI] = &mas_oxili,
|
||||
[MASTER_MDP_PORT0] = &mas_mdp,
|
||||
@ -984,12 +984,12 @@ static struct qcom_icc_node *qcs404_bimc_nodes[] = {
|
||||
[SLAVE_BIMC_SNOC] = &slv_bimc_snoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcs404_bimc = {
|
||||
static const struct qcom_icc_desc qcs404_bimc = {
|
||||
.nodes = qcs404_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcs404_bimc_nodes),
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcs404_pcnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcs404_pcnoc_nodes[] = {
|
||||
[MASTER_SPDM] = &mas_spdm,
|
||||
[MASTER_BLSP_1] = &mas_blsp_1,
|
||||
[MASTER_BLSP_2] = &mas_blsp_2,
|
||||
@ -1038,12 +1038,12 @@ static struct qcom_icc_node *qcs404_pcnoc_nodes[] = {
|
||||
[SLAVE_PCNOC_SNOC] = &slv_pcnoc_snoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcs404_pcnoc = {
|
||||
static const struct qcom_icc_desc qcs404_pcnoc = {
|
||||
.nodes = qcs404_pcnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcs404_pcnoc_nodes),
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qcs404_snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const qcs404_snoc_nodes[] = {
|
||||
[MASTER_QDSS_BAM] = &mas_qdss_bam,
|
||||
[MASTER_BIMC_SNOC] = &mas_bimc_snoc,
|
||||
[MASTER_PCNOC_SNOC] = &mas_pcnoc_snoc,
|
||||
@ -1066,7 +1066,7 @@ static struct qcom_icc_node *qcs404_snoc_nodes[] = {
|
||||
[SLAVE_LPASS] = &slv_lpass,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc qcs404_snoc = {
|
||||
static const struct qcom_icc_desc qcs404_snoc = {
|
||||
.nodes = qcs404_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qcs404_snoc_nodes),
|
||||
};
|
||||
|
@ -178,11 +178,11 @@ DEFINE_QBCM(bcm_sn7, "SN7", false, &qnm_aggre1_noc);
|
||||
DEFINE_QBCM(bcm_sn9, "SN9", false, &qnm_aggre2_noc);
|
||||
DEFINE_QBCM(bcm_sn12, "SN12", false, &qnm_gemnoc);
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
&bcm_cn1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_A1NOC_CFG] = &qhm_a1noc_cfg,
|
||||
[MASTER_QSPI] = &qhm_qspi,
|
||||
[MASTER_QUP_0] = &qhm_qup_0,
|
||||
@ -193,18 +193,18 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sc7180_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_A2NOC_CFG] = &qhm_a2noc_cfg,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QUP_1] = &qhm_qup_1,
|
||||
@ -216,56 +216,56 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sc7180_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *camnoc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const camnoc_virt_bcms[] = {
|
||||
&bcm_mm1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *camnoc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const camnoc_virt_nodes[] = {
|
||||
[MASTER_CAMNOC_HF0_UNCOMP] = &qxm_camnoc_hf0_uncomp,
|
||||
[MASTER_CAMNOC_HF1_UNCOMP] = &qxm_camnoc_hf1_uncomp,
|
||||
[MASTER_CAMNOC_SF_UNCOMP] = &qxm_camnoc_sf_uncomp,
|
||||
[SLAVE_CAMNOC_UNCOMP] = &qns_camnoc_uncomp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_camnoc_virt = {
|
||||
static const struct qcom_icc_desc sc7180_camnoc_virt = {
|
||||
.nodes = camnoc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
|
||||
.bcms = camnoc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(camnoc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *compute_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const compute_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
&bcm_co2,
|
||||
&bcm_co3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *compute_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const compute_noc_nodes[] = {
|
||||
[MASTER_NPU] = &qnm_npu,
|
||||
[MASTER_NPU_PROC] = &qxm_npu_dsp,
|
||||
[SLAVE_CDSP_GEM_NOC] = &qns_cdsp_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_compute_noc = {
|
||||
static const struct qcom_icc_desc sc7180_compute_noc = {
|
||||
.nodes = compute_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(compute_noc_nodes),
|
||||
.bcms = compute_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(compute_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
&bcm_cn1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[MASTER_SNOC_CNOC] = &qnm_snoc,
|
||||
[MASTER_QDSS_DAP] = &xm_qdss_dap,
|
||||
[SLAVE_A1NOC_CFG] = &qhs_a1_noc_cfg,
|
||||
@ -321,32 +321,32 @@ static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_CNOC] = &srvc_cnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_config_noc = {
|
||||
static const struct qcom_icc_desc sc7180_config_noc = {
|
||||
.nodes = config_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(config_noc_nodes),
|
||||
.bcms = config_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qhm_cnoc_dc_noc,
|
||||
[SLAVE_GEM_NOC_CFG] = &qhs_gemnoc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_dc_noc = {
|
||||
static const struct qcom_icc_desc sc7180_dc_noc = {
|
||||
.nodes = dc_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(dc_noc_nodes),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh2,
|
||||
&bcm_sh3,
|
||||
&bcm_sh4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_APPSS_PROC] = &acm_apps0,
|
||||
[MASTER_SYS_TCU] = &acm_sys_tcu,
|
||||
[MASTER_GEM_NOC_CFG] = &qhm_gemnoc_cfg,
|
||||
@ -362,7 +362,7 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_GEM_NOC] = &srvc_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_gem_noc = {
|
||||
static const struct qcom_icc_desc sc7180_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
@ -374,25 +374,25 @@ static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI1] = &ebi,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_mc_virt = {
|
||||
static const struct qcom_icc_desc sc7180_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &qhm_mnoc_cfg,
|
||||
[MASTER_CAMNOC_HF0] = &qxm_camnoc_hf0,
|
||||
[MASTER_CAMNOC_HF1] = &qxm_camnoc_hf1,
|
||||
@ -406,14 +406,14 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_MNOC] = &srvc_mnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_mmss_noc = {
|
||||
static const struct qcom_icc_desc sc7180_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *npu_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const npu_noc_nodes[] = {
|
||||
[MASTER_NPU_SYS] = &amm_npu_sys,
|
||||
[MASTER_NPU_NOC_CFG] = &qhm_npu_cfg,
|
||||
[SLAVE_NPU_CAL_DP0] = &qhs_cal_dp0,
|
||||
@ -427,30 +427,30 @@ static struct qcom_icc_node *npu_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_NPU_NOC] = &srvc_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_npu_noc = {
|
||||
static const struct qcom_icc_desc sc7180_npu_noc = {
|
||||
.nodes = npu_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(npu_noc_nodes),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *qup_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const qup_virt_bcms[] = {
|
||||
&bcm_qup0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *qup_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const qup_virt_nodes[] = {
|
||||
[MASTER_QUP_CORE_0] = &qup_core_master_1,
|
||||
[MASTER_QUP_CORE_1] = &qup_core_master_2,
|
||||
[SLAVE_QUP_CORE_0] = &qup_core_slave_1,
|
||||
[SLAVE_QUP_CORE_1] = &qup_core_slave_2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_qup_virt = {
|
||||
static const struct qcom_icc_desc sc7180_qup_virt = {
|
||||
.nodes = qup_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(qup_virt_nodes),
|
||||
.bcms = qup_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(qup_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn2,
|
||||
@ -461,7 +461,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn12,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
|
||||
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
|
||||
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
|
||||
@ -478,7 +478,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7180_system_noc = {
|
||||
static const struct qcom_icc_desc sc7180_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
|
@ -1476,13 +1476,13 @@ static struct qcom_icc_bcm bcm_sn14 = {
|
||||
.nodes = { &qns_pcie_mem_noc },
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
&bcm_sn5,
|
||||
&bcm_sn6,
|
||||
&bcm_sn14,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_QSPI_0] = &qhm_qspi,
|
||||
[MASTER_QUP_0] = &qhm_qup0,
|
||||
[MASTER_QUP_1] = &qhm_qup1,
|
||||
@ -1500,18 +1500,18 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sc7280_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_A2NOC_CFG] = &qnm_a2noc_cfg,
|
||||
[MASTER_CNOC_A2NOC] = &qnm_cnoc_datapath,
|
||||
@ -1522,38 +1522,38 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sc7280_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *clk_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const clk_virt_bcms[] = {
|
||||
&bcm_qup0,
|
||||
&bcm_qup1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *clk_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const clk_virt_nodes[] = {
|
||||
[MASTER_QUP_CORE_0] = &qup0_core_master,
|
||||
[MASTER_QUP_CORE_1] = &qup1_core_master,
|
||||
[SLAVE_QUP_CORE_0] = &qup0_core_slave,
|
||||
[SLAVE_QUP_CORE_1] = &qup1_core_slave,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_clk_virt = {
|
||||
static const struct qcom_icc_desc sc7280_clk_virt = {
|
||||
.nodes = clk_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(clk_virt_nodes),
|
||||
.bcms = clk_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(clk_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *cnoc2_bcms[] = {
|
||||
static struct qcom_icc_bcm * const cnoc2_bcms[] = {
|
||||
&bcm_cn1,
|
||||
&bcm_cn2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *cnoc2_nodes[] = {
|
||||
static struct qcom_icc_node * const cnoc2_nodes[] = {
|
||||
[MASTER_CNOC3_CNOC2] = &qnm_cnoc3_cnoc2,
|
||||
[MASTER_QDSS_DAP] = &xm_qdss_dap,
|
||||
[SLAVE_AHB2PHY_SOUTH] = &qhs_ahb2phy0,
|
||||
@ -1603,21 +1603,21 @@ static struct qcom_icc_node *cnoc2_nodes[] = {
|
||||
[SLAVE_SNOC_CFG] = &qns_snoc_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_cnoc2 = {
|
||||
static const struct qcom_icc_desc sc7280_cnoc2 = {
|
||||
.nodes = cnoc2_nodes,
|
||||
.num_nodes = ARRAY_SIZE(cnoc2_nodes),
|
||||
.bcms = cnoc2_bcms,
|
||||
.num_bcms = ARRAY_SIZE(cnoc2_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *cnoc3_bcms[] = {
|
||||
static struct qcom_icc_bcm * const cnoc3_bcms[] = {
|
||||
&bcm_cn0,
|
||||
&bcm_cn1,
|
||||
&bcm_sn3,
|
||||
&bcm_sn4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *cnoc3_nodes[] = {
|
||||
static struct qcom_icc_node * const cnoc3_nodes[] = {
|
||||
[MASTER_CNOC2_CNOC3] = &qnm_cnoc2_cnoc3,
|
||||
[MASTER_GEM_NOC_CNOC] = &qnm_gemnoc_cnoc,
|
||||
[MASTER_GEM_NOC_PCIE_SNOC] = &qnm_gemnoc_pcie,
|
||||
@ -1635,37 +1635,37 @@ static struct qcom_icc_node *cnoc3_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_cnoc3 = {
|
||||
static const struct qcom_icc_desc sc7280_cnoc3 = {
|
||||
.nodes = cnoc3_nodes,
|
||||
.num_nodes = ARRAY_SIZE(cnoc3_nodes),
|
||||
.bcms = cnoc3_bcms,
|
||||
.num_bcms = ARRAY_SIZE(cnoc3_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *dc_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const dc_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qnm_cnoc_dc_noc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
[SLAVE_GEM_NOC_CFG] = &qns_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_dc_noc = {
|
||||
static const struct qcom_icc_desc sc7280_dc_noc = {
|
||||
.nodes = dc_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(dc_noc_nodes),
|
||||
.bcms = dc_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(dc_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh2,
|
||||
&bcm_sh3,
|
||||
&bcm_sh4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_GPU_TCU] = &alm_gpu_tcu,
|
||||
[MASTER_SYS_TCU] = &alm_sys_tcu,
|
||||
[MASTER_APPSS_PROC] = &chm_apps,
|
||||
@ -1687,17 +1687,17 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_GEM_NOC] = &srvc_sys_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_gem_noc = {
|
||||
static const struct qcom_icc_desc sc7280_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(gem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const lpass_ag_noc_nodes[] = {
|
||||
[MASTER_CNOC_LPASS_AG_NOC] = &qhm_config_noc,
|
||||
[SLAVE_LPASS_CORE_CFG] = &qhs_lpass_core,
|
||||
[SLAVE_LPASS_LPI_CFG] = &qhs_lpass_lpi,
|
||||
@ -1707,38 +1707,38 @@ static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_LPASS_AG_NOC] = &srvc_niu_lpass_agnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_lpass_ag_noc = {
|
||||
static const struct qcom_icc_desc sc7280_lpass_ag_noc = {
|
||||
.nodes = lpass_ag_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
|
||||
.bcms = lpass_ag_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(lpass_ag_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_acv,
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI1] = &ebi,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_mc_virt = {
|
||||
static const struct qcom_icc_desc sc7280_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm4,
|
||||
&bcm_mm5,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &qnm_mnoc_cfg,
|
||||
[MASTER_VIDEO_P0] = &qnm_video0,
|
||||
[MASTER_VIDEO_PROC] = &qnm_video_cpu,
|
||||
@ -1751,40 +1751,40 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_MNOC] = &srvc_mnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_mmss_noc = {
|
||||
static const struct qcom_icc_desc sc7280_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *nsp_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const nsp_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
&bcm_co3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *nsp_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const nsp_noc_nodes[] = {
|
||||
[MASTER_CDSP_NOC_CFG] = &qhm_nsp_noc_config,
|
||||
[MASTER_CDSP_PROC] = &qxm_nsp,
|
||||
[SLAVE_CDSP_MEM_NOC] = &qns_nsp_gemnoc,
|
||||
[SLAVE_SERVICE_NSP_NOC] = &service_nsp_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_nsp_noc = {
|
||||
static const struct qcom_icc_desc sc7280_nsp_noc = {
|
||||
.nodes = nsp_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(nsp_noc_nodes),
|
||||
.bcms = nsp_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(nsp_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn2,
|
||||
&bcm_sn7,
|
||||
&bcm_sn8,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
|
||||
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
|
||||
[MASTER_SNOC_CFG] = &qnm_snoc_cfg,
|
||||
@ -1795,7 +1795,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_SNOC] = &srvc_snoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sc7280_system_noc = {
|
||||
static const struct qcom_icc_desc sc7280_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -171,4 +171,11 @@
|
||||
#define SC8180X_MASTER_OSM_L3_APPS 161
|
||||
#define SC8180X_SLAVE_OSM_L3 162
|
||||
|
||||
#define SC8180X_MASTER_QUP_CORE_0 163
|
||||
#define SC8180X_MASTER_QUP_CORE_1 164
|
||||
#define SC8180X_MASTER_QUP_CORE_2 165
|
||||
#define SC8180X_SLAVE_QUP_CORE_0 166
|
||||
#define SC8180X_SLAVE_QUP_CORE_1 167
|
||||
#define SC8180X_SLAVE_QUP_CORE_2 168
|
||||
|
||||
#endif
|
||||
|
2438
drivers/interconnect/qcom/sc8280xp.c
Normal file
2438
drivers/interconnect/qcom/sc8280xp.c
Normal file
File diff suppressed because it is too large
Load Diff
209
drivers/interconnect/qcom/sc8280xp.h
Normal file
209
drivers/interconnect/qcom/sc8280xp.h
Normal file
@ -0,0 +1,209 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __DRIVERS_INTERCONNECT_QCOM_SC8280XP_H
|
||||
#define __DRIVERS_INTERCONNECT_QCOM_SC8280XP_H
|
||||
|
||||
#define SC8280XP_MASTER_GPU_TCU 0
|
||||
#define SC8280XP_MASTER_PCIE_TCU 1
|
||||
#define SC8280XP_MASTER_SYS_TCU 2
|
||||
#define SC8280XP_MASTER_APPSS_PROC 3
|
||||
#define SC8280XP_MASTER_IPA_CORE 4
|
||||
#define SC8280XP_MASTER_LLCC 5
|
||||
#define SC8280XP_MASTER_CNOC_LPASS_AG_NOC 6
|
||||
#define SC8280XP_MASTER_CDSP_NOC_CFG 7
|
||||
#define SC8280XP_MASTER_CDSPB_NOC_CFG 8
|
||||
#define SC8280XP_MASTER_QDSS_BAM 9
|
||||
#define SC8280XP_MASTER_QSPI_0 10
|
||||
#define SC8280XP_MASTER_QUP_0 11
|
||||
#define SC8280XP_MASTER_QUP_1 12
|
||||
#define SC8280XP_MASTER_QUP_2 13
|
||||
#define SC8280XP_MASTER_A1NOC_CFG 14
|
||||
#define SC8280XP_MASTER_A2NOC_CFG 15
|
||||
#define SC8280XP_MASTER_A1NOC_SNOC 16
|
||||
#define SC8280XP_MASTER_A2NOC_SNOC 17
|
||||
#define SC8280XP_MASTER_USB_NOC_SNOC 18
|
||||
#define SC8280XP_MASTER_CAMNOC_HF 19
|
||||
#define SC8280XP_MASTER_COMPUTE_NOC 20
|
||||
#define SC8280XP_MASTER_COMPUTE_NOC_1 21
|
||||
#define SC8280XP_MASTER_CNOC_DC_NOC 22
|
||||
#define SC8280XP_MASTER_GEM_NOC_CFG 23
|
||||
#define SC8280XP_MASTER_GEM_NOC_CNOC 24
|
||||
#define SC8280XP_MASTER_GEM_NOC_PCIE_SNOC 25
|
||||
#define SC8280XP_MASTER_GFX3D 26
|
||||
#define SC8280XP_MASTER_LPASS_ANOC 27
|
||||
#define SC8280XP_MASTER_MDP0 28
|
||||
#define SC8280XP_MASTER_MDP1 29
|
||||
#define SC8280XP_MASTER_MDP_CORE1_0 30
|
||||
#define SC8280XP_MASTER_MDP_CORE1_1 31
|
||||
#define SC8280XP_MASTER_CNOC_MNOC_CFG 32
|
||||
#define SC8280XP_MASTER_MNOC_HF_MEM_NOC 33
|
||||
#define SC8280XP_MASTER_MNOC_SF_MEM_NOC 34
|
||||
#define SC8280XP_MASTER_ANOC_PCIE_GEM_NOC 35
|
||||
#define SC8280XP_MASTER_ROTATOR 36
|
||||
#define SC8280XP_MASTER_ROTATOR_1 37
|
||||
#define SC8280XP_MASTER_SNOC_CFG 38
|
||||
#define SC8280XP_MASTER_SNOC_GC_MEM_NOC 39
|
||||
#define SC8280XP_MASTER_SNOC_SF_MEM_NOC 40
|
||||
#define SC8280XP_MASTER_VIDEO_P0 41
|
||||
#define SC8280XP_MASTER_VIDEO_P1 42
|
||||
#define SC8280XP_MASTER_VIDEO_PROC 43
|
||||
#define SC8280XP_MASTER_QUP_CORE_0 44
|
||||
#define SC8280XP_MASTER_QUP_CORE_1 45
|
||||
#define SC8280XP_MASTER_QUP_CORE_2 46
|
||||
#define SC8280XP_MASTER_CAMNOC_ICP 47
|
||||
#define SC8280XP_MASTER_CAMNOC_SF 48
|
||||
#define SC8280XP_MASTER_CRYPTO 49
|
||||
#define SC8280XP_MASTER_IPA 50
|
||||
#define SC8280XP_MASTER_LPASS_PROC 51
|
||||
#define SC8280XP_MASTER_CDSP_PROC 52
|
||||
#define SC8280XP_MASTER_CDSP_PROC_B 53
|
||||
#define SC8280XP_MASTER_PIMEM 54
|
||||
#define SC8280XP_MASTER_SENSORS_PROC 55
|
||||
#define SC8280XP_MASTER_SP 56
|
||||
#define SC8280XP_MASTER_EMAC 57
|
||||
#define SC8280XP_MASTER_EMAC_1 58
|
||||
#define SC8280XP_MASTER_GIC 59
|
||||
#define SC8280XP_MASTER_PCIE_0 60
|
||||
#define SC8280XP_MASTER_PCIE_1 61
|
||||
#define SC8280XP_MASTER_PCIE_2A 62
|
||||
#define SC8280XP_MASTER_PCIE_2B 63
|
||||
#define SC8280XP_MASTER_PCIE_3A 64
|
||||
#define SC8280XP_MASTER_PCIE_3B 65
|
||||
#define SC8280XP_MASTER_PCIE_4 66
|
||||
#define SC8280XP_MASTER_QDSS_ETR 67
|
||||
#define SC8280XP_MASTER_SDCC_2 68
|
||||
#define SC8280XP_MASTER_SDCC_4 69
|
||||
#define SC8280XP_MASTER_UFS_CARD 70
|
||||
#define SC8280XP_MASTER_UFS_MEM 71
|
||||
#define SC8280XP_MASTER_USB3_0 72
|
||||
#define SC8280XP_MASTER_USB3_1 73
|
||||
#define SC8280XP_MASTER_USB3_MP 74
|
||||
#define SC8280XP_MASTER_USB4_0 75
|
||||
#define SC8280XP_MASTER_USB4_1 76
|
||||
#define SC8280XP_SLAVE_EBI1 512
|
||||
#define SC8280XP_SLAVE_IPA_CORE 513
|
||||
#define SC8280XP_SLAVE_AHB2PHY_0 514
|
||||
#define SC8280XP_SLAVE_AHB2PHY_1 515
|
||||
#define SC8280XP_SLAVE_AHB2PHY_2 516
|
||||
#define SC8280XP_SLAVE_AOSS 517
|
||||
#define SC8280XP_SLAVE_APPSS 518
|
||||
#define SC8280XP_SLAVE_CAMERA_CFG 519
|
||||
#define SC8280XP_SLAVE_CLK_CTL 520
|
||||
#define SC8280XP_SLAVE_CDSP_CFG 521
|
||||
#define SC8280XP_SLAVE_CDSP1_CFG 522
|
||||
#define SC8280XP_SLAVE_RBCPR_CX_CFG 523
|
||||
#define SC8280XP_SLAVE_RBCPR_MMCX_CFG 524
|
||||
#define SC8280XP_SLAVE_RBCPR_MX_CFG 525
|
||||
#define SC8280XP_SLAVE_CPR_NSPCX 526
|
||||
#define SC8280XP_SLAVE_CRYPTO_0_CFG 527
|
||||
#define SC8280XP_SLAVE_CX_RDPM 528
|
||||
#define SC8280XP_SLAVE_DCC_CFG 529
|
||||
#define SC8280XP_SLAVE_DISPLAY_CFG 530
|
||||
#define SC8280XP_SLAVE_DISPLAY1_CFG 531
|
||||
#define SC8280XP_SLAVE_EMAC_CFG 532
|
||||
#define SC8280XP_SLAVE_EMAC1_CFG 533
|
||||
#define SC8280XP_SLAVE_GFX3D_CFG 534
|
||||
#define SC8280XP_SLAVE_HWKM 535
|
||||
#define SC8280XP_SLAVE_IMEM_CFG 536
|
||||
#define SC8280XP_SLAVE_IPA_CFG 537
|
||||
#define SC8280XP_SLAVE_IPC_ROUTER_CFG 538
|
||||
#define SC8280XP_SLAVE_LLCC_CFG 539
|
||||
#define SC8280XP_SLAVE_LPASS 540
|
||||
#define SC8280XP_SLAVE_LPASS_CORE_CFG 541
|
||||
#define SC8280XP_SLAVE_LPASS_LPI_CFG 542
|
||||
#define SC8280XP_SLAVE_LPASS_MPU_CFG 543
|
||||
#define SC8280XP_SLAVE_LPASS_TOP_CFG 544
|
||||
#define SC8280XP_SLAVE_MX_RDPM 545
|
||||
#define SC8280XP_SLAVE_MXC_RDPM 546
|
||||
#define SC8280XP_SLAVE_PCIE_0_CFG 547
|
||||
#define SC8280XP_SLAVE_PCIE_1_CFG 548
|
||||
#define SC8280XP_SLAVE_PCIE_2A_CFG 549
|
||||
#define SC8280XP_SLAVE_PCIE_2B_CFG 550
|
||||
#define SC8280XP_SLAVE_PCIE_3A_CFG 551
|
||||
#define SC8280XP_SLAVE_PCIE_3B_CFG 552
|
||||
#define SC8280XP_SLAVE_PCIE_4_CFG 553
|
||||
#define SC8280XP_SLAVE_PCIE_RSC_CFG 554
|
||||
#define SC8280XP_SLAVE_PDM 555
|
||||
#define SC8280XP_SLAVE_PIMEM_CFG 556
|
||||
#define SC8280XP_SLAVE_PKA_WRAPPER_CFG 557
|
||||
#define SC8280XP_SLAVE_PMU_WRAPPER_CFG 558
|
||||
#define SC8280XP_SLAVE_QDSS_CFG 559
|
||||
#define SC8280XP_SLAVE_QSPI_0 560
|
||||
#define SC8280XP_SLAVE_QUP_0 561
|
||||
#define SC8280XP_SLAVE_QUP_1 562
|
||||
#define SC8280XP_SLAVE_QUP_2 563
|
||||
#define SC8280XP_SLAVE_SDCC_2 564
|
||||
#define SC8280XP_SLAVE_SDCC_4 565
|
||||
#define SC8280XP_SLAVE_SECURITY 566
|
||||
#define SC8280XP_SLAVE_SMMUV3_CFG 567
|
||||
#define SC8280XP_SLAVE_SMSS_CFG 568
|
||||
#define SC8280XP_SLAVE_SPSS_CFG 569
|
||||
#define SC8280XP_SLAVE_TCSR 570
|
||||
#define SC8280XP_SLAVE_TLMM 571
|
||||
#define SC8280XP_SLAVE_UFS_CARD_CFG 572
|
||||
#define SC8280XP_SLAVE_UFS_MEM_CFG 573
|
||||
#define SC8280XP_SLAVE_USB3_0 574
|
||||
#define SC8280XP_SLAVE_USB3_1 575
|
||||
#define SC8280XP_SLAVE_USB3_MP 576
|
||||
#define SC8280XP_SLAVE_USB4_0 577
|
||||
#define SC8280XP_SLAVE_USB4_1 578
|
||||
#define SC8280XP_SLAVE_VENUS_CFG 579
|
||||
#define SC8280XP_SLAVE_VSENSE_CTRL_CFG 580
|
||||
#define SC8280XP_SLAVE_VSENSE_CTRL_R_CFG 581
|
||||
#define SC8280XP_SLAVE_A1NOC_CFG 582
|
||||
#define SC8280XP_SLAVE_A1NOC_SNOC 583
|
||||
#define SC8280XP_SLAVE_A2NOC_CFG 584
|
||||
#define SC8280XP_SLAVE_A2NOC_SNOC 585
|
||||
#define SC8280XP_SLAVE_USB_NOC_SNOC 586
|
||||
#define SC8280XP_SLAVE_ANOC_PCIE_BRIDGE_CFG 587
|
||||
#define SC8280XP_SLAVE_DDRSS_CFG 588
|
||||
#define SC8280XP_SLAVE_GEM_NOC_CNOC 589
|
||||
#define SC8280XP_SLAVE_GEM_NOC_CFG 590
|
||||
#define SC8280XP_SLAVE_SNOC_GEM_NOC_GC 591
|
||||
#define SC8280XP_SLAVE_SNOC_GEM_NOC_SF 592
|
||||
#define SC8280XP_SLAVE_LLCC 593
|
||||
#define SC8280XP_SLAVE_MNOC_HF_MEM_NOC 594
|
||||
#define SC8280XP_SLAVE_MNOC_SF_MEM_NOC 595
|
||||
#define SC8280XP_SLAVE_CNOC_MNOC_CFG 596
|
||||
#define SC8280XP_SLAVE_CDSP_MEM_NOC 597
|
||||
#define SC8280XP_SLAVE_CDSPB_MEM_NOC 598
|
||||
#define SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC 599
|
||||
#define SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC 600
|
||||
#define SC8280XP_SLAVE_SNOC_CFG 601
|
||||
#define SC8280XP_SLAVE_SNOC_SF_BRIDGE_CFG 602
|
||||
#define SC8280XP_SLAVE_LPASS_SNOC 603
|
||||
#define SC8280XP_SLAVE_QUP_CORE_0 604
|
||||
#define SC8280XP_SLAVE_QUP_CORE_1 605
|
||||
#define SC8280XP_SLAVE_QUP_CORE_2 606
|
||||
#define SC8280XP_SLAVE_IMEM 607
|
||||
#define SC8280XP_SLAVE_NSP_XFR 608
|
||||
#define SC8280XP_SLAVE_NSPB_XFR 609
|
||||
#define SC8280XP_SLAVE_PIMEM 610
|
||||
#define SC8280XP_SLAVE_SERVICE_NSP_NOC 611
|
||||
#define SC8280XP_SLAVE_SERVICE_NSPB_NOC 612
|
||||
#define SC8280XP_SLAVE_SERVICE_A1NOC 613
|
||||
#define SC8280XP_SLAVE_SERVICE_A2NOC 614
|
||||
#define SC8280XP_SLAVE_SERVICE_CNOC 615
|
||||
#define SC8280XP_SLAVE_SERVICE_GEM_NOC_1 616
|
||||
#define SC8280XP_SLAVE_SERVICE_MNOC 617
|
||||
#define SC8280XP_SLAVE_SERVICES_LPASS_AML_NOC 618
|
||||
#define SC8280XP_SLAVE_SERVICE_LPASS_AG_NOC 619
|
||||
#define SC8280XP_SLAVE_SERVICE_GEM_NOC_2 620
|
||||
#define SC8280XP_SLAVE_SERVICE_SNOC 621
|
||||
#define SC8280XP_SLAVE_SERVICE_GEM_NOC 622
|
||||
#define SC8280XP_SLAVE_PCIE_0 623
|
||||
#define SC8280XP_SLAVE_PCIE_1 624
|
||||
#define SC8280XP_SLAVE_PCIE_2A 625
|
||||
#define SC8280XP_SLAVE_PCIE_2B 626
|
||||
#define SC8280XP_SLAVE_PCIE_3A 627
|
||||
#define SC8280XP_SLAVE_PCIE_3B 628
|
||||
#define SC8280XP_SLAVE_PCIE_4 629
|
||||
#define SC8280XP_SLAVE_QDSS_STM 630
|
||||
#define SC8280XP_SLAVE_SMSS 631
|
||||
#define SC8280XP_SLAVE_TCU 632
|
||||
|
||||
#endif
|
||||
|
@ -1490,7 +1490,7 @@ static struct qcom_icc_node slv_srvc_snoc = {
|
||||
.slv_rpm_id = 29,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_a2noc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_a2noc_nodes[] = {
|
||||
[MASTER_IPA] = &mas_ipa,
|
||||
[MASTER_CNOC_A2NOC] = &mas_cnoc_a2noc,
|
||||
[MASTER_SDCC_1] = &mas_sdcc_1,
|
||||
@ -1512,7 +1512,7 @@ static const struct regmap_config sdm660_a2noc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_a2noc = {
|
||||
static const struct qcom_icc_desc sdm660_a2noc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = sdm660_a2noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_a2noc_nodes),
|
||||
@ -1521,7 +1521,7 @@ static struct qcom_icc_desc sdm660_a2noc = {
|
||||
.regmap_cfg = &sdm660_a2noc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_bimc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_bimc_nodes[] = {
|
||||
[MASTER_GNOC_BIMC] = &mas_gnoc_bimc,
|
||||
[MASTER_OXILI] = &mas_oxili,
|
||||
[MASTER_MNOC_BIMC] = &mas_mnoc_bimc,
|
||||
@ -1540,14 +1540,14 @@ static const struct regmap_config sdm660_bimc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_bimc = {
|
||||
static const struct qcom_icc_desc sdm660_bimc = {
|
||||
.type = QCOM_ICC_BIMC,
|
||||
.nodes = sdm660_bimc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_bimc_nodes),
|
||||
.regmap_cfg = &sdm660_bimc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_cnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_cnoc_nodes[] = {
|
||||
[MASTER_SNOC_CNOC] = &mas_snoc_cnoc,
|
||||
[MASTER_QDSS_DAP] = &mas_qdss_dap,
|
||||
[SLAVE_CNOC_A2NOC] = &slv_cnoc_a2noc,
|
||||
@ -1594,14 +1594,14 @@ static const struct regmap_config sdm660_cnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_cnoc = {
|
||||
static const struct qcom_icc_desc sdm660_cnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = sdm660_cnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_cnoc_nodes),
|
||||
.regmap_cfg = &sdm660_cnoc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_gnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_gnoc_nodes[] = {
|
||||
[MASTER_APSS_PROC] = &mas_apss_proc,
|
||||
[SLAVE_GNOC_BIMC] = &slv_gnoc_bimc,
|
||||
[SLAVE_GNOC_SNOC] = &slv_gnoc_snoc,
|
||||
@ -1615,14 +1615,14 @@ static const struct regmap_config sdm660_gnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_gnoc = {
|
||||
static const struct qcom_icc_desc sdm660_gnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = sdm660_gnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_gnoc_nodes),
|
||||
.regmap_cfg = &sdm660_gnoc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_mnoc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_mnoc_nodes[] = {
|
||||
[MASTER_CPP] = &mas_cpp,
|
||||
[MASTER_JPEG] = &mas_jpeg,
|
||||
[MASTER_MDP_P0] = &mas_mdp_p0,
|
||||
@ -1655,7 +1655,7 @@ static const struct regmap_config sdm660_mnoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_mnoc = {
|
||||
static const struct qcom_icc_desc sdm660_mnoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = sdm660_mnoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_mnoc_nodes),
|
||||
@ -1664,7 +1664,7 @@ static struct qcom_icc_desc sdm660_mnoc = {
|
||||
.regmap_cfg = &sdm660_mnoc_regmap_config,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *sdm660_snoc_nodes[] = {
|
||||
static struct qcom_icc_node * const sdm660_snoc_nodes[] = {
|
||||
[MASTER_QDSS_ETR] = &mas_qdss_etr,
|
||||
[MASTER_QDSS_BAM] = &mas_qdss_bam,
|
||||
[MASTER_SNOC_CFG] = &mas_snoc_cfg,
|
||||
@ -1692,7 +1692,7 @@ static const struct regmap_config sdm660_snoc_regmap_config = {
|
||||
.fast_io = true,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sdm660_snoc = {
|
||||
static const struct qcom_icc_desc sdm660_snoc = {
|
||||
.type = QCOM_ICC_NOC,
|
||||
.nodes = sdm660_snoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(sdm660_snoc_nodes),
|
||||
|
@ -175,12 +175,12 @@ DEFINE_QBCM(bcm_sn12, "SN12", false, &qnm_gladiator_sodv, &xm_gic);
|
||||
DEFINE_QBCM(bcm_sn14, "SN14", false, &qnm_pcie_anoc);
|
||||
DEFINE_QBCM(bcm_sn15, "SN15", false, &qnm_memnoc);
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
&bcm_sn9,
|
||||
&bcm_qup0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_A1NOC_CFG] = &qhm_a1noc_cfg,
|
||||
[MASTER_TSIF] = &qhm_tsif,
|
||||
[MASTER_SDCC_2] = &xm_sdc2,
|
||||
@ -201,13 +201,13 @@ static const struct qcom_icc_desc sdm845_aggre1_noc = {
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_sn11,
|
||||
&bcm_qup0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_A2NOC_CFG] = &qhm_a2noc_cfg,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_CNOC_A2NOC] = &qnm_cnoc,
|
||||
@ -230,11 +230,11 @@ static const struct qcom_icc_desc sdm845_aggre2_noc = {
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[MASTER_SPDM] = &qhm_spdm,
|
||||
[MASTER_TIC] = &qhm_tic,
|
||||
[MASTER_SNOC_CNOC] = &qnm_snoc,
|
||||
@ -291,10 +291,10 @@ static const struct qcom_icc_desc sdm845_config_noc = {
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *dc_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const dc_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qhm_cnoc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
[SLAVE_MEM_NOC_CFG] = &qhs_memnoc,
|
||||
@ -307,10 +307,10 @@ static const struct qcom_icc_desc sdm845_dc_noc = {
|
||||
.num_bcms = ARRAY_SIZE(dc_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gladiator_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gladiator_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gladiator_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gladiator_noc_nodes[] = {
|
||||
[MASTER_APPSS_PROC] = &acm_l3,
|
||||
[MASTER_GNOC_CFG] = &pm_gnoc_cfg,
|
||||
[SLAVE_GNOC_SNOC] = &qns_gladiator_sodv,
|
||||
@ -325,7 +325,7 @@ static const struct qcom_icc_desc sdm845_gladiator_noc = {
|
||||
.num_bcms = ARRAY_SIZE(gladiator_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mem_noc_bcms[] = {
|
||||
&bcm_mc0,
|
||||
&bcm_acv,
|
||||
&bcm_sh0,
|
||||
@ -335,7 +335,7 @@ static struct qcom_icc_bcm *mem_noc_bcms[] = {
|
||||
&bcm_sh5,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mem_noc_nodes[] = {
|
||||
[MASTER_TCU_0] = &acm_tcu,
|
||||
[MASTER_MEM_NOC_CFG] = &qhm_memnoc_cfg,
|
||||
[MASTER_GNOC_MEM_NOC] = &qnm_apps,
|
||||
@ -360,14 +360,14 @@ static const struct qcom_icc_desc sdm845_mem_noc = {
|
||||
.num_bcms = ARRAY_SIZE(mem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm2,
|
||||
&bcm_mm3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &qhm_mnoc_cfg,
|
||||
[MASTER_CAMNOC_HF0] = &qxm_camnoc_hf0,
|
||||
[MASTER_CAMNOC_HF1] = &qxm_camnoc_hf1,
|
||||
@ -394,7 +394,7 @@ static const struct qcom_icc_desc sdm845_mmss_noc = {
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn2,
|
||||
@ -411,7 +411,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn15,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
|
||||
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
|
||||
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
|
||||
|
@ -99,11 +99,11 @@ DEFINE_QBCM(bcm_sn9, "SN9", false, &qnm_memnoc);
|
||||
DEFINE_QBCM(bcm_sn10, "SN10", false, &qnm_memnoc_pcie);
|
||||
DEFINE_QBCM(bcm_sn11, "SN11", false, &qnm_ipa, &xm_ipa2pcie_slv);
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI_CH0] = &ebi,
|
||||
};
|
||||
@ -115,13 +115,13 @@ static const struct qcom_icc_desc sdx55_mc_virt = {
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh3,
|
||||
&bcm_sh4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mem_noc_nodes[] = {
|
||||
[MASTER_TCU_0] = &acm_tcu,
|
||||
[MASTER_SNOC_GC_MEM_NOC] = &qnm_snoc_gc,
|
||||
[MASTER_AMPSS_M0] = &xm_apps_rdwr,
|
||||
@ -137,7 +137,7 @@ static const struct qcom_icc_desc sdx55_mem_noc = {
|
||||
.num_bcms = ARRAY_SIZE(mem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_pn0,
|
||||
&bcm_pn1,
|
||||
@ -156,7 +156,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn11,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_AUDIO] = &qhm_audio,
|
||||
[MASTER_BLSP_1] = &qhm_blsp1,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
|
231
drivers/interconnect/qcom/sdx65.c
Normal file
231
drivers/interconnect/qcom/sdx65.c
Normal file
@ -0,0 +1,231 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
#include <linux/interconnect.h>
|
||||
#include <linux/interconnect-provider.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/of_platform.h>
|
||||
#include <dt-bindings/interconnect/qcom,sdx65.h>
|
||||
|
||||
#include "bcm-voter.h"
|
||||
#include "icc-rpmh.h"
|
||||
#include "sdx65.h"
|
||||
|
||||
DEFINE_QNODE(llcc_mc, SDX65_MASTER_LLCC, 1, 4, SDX65_SLAVE_EBI1);
|
||||
DEFINE_QNODE(acm_tcu, SDX65_MASTER_TCU_0, 1, 8, SDX65_SLAVE_LLCC, SDX65_SLAVE_MEM_NOC_SNOC, SDX65_SLAVE_MEM_NOC_PCIE_SNOC);
|
||||
DEFINE_QNODE(qnm_snoc_gc, SDX65_MASTER_SNOC_GC_MEM_NOC, 1, 16, SDX65_SLAVE_LLCC);
|
||||
DEFINE_QNODE(xm_apps_rdwr, SDX65_MASTER_APPSS_PROC, 1, 16, SDX65_SLAVE_LLCC, SDX65_SLAVE_MEM_NOC_SNOC, SDX65_SLAVE_MEM_NOC_PCIE_SNOC);
|
||||
DEFINE_QNODE(qhm_audio, SDX65_MASTER_AUDIO, 1, 4, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(qhm_blsp1, SDX65_MASTER_BLSP_1, 1, 4, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(qhm_qdss_bam, SDX65_MASTER_QDSS_BAM, 1, 4, SDX65_SLAVE_AOSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_BLSP_1, SDX65_SLAVE_CLK_CTL, SDX65_SLAVE_CRYPTO_0_CFG, SDX65_SLAVE_CNOC_DDRSS, SDX65_SLAVE_ECC_CFG, SDX65_SLAVE_IMEM_CFG, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_CNOC_MSS, SDX65_SLAVE_PCIE_PARF, SDX65_SLAVE_PDM, SDX65_SLAVE_PRNG, SDX65_SLAVE_QDSS_CFG, SDX65_SLAVE_QPIC, SDX65_SLAVE_SDCC_1, SDX65_SLAVE_SNOC_CFG, SDX65_SLAVE_SPMI_FETCHER, SDX65_SLAVE_SPMI_VGI_COEX, SDX65_SLAVE_TCSR, SDX65_SLAVE_TLMM, SDX65_SLAVE_USB3, SDX65_SLAVE_USB3_PHY_CFG, SDX65_SLAVE_SNOC_MEM_NOC_GC, SDX65_SLAVE_IMEM, SDX65_SLAVE_TCU);
|
||||
DEFINE_QNODE(qhm_qpic, SDX65_MASTER_QPIC, 1, 4, SDX65_SLAVE_AOSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(qhm_snoc_cfg, SDX65_MASTER_SNOC_CFG, 1, 4, SDX65_SLAVE_SERVICE_SNOC);
|
||||
DEFINE_QNODE(qhm_spmi_fetcher1, SDX65_MASTER_SPMI_FETCHER, 1, 4, SDX65_SLAVE_AOSS, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(qnm_aggre_noc, SDX65_MASTER_ANOC_SNOC, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_APPSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_BLSP_1, SDX65_SLAVE_CLK_CTL, SDX65_SLAVE_CRYPTO_0_CFG, SDX65_SLAVE_CNOC_DDRSS, SDX65_SLAVE_ECC_CFG, SDX65_SLAVE_IMEM_CFG, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_CNOC_MSS, SDX65_SLAVE_PCIE_PARF, SDX65_SLAVE_PDM, SDX65_SLAVE_PRNG, SDX65_SLAVE_QDSS_CFG, SDX65_SLAVE_QPIC, SDX65_SLAVE_SDCC_1, SDX65_SLAVE_SNOC_CFG, SDX65_SLAVE_SPMI_FETCHER, SDX65_SLAVE_SPMI_VGI_COEX, SDX65_SLAVE_TCSR, SDX65_SLAVE_TLMM, SDX65_SLAVE_USB3, SDX65_SLAVE_USB3_PHY_CFG, SDX65_SLAVE_SNOC_MEM_NOC_GC, SDX65_SLAVE_IMEM, SDX65_SLAVE_PCIE_0, SDX65_SLAVE_QDSS_STM, SDX65_SLAVE_TCU);
|
||||
DEFINE_QNODE(qnm_ipa, SDX65_MASTER_IPA, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_BLSP_1, SDX65_SLAVE_CLK_CTL, SDX65_SLAVE_CRYPTO_0_CFG, SDX65_SLAVE_CNOC_DDRSS, SDX65_SLAVE_ECC_CFG, SDX65_SLAVE_IMEM_CFG, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_CNOC_MSS, SDX65_SLAVE_PCIE_PARF, SDX65_SLAVE_PDM, SDX65_SLAVE_PRNG, SDX65_SLAVE_QDSS_CFG, SDX65_SLAVE_QPIC, SDX65_SLAVE_SDCC_1, SDX65_SLAVE_SNOC_CFG, SDX65_SLAVE_SPMI_FETCHER, SDX65_SLAVE_TCSR, SDX65_SLAVE_TLMM, SDX65_SLAVE_USB3, SDX65_SLAVE_USB3_PHY_CFG, SDX65_SLAVE_SNOC_MEM_NOC_GC, SDX65_SLAVE_IMEM, SDX65_SLAVE_PCIE_0, SDX65_SLAVE_QDSS_STM);
|
||||
DEFINE_QNODE(qnm_memnoc, SDX65_MASTER_MEM_NOC_SNOC, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_APPSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_BLSP_1, SDX65_SLAVE_CLK_CTL, SDX65_SLAVE_CRYPTO_0_CFG, SDX65_SLAVE_CNOC_DDRSS, SDX65_SLAVE_ECC_CFG, SDX65_SLAVE_IMEM_CFG, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_CNOC_MSS, SDX65_SLAVE_PCIE_PARF, SDX65_SLAVE_PDM, SDX65_SLAVE_PRNG, SDX65_SLAVE_QDSS_CFG, SDX65_SLAVE_QPIC, SDX65_SLAVE_SDCC_1, SDX65_SLAVE_SNOC_CFG, SDX65_SLAVE_SPMI_FETCHER, SDX65_SLAVE_SPMI_VGI_COEX, SDX65_SLAVE_TCSR, SDX65_SLAVE_TLMM, SDX65_SLAVE_USB3, SDX65_SLAVE_USB3_PHY_CFG, SDX65_SLAVE_IMEM, SDX65_SLAVE_QDSS_STM, SDX65_SLAVE_TCU);
|
||||
DEFINE_QNODE(qnm_memnoc_pcie, SDX65_MASTER_MEM_NOC_PCIE_SNOC, 1, 8, SDX65_SLAVE_PCIE_0);
|
||||
DEFINE_QNODE(qxm_crypto, SDX65_MASTER_CRYPTO, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(xm_ipa2pcie_slv, SDX65_MASTER_IPA_PCIE, 1, 8, SDX65_SLAVE_PCIE_0);
|
||||
DEFINE_QNODE(xm_pcie, SDX65_MASTER_PCIE_0, 1, 8, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(xm_qdss_etr, SDX65_MASTER_QDSS_ETR, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_BLSP_1, SDX65_SLAVE_CLK_CTL, SDX65_SLAVE_CRYPTO_0_CFG, SDX65_SLAVE_CNOC_DDRSS, SDX65_SLAVE_ECC_CFG, SDX65_SLAVE_IMEM_CFG, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_CNOC_MSS, SDX65_SLAVE_PCIE_PARF, SDX65_SLAVE_PDM, SDX65_SLAVE_PRNG, SDX65_SLAVE_QDSS_CFG, SDX65_SLAVE_QPIC, SDX65_SLAVE_SDCC_1, SDX65_SLAVE_SNOC_CFG, SDX65_SLAVE_SPMI_FETCHER, SDX65_SLAVE_SPMI_VGI_COEX, SDX65_SLAVE_TCSR, SDX65_SLAVE_TLMM, SDX65_SLAVE_USB3, SDX65_SLAVE_USB3_PHY_CFG, SDX65_SLAVE_SNOC_MEM_NOC_GC, SDX65_SLAVE_IMEM, SDX65_SLAVE_TCU);
|
||||
DEFINE_QNODE(xm_sdc1, SDX65_MASTER_SDCC_1, 1, 8, SDX65_SLAVE_AOSS, SDX65_SLAVE_AUDIO, SDX65_SLAVE_IPA_CFG, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(xm_usb3, SDX65_MASTER_USB3, 1, 8, SDX65_SLAVE_ANOC_SNOC);
|
||||
DEFINE_QNODE(ebi, SDX65_SLAVE_EBI1, 1, 4);
|
||||
DEFINE_QNODE(qns_llcc, SDX65_SLAVE_LLCC, 1, 16, SDX65_MASTER_LLCC);
|
||||
DEFINE_QNODE(qns_memnoc_snoc, SDX65_SLAVE_MEM_NOC_SNOC, 1, 8, SDX65_MASTER_MEM_NOC_SNOC);
|
||||
DEFINE_QNODE(qns_sys_pcie, SDX65_SLAVE_MEM_NOC_PCIE_SNOC, 1, 8, SDX65_MASTER_MEM_NOC_PCIE_SNOC);
|
||||
DEFINE_QNODE(qhs_aoss, SDX65_SLAVE_AOSS, 1, 4);
|
||||
DEFINE_QNODE(qhs_apss, SDX65_SLAVE_APPSS, 1, 4);
|
||||
DEFINE_QNODE(qhs_audio, SDX65_SLAVE_AUDIO, 1, 4);
|
||||
DEFINE_QNODE(qhs_blsp1, SDX65_SLAVE_BLSP_1, 1, 4);
|
||||
DEFINE_QNODE(qhs_clk_ctl, SDX65_SLAVE_CLK_CTL, 1, 4);
|
||||
DEFINE_QNODE(qhs_crypto0_cfg, SDX65_SLAVE_CRYPTO_0_CFG, 1, 4);
|
||||
DEFINE_QNODE(qhs_ddrss_cfg, SDX65_SLAVE_CNOC_DDRSS, 1, 4);
|
||||
DEFINE_QNODE(qhs_ecc_cfg, SDX65_SLAVE_ECC_CFG, 1, 4);
|
||||
DEFINE_QNODE(qhs_imem_cfg, SDX65_SLAVE_IMEM_CFG, 1, 4);
|
||||
DEFINE_QNODE(qhs_ipa, SDX65_SLAVE_IPA_CFG, 1, 4);
|
||||
DEFINE_QNODE(qhs_mss_cfg, SDX65_SLAVE_CNOC_MSS, 1, 4);
|
||||
DEFINE_QNODE(qhs_pcie_parf, SDX65_SLAVE_PCIE_PARF, 1, 4);
|
||||
DEFINE_QNODE(qhs_pdm, SDX65_SLAVE_PDM, 1, 4);
|
||||
DEFINE_QNODE(qhs_prng, SDX65_SLAVE_PRNG, 1, 4);
|
||||
DEFINE_QNODE(qhs_qdss_cfg, SDX65_SLAVE_QDSS_CFG, 1, 4);
|
||||
DEFINE_QNODE(qhs_qpic, SDX65_SLAVE_QPIC, 1, 4);
|
||||
DEFINE_QNODE(qhs_sdc1, SDX65_SLAVE_SDCC_1, 1, 4);
|
||||
DEFINE_QNODE(qhs_snoc_cfg, SDX65_SLAVE_SNOC_CFG, 1, 4, SDX65_MASTER_SNOC_CFG);
|
||||
DEFINE_QNODE(qhs_spmi_fetcher, SDX65_SLAVE_SPMI_FETCHER, 1, 4);
|
||||
DEFINE_QNODE(qhs_spmi_vgi_coex, SDX65_SLAVE_SPMI_VGI_COEX, 1, 4);
|
||||
DEFINE_QNODE(qhs_tcsr, SDX65_SLAVE_TCSR, 1, 4);
|
||||
DEFINE_QNODE(qhs_tlmm, SDX65_SLAVE_TLMM, 1, 4);
|
||||
DEFINE_QNODE(qhs_usb3, SDX65_SLAVE_USB3, 1, 4);
|
||||
DEFINE_QNODE(qhs_usb3_phy, SDX65_SLAVE_USB3_PHY_CFG, 1, 4);
|
||||
DEFINE_QNODE(qns_aggre_noc, SDX65_SLAVE_ANOC_SNOC, 1, 8, SDX65_MASTER_ANOC_SNOC);
|
||||
DEFINE_QNODE(qns_snoc_memnoc, SDX65_SLAVE_SNOC_MEM_NOC_GC, 1, 16, SDX65_MASTER_SNOC_GC_MEM_NOC);
|
||||
DEFINE_QNODE(qxs_imem, SDX65_SLAVE_IMEM, 1, 8);
|
||||
DEFINE_QNODE(srvc_snoc, SDX65_SLAVE_SERVICE_SNOC, 1, 4);
|
||||
DEFINE_QNODE(xs_pcie, SDX65_SLAVE_PCIE_0, 1, 8);
|
||||
DEFINE_QNODE(xs_qdss_stm, SDX65_SLAVE_QDSS_STM, 1, 4);
|
||||
DEFINE_QNODE(xs_sys_tcu_cfg, SDX65_SLAVE_TCU, 1, 8);
|
||||
|
||||
DEFINE_QBCM(bcm_ce0, "CE0", false, &qxm_crypto);
|
||||
DEFINE_QBCM(bcm_mc0, "MC0", true, &ebi);
|
||||
DEFINE_QBCM(bcm_pn0, "PN0", true, &qhm_snoc_cfg, &qhs_aoss, &qhs_apss, &qhs_audio, &qhs_blsp1, &qhs_clk_ctl, &qhs_crypto0_cfg, &qhs_ddrss_cfg, &qhs_ecc_cfg, &qhs_imem_cfg, &qhs_ipa, &qhs_mss_cfg, &qhs_pcie_parf, &qhs_pdm, &qhs_prng, &qhs_qdss_cfg, &qhs_qpic, &qhs_sdc1, &qhs_snoc_cfg, &qhs_spmi_fetcher, &qhs_spmi_vgi_coex, &qhs_tcsr, &qhs_tlmm, &qhs_usb3, &qhs_usb3_phy, &srvc_snoc);
|
||||
DEFINE_QBCM(bcm_pn1, "PN1", false, &xm_sdc1);
|
||||
DEFINE_QBCM(bcm_pn2, "PN2", false, &qhm_audio, &qhm_spmi_fetcher1);
|
||||
DEFINE_QBCM(bcm_pn3, "PN3", false, &qhm_blsp1, &qhm_qpic);
|
||||
DEFINE_QBCM(bcm_pn4, "PN4", false, &qxm_crypto);
|
||||
DEFINE_QBCM(bcm_sh0, "SH0", true, &qns_llcc);
|
||||
DEFINE_QBCM(bcm_sh1, "SH1", false, &qns_memnoc_snoc);
|
||||
DEFINE_QBCM(bcm_sh3, "SH3", false, &xm_apps_rdwr);
|
||||
DEFINE_QBCM(bcm_sn0, "SN0", true, &qns_snoc_memnoc);
|
||||
DEFINE_QBCM(bcm_sn1, "SN1", false, &qxs_imem);
|
||||
DEFINE_QBCM(bcm_sn2, "SN2", false, &xs_qdss_stm);
|
||||
DEFINE_QBCM(bcm_sn3, "SN3", false, &xs_sys_tcu_cfg);
|
||||
DEFINE_QBCM(bcm_sn5, "SN5", false, &xs_pcie);
|
||||
DEFINE_QBCM(bcm_sn6, "SN6", false, &qhm_qdss_bam, &xm_qdss_etr);
|
||||
DEFINE_QBCM(bcm_sn7, "SN7", false, &qnm_aggre_noc, &xm_pcie, &xm_usb3, &qns_aggre_noc);
|
||||
DEFINE_QBCM(bcm_sn8, "SN8", false, &qnm_memnoc);
|
||||
DEFINE_QBCM(bcm_sn9, "SN9", false, &qnm_memnoc_pcie);
|
||||
DEFINE_QBCM(bcm_sn10, "SN10", false, &qnm_ipa, &xm_ipa2pcie_slv);
|
||||
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI1] = &ebi,
|
||||
};
|
||||
|
||||
static const struct qcom_icc_desc sdx65_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm * const mem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh1,
|
||||
&bcm_sh3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node * const mem_noc_nodes[] = {
|
||||
[MASTER_TCU_0] = &acm_tcu,
|
||||
[MASTER_SNOC_GC_MEM_NOC] = &qnm_snoc_gc,
|
||||
[MASTER_APPSS_PROC] = &xm_apps_rdwr,
|
||||
[SLAVE_LLCC] = &qns_llcc,
|
||||
[SLAVE_MEM_NOC_SNOC] = &qns_memnoc_snoc,
|
||||
[SLAVE_MEM_NOC_PCIE_SNOC] = &qns_sys_pcie,
|
||||
};
|
||||
|
||||
static const struct qcom_icc_desc sdx65_mem_noc = {
|
||||
.nodes = mem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mem_noc_nodes),
|
||||
.bcms = mem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_pn0,
|
||||
&bcm_pn1,
|
||||
&bcm_pn2,
|
||||
&bcm_pn3,
|
||||
&bcm_pn4,
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn2,
|
||||
&bcm_sn3,
|
||||
&bcm_sn5,
|
||||
&bcm_sn6,
|
||||
&bcm_sn7,
|
||||
&bcm_sn8,
|
||||
&bcm_sn9,
|
||||
&bcm_sn10,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_AUDIO] = &qhm_audio,
|
||||
[MASTER_BLSP_1] = &qhm_blsp1,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QPIC] = &qhm_qpic,
|
||||
[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
|
||||
[MASTER_SPMI_FETCHER] = &qhm_spmi_fetcher1,
|
||||
[MASTER_ANOC_SNOC] = &qnm_aggre_noc,
|
||||
[MASTER_IPA] = &qnm_ipa,
|
||||
[MASTER_MEM_NOC_SNOC] = &qnm_memnoc,
|
||||
[MASTER_MEM_NOC_PCIE_SNOC] = &qnm_memnoc_pcie,
|
||||
[MASTER_CRYPTO] = &qxm_crypto,
|
||||
[MASTER_IPA_PCIE] = &xm_ipa2pcie_slv,
|
||||
[MASTER_PCIE_0] = &xm_pcie,
|
||||
[MASTER_QDSS_ETR] = &xm_qdss_etr,
|
||||
[MASTER_SDCC_1] = &xm_sdc1,
|
||||
[MASTER_USB3] = &xm_usb3,
|
||||
[SLAVE_AOSS] = &qhs_aoss,
|
||||
[SLAVE_APPSS] = &qhs_apss,
|
||||
[SLAVE_AUDIO] = &qhs_audio,
|
||||
[SLAVE_BLSP_1] = &qhs_blsp1,
|
||||
[SLAVE_CLK_CTL] = &qhs_clk_ctl,
|
||||
[SLAVE_CRYPTO_0_CFG] = &qhs_crypto0_cfg,
|
||||
[SLAVE_CNOC_DDRSS] = &qhs_ddrss_cfg,
|
||||
[SLAVE_ECC_CFG] = &qhs_ecc_cfg,
|
||||
[SLAVE_IMEM_CFG] = &qhs_imem_cfg,
|
||||
[SLAVE_IPA_CFG] = &qhs_ipa,
|
||||
[SLAVE_CNOC_MSS] = &qhs_mss_cfg,
|
||||
[SLAVE_PCIE_PARF] = &qhs_pcie_parf,
|
||||
[SLAVE_PDM] = &qhs_pdm,
|
||||
[SLAVE_PRNG] = &qhs_prng,
|
||||
[SLAVE_QDSS_CFG] = &qhs_qdss_cfg,
|
||||
[SLAVE_QPIC] = &qhs_qpic,
|
||||
[SLAVE_SDCC_1] = &qhs_sdc1,
|
||||
[SLAVE_SNOC_CFG] = &qhs_snoc_cfg,
|
||||
[SLAVE_SPMI_FETCHER] = &qhs_spmi_fetcher,
|
||||
[SLAVE_SPMI_VGI_COEX] = &qhs_spmi_vgi_coex,
|
||||
[SLAVE_TCSR] = &qhs_tcsr,
|
||||
[SLAVE_TLMM] = &qhs_tlmm,
|
||||
[SLAVE_USB3] = &qhs_usb3,
|
||||
[SLAVE_USB3_PHY_CFG] = &qhs_usb3_phy,
|
||||
[SLAVE_ANOC_SNOC] = &qns_aggre_noc,
|
||||
[SLAVE_SNOC_MEM_NOC_GC] = &qns_snoc_memnoc,
|
||||
[SLAVE_IMEM] = &qxs_imem,
|
||||
[SLAVE_SERVICE_SNOC] = &srvc_snoc,
|
||||
[SLAVE_PCIE_0] = &xs_pcie,
|
||||
[SLAVE_QDSS_STM] = &xs_qdss_stm,
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static const struct qcom_icc_desc sdx65_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(system_noc_bcms),
|
||||
};
|
||||
|
||||
static const struct of_device_id qnoc_of_match[] = {
|
||||
{ .compatible = "qcom,sdx65-mc-virt",
|
||||
.data = &sdx65_mc_virt},
|
||||
{ .compatible = "qcom,sdx65-mem-noc",
|
||||
.data = &sdx65_mem_noc},
|
||||
{ .compatible = "qcom,sdx65-system-noc",
|
||||
.data = &sdx65_system_noc},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, qnoc_of_match);
|
||||
|
||||
static struct platform_driver qnoc_driver = {
|
||||
.probe = qcom_icc_rpmh_probe,
|
||||
.remove = qcom_icc_rpmh_remove,
|
||||
.driver = {
|
||||
.name = "qnoc-sdx65",
|
||||
.of_match_table = qnoc_of_match,
|
||||
.sync_state = icc_sync_state,
|
||||
},
|
||||
};
|
||||
module_platform_driver(qnoc_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Qualcomm SDX65 NoC driver");
|
||||
MODULE_LICENSE("GPL v2");
|
65
drivers/interconnect/qcom/sdx65.h
Normal file
65
drivers/interconnect/qcom/sdx65.h
Normal file
@ -0,0 +1,65 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __DRIVERS_INTERCONNECT_QCOM_SDX65_H
|
||||
#define __DRIVERS_INTERCONNECT_QCOM_SDX65_H
|
||||
|
||||
#define SDX65_MASTER_TCU_0 0
|
||||
#define SDX65_MASTER_LLCC 1
|
||||
#define SDX65_MASTER_AUDIO 2
|
||||
#define SDX65_MASTER_BLSP_1 3
|
||||
#define SDX65_MASTER_QDSS_BAM 4
|
||||
#define SDX65_MASTER_QPIC 5
|
||||
#define SDX65_MASTER_SNOC_CFG 6
|
||||
#define SDX65_MASTER_SPMI_FETCHER 7
|
||||
#define SDX65_MASTER_ANOC_SNOC 8
|
||||
#define SDX65_MASTER_IPA 9
|
||||
#define SDX65_MASTER_MEM_NOC_SNOC 10
|
||||
#define SDX65_MASTER_MEM_NOC_PCIE_SNOC 11
|
||||
#define SDX65_MASTER_SNOC_GC_MEM_NOC 12
|
||||
#define SDX65_MASTER_CRYPTO 13
|
||||
#define SDX65_MASTER_APPSS_PROC 14
|
||||
#define SDX65_MASTER_IPA_PCIE 15
|
||||
#define SDX65_MASTER_PCIE_0 16
|
||||
#define SDX65_MASTER_QDSS_ETR 17
|
||||
#define SDX65_MASTER_SDCC_1 18
|
||||
#define SDX65_MASTER_USB3 19
|
||||
#define SDX65_SLAVE_EBI1 512
|
||||
#define SDX65_SLAVE_AOSS 513
|
||||
#define SDX65_SLAVE_APPSS 514
|
||||
#define SDX65_SLAVE_AUDIO 515
|
||||
#define SDX65_SLAVE_BLSP_1 516
|
||||
#define SDX65_SLAVE_CLK_CTL 517
|
||||
#define SDX65_SLAVE_CRYPTO_0_CFG 518
|
||||
#define SDX65_SLAVE_CNOC_DDRSS 519
|
||||
#define SDX65_SLAVE_ECC_CFG 520
|
||||
#define SDX65_SLAVE_IMEM_CFG 521
|
||||
#define SDX65_SLAVE_IPA_CFG 522
|
||||
#define SDX65_SLAVE_CNOC_MSS 523
|
||||
#define SDX65_SLAVE_PCIE_PARF 524
|
||||
#define SDX65_SLAVE_PDM 525
|
||||
#define SDX65_SLAVE_PRNG 526
|
||||
#define SDX65_SLAVE_QDSS_CFG 527
|
||||
#define SDX65_SLAVE_QPIC 528
|
||||
#define SDX65_SLAVE_SDCC_1 529
|
||||
#define SDX65_SLAVE_SNOC_CFG 530
|
||||
#define SDX65_SLAVE_SPMI_FETCHER 531
|
||||
#define SDX65_SLAVE_SPMI_VGI_COEX 532
|
||||
#define SDX65_SLAVE_TCSR 533
|
||||
#define SDX65_SLAVE_TLMM 534
|
||||
#define SDX65_SLAVE_USB3 535
|
||||
#define SDX65_SLAVE_USB3_PHY_CFG 536
|
||||
#define SDX65_SLAVE_ANOC_SNOC 537
|
||||
#define SDX65_SLAVE_LLCC 538
|
||||
#define SDX65_SLAVE_MEM_NOC_SNOC 539
|
||||
#define SDX65_SLAVE_SNOC_MEM_NOC_GC 540
|
||||
#define SDX65_SLAVE_MEM_NOC_PCIE_SNOC 541
|
||||
#define SDX65_SLAVE_IMEM 542
|
||||
#define SDX65_SLAVE_SERVICE_SNOC 543
|
||||
#define SDX65_SLAVE_PCIE_0 544
|
||||
#define SDX65_SLAVE_QDSS_STM 545
|
||||
#define SDX65_SLAVE_TCU 546
|
||||
|
||||
#endif
|
@ -186,12 +186,12 @@ DEFINE_QBCM(bcm_sn12, "SN12", false, &qxm_pimem, &xm_gic);
|
||||
DEFINE_QBCM(bcm_sn14, "SN14", false, &qns_pcie_mem_noc);
|
||||
DEFINE_QBCM(bcm_sn15, "SN15", false, &qnm_gemnoc);
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
&bcm_qup0,
|
||||
&bcm_sn3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_A1NOC_CFG] = &qhm_a1noc_cfg,
|
||||
[MASTER_QUP_0] = &qhm_qup0,
|
||||
[MASTER_EMAC] = &xm_emac,
|
||||
@ -202,21 +202,21 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sm8150_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_qup0,
|
||||
&bcm_sn14,
|
||||
&bcm_sn3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_A2NOC_CFG] = &qhm_a2noc_cfg,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QSPI] = &qhm_qspi,
|
||||
@ -237,53 +237,53 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sm8150_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *camnoc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const camnoc_virt_bcms[] = {
|
||||
&bcm_mm1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *camnoc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const camnoc_virt_nodes[] = {
|
||||
[MASTER_CAMNOC_HF0_UNCOMP] = &qxm_camnoc_hf0_uncomp,
|
||||
[MASTER_CAMNOC_HF1_UNCOMP] = &qxm_camnoc_hf1_uncomp,
|
||||
[MASTER_CAMNOC_SF_UNCOMP] = &qxm_camnoc_sf_uncomp,
|
||||
[SLAVE_CAMNOC_UNCOMP] = &qns_camnoc_uncomp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_camnoc_virt = {
|
||||
static const struct qcom_icc_desc sm8150_camnoc_virt = {
|
||||
.nodes = camnoc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
|
||||
.bcms = camnoc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(camnoc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *compute_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const compute_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
&bcm_co1,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *compute_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const compute_noc_nodes[] = {
|
||||
[MASTER_NPU] = &qnm_npu,
|
||||
[SLAVE_CDSP_MEM_NOC] = &qns_cdsp_mem_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_compute_noc = {
|
||||
static const struct qcom_icc_desc sm8150_compute_noc = {
|
||||
.nodes = compute_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(compute_noc_nodes),
|
||||
.bcms = compute_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(compute_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[MASTER_SPDM] = &qhm_spdm,
|
||||
[SNOC_CNOC_MAS] = &qnm_snoc,
|
||||
[MASTER_QDSS_DAP] = &xm_qdss_dap,
|
||||
@ -340,30 +340,30 @@ static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_CNOC] = &srvc_cnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_config_noc = {
|
||||
static const struct qcom_icc_desc sm8150_config_noc = {
|
||||
.nodes = config_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(config_noc_nodes),
|
||||
.bcms = config_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *dc_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const dc_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qhm_cnoc_dc_noc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
[SLAVE_GEM_NOC_CFG] = &qhs_memnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_dc_noc = {
|
||||
static const struct qcom_icc_desc sm8150_dc_noc = {
|
||||
.nodes = dc_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(dc_noc_nodes),
|
||||
.bcms = dc_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(dc_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh2,
|
||||
&bcm_sh3,
|
||||
@ -371,7 +371,7 @@ static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
&bcm_sh5,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_AMPSS_M0] = &acm_apps,
|
||||
[MASTER_GPU_TCU] = &acm_gpu_tcu,
|
||||
[MASTER_SYS_TCU] = &acm_sys_tcu,
|
||||
@ -391,54 +391,54 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_GEM_NOC] = &srvc_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_gem_noc = {
|
||||
static const struct qcom_icc_desc sm8150_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(gem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *ipa_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const ipa_virt_bcms[] = {
|
||||
&bcm_ip0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *ipa_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const ipa_virt_nodes[] = {
|
||||
[MASTER_IPA_CORE] = &ipa_core_master,
|
||||
[SLAVE_IPA_CORE] = &ipa_core_slave,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_ipa_virt = {
|
||||
static const struct qcom_icc_desc sm8150_ipa_virt = {
|
||||
.nodes = ipa_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(ipa_virt_nodes),
|
||||
.bcms = ipa_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(ipa_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_acv,
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI_CH0] = &ebi,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_mc_virt = {
|
||||
static const struct qcom_icc_desc sm8150_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm2,
|
||||
&bcm_mm3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &qhm_mnoc_cfg,
|
||||
[MASTER_CAMNOC_HF0] = &qxm_camnoc_hf0,
|
||||
[MASTER_CAMNOC_HF1] = &qxm_camnoc_hf1,
|
||||
@ -454,14 +454,14 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_MNOC] = &srvc_mnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_mmss_noc = {
|
||||
static const struct qcom_icc_desc sm8150_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn11,
|
||||
@ -475,7 +475,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn9,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
|
||||
[A1NOC_SNOC_MAS] = &qnm_aggre1_noc,
|
||||
[A2NOC_SNOC_MAS] = &qnm_aggre2_noc,
|
||||
@ -495,7 +495,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8150_system_noc = {
|
||||
static const struct qcom_icc_desc sm8150_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
|
@ -195,12 +195,12 @@ DEFINE_QBCM(bcm_sn9, "SN9", false, &qnm_gemnoc_pcie);
|
||||
DEFINE_QBCM(bcm_sn11, "SN11", false, &qnm_gemnoc);
|
||||
DEFINE_QBCM(bcm_sn12, "SN12", false, &qns_pcie_modem_mem_noc, &qns_pcie_mem_noc);
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
&bcm_qup0,
|
||||
&bcm_sn12,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_A1NOC_CFG] = &qhm_a1noc_cfg,
|
||||
[MASTER_QSPI_0] = &qhm_qspi,
|
||||
[MASTER_QUP_1] = &qhm_qup1,
|
||||
@ -216,20 +216,20 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sm8250_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_qup0,
|
||||
&bcm_sn12,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_A2NOC_CFG] = &qhm_a2noc_cfg,
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QUP_0] = &qhm_qup0,
|
||||
@ -246,35 +246,35 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sm8250_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *compute_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const compute_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
&bcm_co2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *compute_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const compute_noc_nodes[] = {
|
||||
[MASTER_NPU] = &qnm_npu,
|
||||
[SLAVE_CDSP_MEM_NOC] = &qns_cdsp_mem_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_compute_noc = {
|
||||
static const struct qcom_icc_desc sm8250_compute_noc = {
|
||||
.nodes = compute_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(compute_noc_nodes),
|
||||
.bcms = compute_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(compute_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[SNOC_CNOC_MAS] = &qnm_snoc,
|
||||
[MASTER_QDSS_DAP] = &xm_qdss_dap,
|
||||
[SLAVE_A1NOC_CFG] = &qhs_a1_noc_cfg,
|
||||
@ -329,37 +329,37 @@ static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_CNOC] = &srvc_cnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_config_noc = {
|
||||
static const struct qcom_icc_desc sm8250_config_noc = {
|
||||
.nodes = config_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(config_noc_nodes),
|
||||
.bcms = config_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *dc_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const dc_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qhm_cnoc_dc_noc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
[SLAVE_GEM_NOC_CFG] = &qhs_memnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_dc_noc = {
|
||||
static const struct qcom_icc_desc sm8250_dc_noc = {
|
||||
.nodes = dc_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(dc_noc_nodes),
|
||||
.bcms = dc_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(dc_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh2,
|
||||
&bcm_sh3,
|
||||
&bcm_sh4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_GPU_TCU] = &alm_gpu_tcu,
|
||||
[MASTER_SYS_TCU] = &alm_sys_tcu,
|
||||
[MASTER_AMPSS_M0] = &chm_apps,
|
||||
@ -379,54 +379,54 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_GEM_NOC] = &srvc_sys_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_gem_noc = {
|
||||
static const struct qcom_icc_desc sm8250_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(gem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *ipa_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const ipa_virt_bcms[] = {
|
||||
&bcm_ip0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *ipa_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const ipa_virt_nodes[] = {
|
||||
[MASTER_IPA_CORE] = &ipa_core_master,
|
||||
[SLAVE_IPA_CORE] = &ipa_core_slave,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_ipa_virt = {
|
||||
static const struct qcom_icc_desc sm8250_ipa_virt = {
|
||||
.nodes = ipa_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(ipa_virt_nodes),
|
||||
.bcms = ipa_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(ipa_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_acv,
|
||||
&bcm_mc0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI_CH0] = &ebi,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_mc_virt = {
|
||||
static const struct qcom_icc_desc sm8250_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm2,
|
||||
&bcm_mm3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CNOC_MNOC_CFG] = &qhm_mnoc_cfg,
|
||||
[MASTER_CAMNOC_HF] = &qnm_camnoc_hf,
|
||||
[MASTER_CAMNOC_ICP] = &qnm_camnoc_icp,
|
||||
@ -442,17 +442,17 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_MNOC] = &srvc_mnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_mmss_noc = {
|
||||
static const struct qcom_icc_desc sm8250_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *npu_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const npu_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *npu_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const npu_noc_nodes[] = {
|
||||
[MASTER_NPU_SYS] = &amm_npu_sys,
|
||||
[MASTER_NPU_CDP] = &amm_npu_sys_cdp_w,
|
||||
[MASTER_NPU_NOC_CFG] = &qhm_cfg,
|
||||
@ -468,14 +468,14 @@ static struct qcom_icc_node *npu_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_NPU_NOC] = &srvc_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_npu_noc = {
|
||||
static const struct qcom_icc_desc sm8250_npu_noc = {
|
||||
.nodes = npu_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(npu_noc_nodes),
|
||||
.bcms = npu_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(npu_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn11,
|
||||
@ -489,7 +489,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn9,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_SNOC_CFG] = &qhm_snoc_cfg,
|
||||
[A1NOC_SNOC_MAS] = &qnm_aggre1_noc,
|
||||
[A2NOC_SNOC_MAS] = &qnm_aggre2_noc,
|
||||
@ -511,7 +511,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8250_system_noc = {
|
||||
static const struct qcom_icc_desc sm8250_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
|
@ -198,10 +198,10 @@ DEFINE_QBCM(bcm_mm4_disp, "MM4", false, &qns_mem_noc_sf_disp);
|
||||
DEFINE_QBCM(bcm_mm5_disp, "MM5", false, &qxm_rot_disp);
|
||||
DEFINE_QBCM(bcm_sh0_disp, "SH0", false, &qns_llcc_disp);
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_QSPI_0] = &qhm_qspi,
|
||||
[MASTER_QUP_1] = &qhm_qup1,
|
||||
[MASTER_A1NOC_CFG] = &qnm_a1noc_cfg,
|
||||
@ -213,21 +213,21 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sm8350_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
&bcm_sn5,
|
||||
&bcm_sn6,
|
||||
&bcm_sn14,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QUP_0] = &qhm_qup0,
|
||||
[MASTER_QUP_2] = &qhm_qup2,
|
||||
@ -244,14 +244,14 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sm8350_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
&bcm_cn1,
|
||||
&bcm_cn2,
|
||||
@ -259,7 +259,7 @@ static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
&bcm_sn4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[MASTER_GEM_NOC_CNOC] = &qnm_gemnoc_cnoc,
|
||||
[MASTER_GEM_NOC_PCIE_SNOC] = &qnm_gemnoc_pcie,
|
||||
[MASTER_QDSS_DAP] = &xm_qdss_dap,
|
||||
@ -323,30 +323,30 @@ static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_config_noc = {
|
||||
static const struct qcom_icc_desc sm8350_config_noc = {
|
||||
.nodes = config_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(config_noc_nodes),
|
||||
.bcms = config_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *dc_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const dc_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *dc_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const dc_noc_nodes[] = {
|
||||
[MASTER_CNOC_DC_NOC] = &qnm_cnoc_dc_noc,
|
||||
[SLAVE_LLCC_CFG] = &qhs_llcc,
|
||||
[SLAVE_GEM_NOC_CFG] = &qns_gemnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_dc_noc = {
|
||||
static const struct qcom_icc_desc sm8350_dc_noc = {
|
||||
.nodes = dc_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(dc_noc_nodes),
|
||||
.bcms = dc_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(dc_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh2,
|
||||
&bcm_sh3,
|
||||
@ -354,7 +354,7 @@ static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
&bcm_sh0_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_GPU_TCU] = &alm_gpu_tcu,
|
||||
[MASTER_SYS_TCU] = &alm_sys_tcu,
|
||||
[MASTER_APPSS_PROC] = &chm_apps,
|
||||
@ -379,17 +379,17 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_LLCC_DISP] = &qns_llcc_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_gem_noc = {
|
||||
static const struct qcom_icc_desc sm8350_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(gem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const lpass_ag_noc_nodes[] = {
|
||||
[MASTER_CNOC_LPASS_AG_NOC] = &qhm_config_noc,
|
||||
[SLAVE_LPASS_CORE_CFG] = &qhs_lpass_core,
|
||||
[SLAVE_LPASS_LPI_CFG] = &qhs_lpass_lpi,
|
||||
@ -399,35 +399,35 @@ static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_LPASS_AG_NOC] = &srvc_niu_lpass_agnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_lpass_ag_noc = {
|
||||
static const struct qcom_icc_desc sm8350_lpass_ag_noc = {
|
||||
.nodes = lpass_ag_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
|
||||
.bcms = lpass_ag_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(lpass_ag_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_acv,
|
||||
&bcm_mc0,
|
||||
&bcm_acv_disp,
|
||||
&bcm_mc0_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI1] = &ebi,
|
||||
[MASTER_LLCC_DISP] = &llcc_mc_disp,
|
||||
[SLAVE_EBI1_DISP] = &ebi_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_mc_virt = {
|
||||
static const struct qcom_icc_desc sm8350_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm4,
|
||||
@ -438,7 +438,7 @@ static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
&bcm_mm5_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CAMNOC_HF] = &qnm_camnoc_hf,
|
||||
[MASTER_CAMNOC_ICP] = &qnm_camnoc_icp,
|
||||
[MASTER_CAMNOC_SF] = &qnm_camnoc_sf,
|
||||
@ -459,40 +459,40 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_MNOC_SF_MEM_NOC_DISP] = &qns_mem_noc_sf_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_mmss_noc = {
|
||||
static const struct qcom_icc_desc sm8350_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *nsp_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const nsp_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
&bcm_co3,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *nsp_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const nsp_noc_nodes[] = {
|
||||
[MASTER_CDSP_NOC_CFG] = &qhm_nsp_noc_config,
|
||||
[MASTER_CDSP_PROC] = &qxm_nsp,
|
||||
[SLAVE_CDSP_MEM_NOC] = &qns_nsp_gemnoc,
|
||||
[SLAVE_SERVICE_NSP_NOC] = &service_nsp_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_compute_noc = {
|
||||
static const struct qcom_icc_desc sm8350_compute_noc = {
|
||||
.nodes = nsp_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(nsp_noc_nodes),
|
||||
.bcms = nsp_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(nsp_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn2,
|
||||
&bcm_sn7,
|
||||
&bcm_sn8,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
|
||||
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
|
||||
[MASTER_SNOC_CFG] = &qnm_snoc_cfg,
|
||||
@ -503,7 +503,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_SNOC] = &srvc_snoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8350_system_noc = {
|
||||
static const struct qcom_icc_desc sm8350_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
|
@ -1526,10 +1526,10 @@ static struct qcom_icc_bcm bcm_sh1_disp = {
|
||||
.nodes = { &qnm_pcie_disp },
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre1_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre1_noc_nodes[] = {
|
||||
[MASTER_QSPI_0] = &qhm_qspi,
|
||||
[MASTER_QUP_1] = &qhm_qup1,
|
||||
[MASTER_A1NOC_CFG] = &qnm_a1noc_cfg,
|
||||
@ -1540,18 +1540,18 @@ static struct qcom_icc_node *aggre1_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_aggre1_noc = {
|
||||
static const struct qcom_icc_desc sm8450_aggre1_noc = {
|
||||
.nodes = aggre1_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
|
||||
.bcms = aggre1_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *aggre2_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
|
||||
&bcm_ce0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const aggre2_noc_nodes[] = {
|
||||
[MASTER_QDSS_BAM] = &qhm_qdss_bam,
|
||||
[MASTER_QUP_0] = &qhm_qup0,
|
||||
[MASTER_QUP_2] = &qhm_qup2,
|
||||
@ -1567,20 +1567,20 @@ static struct qcom_icc_node *aggre2_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_aggre2_noc = {
|
||||
static const struct qcom_icc_desc sm8450_aggre2_noc = {
|
||||
.nodes = aggre2_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
|
||||
.bcms = aggre2_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *clk_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const clk_virt_bcms[] = {
|
||||
&bcm_qup0,
|
||||
&bcm_qup1,
|
||||
&bcm_qup2,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *clk_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const clk_virt_nodes[] = {
|
||||
[MASTER_QUP_CORE_0] = &qup0_core_master,
|
||||
[MASTER_QUP_CORE_1] = &qup1_core_master,
|
||||
[MASTER_QUP_CORE_2] = &qup2_core_master,
|
||||
@ -1589,18 +1589,18 @@ static struct qcom_icc_node *clk_virt_nodes[] = {
|
||||
[SLAVE_QUP_CORE_2] = &qup2_core_slave,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_clk_virt = {
|
||||
static const struct qcom_icc_desc sm8450_clk_virt = {
|
||||
.nodes = clk_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(clk_virt_nodes),
|
||||
.bcms = clk_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(clk_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *config_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const config_noc_bcms[] = {
|
||||
&bcm_cn0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const config_noc_nodes[] = {
|
||||
[MASTER_GEM_NOC_CNOC] = &qnm_gemnoc_cnoc,
|
||||
[MASTER_GEM_NOC_PCIE_SNOC] = &qnm_gemnoc_pcie,
|
||||
[SLAVE_AHB2PHY_SOUTH] = &qhs_ahb2phy0,
|
||||
@ -1658,21 +1658,21 @@ static struct qcom_icc_node *config_noc_nodes[] = {
|
||||
[SLAVE_TCU] = &xs_sys_tcu_cfg,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_config_noc = {
|
||||
static const struct qcom_icc_desc sm8450_config_noc = {
|
||||
.nodes = config_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(config_noc_nodes),
|
||||
.bcms = config_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(config_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *gem_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const gem_noc_bcms[] = {
|
||||
&bcm_sh0,
|
||||
&bcm_sh1,
|
||||
&bcm_sh0_disp,
|
||||
&bcm_sh1_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const gem_noc_nodes[] = {
|
||||
[MASTER_GPU_TCU] = &alm_gpu_tcu,
|
||||
[MASTER_SYS_TCU] = &alm_sys_tcu,
|
||||
[MASTER_APPSS_PROC] = &chm_apps,
|
||||
@ -1693,17 +1693,17 @@ static struct qcom_icc_node *gem_noc_nodes[] = {
|
||||
[SLAVE_LLCC_DISP] = &qns_llcc_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_gem_noc = {
|
||||
static const struct qcom_icc_desc sm8450_gem_noc = {
|
||||
.nodes = gem_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(gem_noc_nodes),
|
||||
.bcms = gem_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(gem_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = {
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const lpass_ag_noc_nodes[] = {
|
||||
[MASTER_CNOC_LPASS_AG_NOC] = &qhm_config_noc,
|
||||
[MASTER_LPASS_PROC] = &qxm_lpass_dsp,
|
||||
[SLAVE_LPASS_CORE_CFG] = &qhs_lpass_core,
|
||||
@ -1715,42 +1715,42 @@ static struct qcom_icc_node *lpass_ag_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_LPASS_AG_NOC] = &srvc_niu_lpass_agnoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_lpass_ag_noc = {
|
||||
static const struct qcom_icc_desc sm8450_lpass_ag_noc = {
|
||||
.nodes = lpass_ag_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
|
||||
.bcms = lpass_ag_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(lpass_ag_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mc_virt_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mc_virt_bcms[] = {
|
||||
&bcm_acv,
|
||||
&bcm_mc0,
|
||||
&bcm_acv_disp,
|
||||
&bcm_mc0_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mc_virt_nodes[] = {
|
||||
static struct qcom_icc_node * const mc_virt_nodes[] = {
|
||||
[MASTER_LLCC] = &llcc_mc,
|
||||
[SLAVE_EBI1] = &ebi,
|
||||
[MASTER_LLCC_DISP] = &llcc_mc_disp,
|
||||
[SLAVE_EBI1_DISP] = &ebi_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_mc_virt = {
|
||||
static const struct qcom_icc_desc sm8450_mc_virt = {
|
||||
.nodes = mc_virt_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mc_virt_nodes),
|
||||
.bcms = mc_virt_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mc_virt_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *mmss_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
|
||||
&bcm_mm0,
|
||||
&bcm_mm1,
|
||||
&bcm_mm0_disp,
|
||||
&bcm_mm1_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const mmss_noc_nodes[] = {
|
||||
[MASTER_CAMNOC_HF] = &qnm_camnoc_hf,
|
||||
[MASTER_CAMNOC_ICP] = &qnm_camnoc_icp,
|
||||
[MASTER_CAMNOC_SF] = &qnm_camnoc_sf,
|
||||
@ -1771,36 +1771,36 @@ static struct qcom_icc_node *mmss_noc_nodes[] = {
|
||||
[SLAVE_MNOC_SF_MEM_NOC_DISP] = &qns_mem_noc_sf_disp,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_mmss_noc = {
|
||||
static const struct qcom_icc_desc sm8450_mmss_noc = {
|
||||
.nodes = mmss_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(mmss_noc_nodes),
|
||||
.bcms = mmss_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(mmss_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *nsp_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const nsp_noc_bcms[] = {
|
||||
&bcm_co0,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *nsp_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const nsp_noc_nodes[] = {
|
||||
[MASTER_CDSP_NOC_CFG] = &qhm_nsp_noc_config,
|
||||
[MASTER_CDSP_PROC] = &qxm_nsp,
|
||||
[SLAVE_CDSP_MEM_NOC] = &qns_nsp_gemnoc,
|
||||
[SLAVE_SERVICE_NSP_NOC] = &service_nsp_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_nsp_noc = {
|
||||
static const struct qcom_icc_desc sm8450_nsp_noc = {
|
||||
.nodes = nsp_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(nsp_noc_nodes),
|
||||
.bcms = nsp_noc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(nsp_noc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *pcie_anoc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const pcie_anoc_bcms[] = {
|
||||
&bcm_sn7,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *pcie_anoc_nodes[] = {
|
||||
static struct qcom_icc_node * const pcie_anoc_nodes[] = {
|
||||
[MASTER_PCIE_ANOC_CFG] = &qnm_pcie_anoc_cfg,
|
||||
[MASTER_PCIE_0] = &xm_pcie3_0,
|
||||
[MASTER_PCIE_1] = &xm_pcie3_1,
|
||||
@ -1808,14 +1808,14 @@ static struct qcom_icc_node *pcie_anoc_nodes[] = {
|
||||
[SLAVE_SERVICE_PCIE_ANOC] = &srvc_pcie_aggre_noc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_pcie_anoc = {
|
||||
static const struct qcom_icc_desc sm8450_pcie_anoc = {
|
||||
.nodes = pcie_anoc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(pcie_anoc_nodes),
|
||||
.bcms = pcie_anoc_bcms,
|
||||
.num_bcms = ARRAY_SIZE(pcie_anoc_bcms),
|
||||
};
|
||||
|
||||
static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
static struct qcom_icc_bcm * const system_noc_bcms[] = {
|
||||
&bcm_sn0,
|
||||
&bcm_sn1,
|
||||
&bcm_sn2,
|
||||
@ -1823,7 +1823,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
|
||||
&bcm_sn4,
|
||||
};
|
||||
|
||||
static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
static struct qcom_icc_node * const system_noc_nodes[] = {
|
||||
[MASTER_GIC_AHB] = &qhm_gic,
|
||||
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
|
||||
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
|
||||
@ -1836,7 +1836,7 @@ static struct qcom_icc_node *system_noc_nodes[] = {
|
||||
[SLAVE_SERVICE_SNOC] = &srvc_snoc,
|
||||
};
|
||||
|
||||
static struct qcom_icc_desc sm8450_system_noc = {
|
||||
static const struct qcom_icc_desc sm8450_system_noc = {
|
||||
.nodes = system_noc_nodes,
|
||||
.num_nodes = ARRAY_SIZE(system_noc_nodes),
|
||||
.bcms = system_noc_bcms,
|
||||
@ -1848,7 +1848,7 @@ static int qnoc_probe(struct platform_device *pdev)
|
||||
const struct qcom_icc_desc *desc;
|
||||
struct icc_onecell_data *data;
|
||||
struct icc_provider *provider;
|
||||
struct qcom_icc_node **qnodes;
|
||||
struct qcom_icc_node * const *qnodes;
|
||||
struct qcom_icc_provider *qp;
|
||||
struct icc_node *node;
|
||||
size_t num_nodes, i;
|
||||
|
@ -182,4 +182,11 @@
|
||||
#define SLAVE_MNOC_SF_MEM_NOC_DISPLAY 3
|
||||
#define SLAVE_MNOC_HF_MEM_NOC_DISPLAY 4
|
||||
|
||||
#define MASTER_QUP_CORE_0 0
|
||||
#define MASTER_QUP_CORE_1 1
|
||||
#define MASTER_QUP_CORE_2 2
|
||||
#define SLAVE_QUP_CORE_0 3
|
||||
#define SLAVE_QUP_CORE_1 4
|
||||
#define SLAVE_QUP_CORE_2 5
|
||||
|
||||
#endif
|
||||
|
232
include/dt-bindings/interconnect/qcom,sc8280xp.h
Normal file
232
include/dt-bindings/interconnect/qcom,sc8280xp.h
Normal file
@ -0,0 +1,232 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022, Linaro Ltd.
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H
|
||||
#define __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H
|
||||
|
||||
/* aggre1_noc */
|
||||
#define MASTER_QSPI_0 0
|
||||
#define MASTER_QUP_1 1
|
||||
#define MASTER_QUP_2 2
|
||||
#define MASTER_A1NOC_CFG 3
|
||||
#define MASTER_IPA 4
|
||||
#define MASTER_EMAC_1 5
|
||||
#define MASTER_SDCC_4 6
|
||||
#define MASTER_UFS_MEM 7
|
||||
#define MASTER_USB3_0 8
|
||||
#define MASTER_USB3_1 9
|
||||
#define MASTER_USB3_MP 10
|
||||
#define MASTER_USB4_0 11
|
||||
#define MASTER_USB4_1 12
|
||||
#define SLAVE_A1NOC_SNOC 13
|
||||
#define SLAVE_USB_NOC_SNOC 14
|
||||
#define SLAVE_SERVICE_A1NOC 15
|
||||
|
||||
/* aggre2_noc */
|
||||
#define MASTER_QDSS_BAM 0
|
||||
#define MASTER_QUP_0 1
|
||||
#define MASTER_A2NOC_CFG 2
|
||||
#define MASTER_CRYPTO 3
|
||||
#define MASTER_SENSORS_PROC 4
|
||||
#define MASTER_SP 5
|
||||
#define MASTER_EMAC 6
|
||||
#define MASTER_PCIE_0 7
|
||||
#define MASTER_PCIE_1 8
|
||||
#define MASTER_PCIE_2A 9
|
||||
#define MASTER_PCIE_2B 10
|
||||
#define MASTER_PCIE_3A 11
|
||||
#define MASTER_PCIE_3B 12
|
||||
#define MASTER_PCIE_4 13
|
||||
#define MASTER_QDSS_ETR 14
|
||||
#define MASTER_SDCC_2 15
|
||||
#define MASTER_UFS_CARD 16
|
||||
#define SLAVE_A2NOC_SNOC 17
|
||||
#define SLAVE_ANOC_PCIE_GEM_NOC 18
|
||||
#define SLAVE_SERVICE_A2NOC 19
|
||||
|
||||
/* clk_virt */
|
||||
#define MASTER_IPA_CORE 0
|
||||
#define MASTER_QUP_CORE_0 1
|
||||
#define MASTER_QUP_CORE_1 2
|
||||
#define MASTER_QUP_CORE_2 3
|
||||
#define SLAVE_IPA_CORE 4
|
||||
#define SLAVE_QUP_CORE_0 5
|
||||
#define SLAVE_QUP_CORE_1 6
|
||||
#define SLAVE_QUP_CORE_2 7
|
||||
|
||||
/* config_noc */
|
||||
#define MASTER_GEM_NOC_CNOC 0
|
||||
#define MASTER_GEM_NOC_PCIE_SNOC 1
|
||||
#define SLAVE_AHB2PHY_0 2
|
||||
#define SLAVE_AHB2PHY_1 3
|
||||
#define SLAVE_AHB2PHY_2 4
|
||||
#define SLAVE_AOSS 5
|
||||
#define SLAVE_APPSS 6
|
||||
#define SLAVE_CAMERA_CFG 7
|
||||
#define SLAVE_CLK_CTL 8
|
||||
#define SLAVE_CDSP_CFG 9
|
||||
#define SLAVE_CDSP1_CFG 10
|
||||
#define SLAVE_RBCPR_CX_CFG 11
|
||||
#define SLAVE_RBCPR_MMCX_CFG 12
|
||||
#define SLAVE_RBCPR_MX_CFG 13
|
||||
#define SLAVE_CPR_NSPCX 14
|
||||
#define SLAVE_CRYPTO_0_CFG 15
|
||||
#define SLAVE_CX_RDPM 16
|
||||
#define SLAVE_DCC_CFG 17
|
||||
#define SLAVE_DISPLAY_CFG 18
|
||||
#define SLAVE_DISPLAY1_CFG 19
|
||||
#define SLAVE_EMAC_CFG 20
|
||||
#define SLAVE_EMAC1_CFG 21
|
||||
#define SLAVE_GFX3D_CFG 22
|
||||
#define SLAVE_HWKM 23
|
||||
#define SLAVE_IMEM_CFG 24
|
||||
#define SLAVE_IPA_CFG 25
|
||||
#define SLAVE_IPC_ROUTER_CFG 26
|
||||
#define SLAVE_LPASS 27
|
||||
#define SLAVE_MX_RDPM 28
|
||||
#define SLAVE_MXC_RDPM 29
|
||||
#define SLAVE_PCIE_0_CFG 30
|
||||
#define SLAVE_PCIE_1_CFG 31
|
||||
#define SLAVE_PCIE_2A_CFG 32
|
||||
#define SLAVE_PCIE_2B_CFG 33
|
||||
#define SLAVE_PCIE_3A_CFG 34
|
||||
#define SLAVE_PCIE_3B_CFG 35
|
||||
#define SLAVE_PCIE_4_CFG 36
|
||||
#define SLAVE_PCIE_RSC_CFG 37
|
||||
#define SLAVE_PDM 38
|
||||
#define SLAVE_PIMEM_CFG 39
|
||||
#define SLAVE_PKA_WRAPPER_CFG 40
|
||||
#define SLAVE_PMU_WRAPPER_CFG 41
|
||||
#define SLAVE_QDSS_CFG 42
|
||||
#define SLAVE_QSPI_0 43
|
||||
#define SLAVE_QUP_0 44
|
||||
#define SLAVE_QUP_1 45
|
||||
#define SLAVE_QUP_2 46
|
||||
#define SLAVE_SDCC_2 47
|
||||
#define SLAVE_SDCC_4 48
|
||||
#define SLAVE_SECURITY 49
|
||||
#define SLAVE_SMMUV3_CFG 50
|
||||
#define SLAVE_SMSS_CFG 51
|
||||
#define SLAVE_SPSS_CFG 52
|
||||
#define SLAVE_TCSR 53
|
||||
#define SLAVE_TLMM 54
|
||||
#define SLAVE_UFS_CARD_CFG 55
|
||||
#define SLAVE_UFS_MEM_CFG 56
|
||||
#define SLAVE_USB3_0 57
|
||||
#define SLAVE_USB3_1 58
|
||||
#define SLAVE_USB3_MP 59
|
||||
#define SLAVE_USB4_0 60
|
||||
#define SLAVE_USB4_1 61
|
||||
#define SLAVE_VENUS_CFG 62
|
||||
#define SLAVE_VSENSE_CTRL_CFG 63
|
||||
#define SLAVE_VSENSE_CTRL_R_CFG 64
|
||||
#define SLAVE_A1NOC_CFG 65
|
||||
#define SLAVE_A2NOC_CFG 66
|
||||
#define SLAVE_ANOC_PCIE_BRIDGE_CFG 67
|
||||
#define SLAVE_DDRSS_CFG 68
|
||||
#define SLAVE_CNOC_MNOC_CFG 69
|
||||
#define SLAVE_SNOC_CFG 70
|
||||
#define SLAVE_SNOC_SF_BRIDGE_CFG 71
|
||||
#define SLAVE_IMEM 72
|
||||
#define SLAVE_PIMEM 73
|
||||
#define SLAVE_SERVICE_CNOC 74
|
||||
#define SLAVE_PCIE_0 75
|
||||
#define SLAVE_PCIE_1 76
|
||||
#define SLAVE_PCIE_2A 77
|
||||
#define SLAVE_PCIE_2B 78
|
||||
#define SLAVE_PCIE_3A 79
|
||||
#define SLAVE_PCIE_3B 80
|
||||
#define SLAVE_PCIE_4 81
|
||||
#define SLAVE_QDSS_STM 82
|
||||
#define SLAVE_SMSS 83
|
||||
#define SLAVE_TCU 84
|
||||
|
||||
/* dc_noc */
|
||||
#define MASTER_CNOC_DC_NOC 0
|
||||
#define SLAVE_LLCC_CFG 1
|
||||
#define SLAVE_GEM_NOC_CFG 2
|
||||
|
||||
/* gem_noc */
|
||||
#define MASTER_GPU_TCU 0
|
||||
#define MASTER_PCIE_TCU 1
|
||||
#define MASTER_SYS_TCU 2
|
||||
#define MASTER_APPSS_PROC 3
|
||||
#define MASTER_COMPUTE_NOC 4
|
||||
#define MASTER_COMPUTE_NOC_1 5
|
||||
#define MASTER_GEM_NOC_CFG 6
|
||||
#define MASTER_GFX3D 7
|
||||
#define MASTER_MNOC_HF_MEM_NOC 8
|
||||
#define MASTER_MNOC_SF_MEM_NOC 9
|
||||
#define MASTER_ANOC_PCIE_GEM_NOC 10
|
||||
#define MASTER_SNOC_GC_MEM_NOC 11
|
||||
#define MASTER_SNOC_SF_MEM_NOC 12
|
||||
#define SLAVE_GEM_NOC_CNOC 13
|
||||
#define SLAVE_LLCC 14
|
||||
#define SLAVE_GEM_NOC_PCIE_CNOC 15
|
||||
#define SLAVE_SERVICE_GEM_NOC_1 16
|
||||
#define SLAVE_SERVICE_GEM_NOC_2 17
|
||||
#define SLAVE_SERVICE_GEM_NOC 18
|
||||
|
||||
/* lpass_ag_noc */
|
||||
#define MASTER_CNOC_LPASS_AG_NOC 0
|
||||
#define MASTER_LPASS_PROC 1
|
||||
#define SLAVE_LPASS_CORE_CFG 2
|
||||
#define SLAVE_LPASS_LPI_CFG 3
|
||||
#define SLAVE_LPASS_MPU_CFG 4
|
||||
#define SLAVE_LPASS_TOP_CFG 5
|
||||
#define SLAVE_LPASS_SNOC 6
|
||||
#define SLAVE_SERVICES_LPASS_AML_NOC 7
|
||||
#define SLAVE_SERVICE_LPASS_AG_NOC 8
|
||||
|
||||
/* mc_virt */
|
||||
#define MASTER_LLCC 0
|
||||
#define SLAVE_EBI1 1
|
||||
|
||||
/*mmss_noc */
|
||||
#define MASTER_CAMNOC_HF 0
|
||||
#define MASTER_MDP0 1
|
||||
#define MASTER_MDP1 2
|
||||
#define MASTER_MDP_CORE1_0 3
|
||||
#define MASTER_MDP_CORE1_1 4
|
||||
#define MASTER_CNOC_MNOC_CFG 5
|
||||
#define MASTER_ROTATOR 6
|
||||
#define MASTER_ROTATOR_1 7
|
||||
#define MASTER_VIDEO_P0 8
|
||||
#define MASTER_VIDEO_P1 9
|
||||
#define MASTER_VIDEO_PROC 10
|
||||
#define MASTER_CAMNOC_ICP 11
|
||||
#define MASTER_CAMNOC_SF 12
|
||||
#define SLAVE_MNOC_HF_MEM_NOC 13
|
||||
#define SLAVE_MNOC_SF_MEM_NOC 14
|
||||
#define SLAVE_SERVICE_MNOC 15
|
||||
|
||||
/* nspa_noc */
|
||||
#define MASTER_CDSP_NOC_CFG 0
|
||||
#define MASTER_CDSP_PROC 1
|
||||
#define SLAVE_CDSP_MEM_NOC 2
|
||||
#define SLAVE_NSP_XFR 3
|
||||
#define SLAVE_SERVICE_NSP_NOC 4
|
||||
|
||||
/* nspb_noc */
|
||||
#define MASTER_CDSPB_NOC_CFG 0
|
||||
#define MASTER_CDSP_PROC_B 1
|
||||
#define SLAVE_CDSPB_MEM_NOC 2
|
||||
#define SLAVE_NSPB_XFR 3
|
||||
#define SLAVE_SERVICE_NSPB_NOC 4
|
||||
|
||||
/* system_noc */
|
||||
#define MASTER_A1NOC_SNOC 0
|
||||
#define MASTER_A2NOC_SNOC 1
|
||||
#define MASTER_USB_NOC_SNOC 2
|
||||
#define MASTER_LPASS_ANOC 3
|
||||
#define MASTER_SNOC_CFG 4
|
||||
#define MASTER_PIMEM 5
|
||||
#define MASTER_GIC 6
|
||||
#define SLAVE_SNOC_GEM_NOC_GC 7
|
||||
#define SLAVE_SNOC_GEM_NOC_SF 8
|
||||
#define SLAVE_SERVICE_SNOC 9
|
||||
|
||||
#endif
|
67
include/dt-bindings/interconnect/qcom,sdx65.h
Normal file
67
include/dt-bindings/interconnect/qcom,sdx65.h
Normal file
@ -0,0 +1,67 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
|
||||
/*
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDX65_H
|
||||
#define __DT_BINDINGS_INTERCONNECT_QCOM_SDX65_H
|
||||
|
||||
#define MASTER_LLCC 0
|
||||
#define SLAVE_EBI1 1
|
||||
|
||||
#define MASTER_TCU_0 0
|
||||
#define MASTER_SNOC_GC_MEM_NOC 1
|
||||
#define MASTER_APPSS_PROC 2
|
||||
#define SLAVE_LLCC 3
|
||||
#define SLAVE_MEM_NOC_SNOC 4
|
||||
#define SLAVE_MEM_NOC_PCIE_SNOC 5
|
||||
|
||||
#define MASTER_AUDIO 0
|
||||
#define MASTER_BLSP_1 1
|
||||
#define MASTER_QDSS_BAM 2
|
||||
#define MASTER_QPIC 3
|
||||
#define MASTER_SNOC_CFG 4
|
||||
#define MASTER_SPMI_FETCHER 5
|
||||
#define MASTER_ANOC_SNOC 6
|
||||
#define MASTER_IPA 7
|
||||
#define MASTER_MEM_NOC_SNOC 8
|
||||
#define MASTER_MEM_NOC_PCIE_SNOC 9
|
||||
#define MASTER_CRYPTO 10
|
||||
#define MASTER_IPA_PCIE 11
|
||||
#define MASTER_PCIE_0 12
|
||||
#define MASTER_QDSS_ETR 13
|
||||
#define MASTER_SDCC_1 14
|
||||
#define MASTER_USB3 15
|
||||
#define SLAVE_AOSS 16
|
||||
#define SLAVE_APPSS 17
|
||||
#define SLAVE_AUDIO 18
|
||||
#define SLAVE_BLSP_1 19
|
||||
#define SLAVE_CLK_CTL 20
|
||||
#define SLAVE_CRYPTO_0_CFG 21
|
||||
#define SLAVE_CNOC_DDRSS 22
|
||||
#define SLAVE_ECC_CFG 23
|
||||
#define SLAVE_IMEM_CFG 24
|
||||
#define SLAVE_IPA_CFG 25
|
||||
#define SLAVE_CNOC_MSS 26
|
||||
#define SLAVE_PCIE_PARF 27
|
||||
#define SLAVE_PDM 28
|
||||
#define SLAVE_PRNG 29
|
||||
#define SLAVE_QDSS_CFG 30
|
||||
#define SLAVE_QPIC 31
|
||||
#define SLAVE_SDCC_1 32
|
||||
#define SLAVE_SNOC_CFG 33
|
||||
#define SLAVE_SPMI_FETCHER 34
|
||||
#define SLAVE_SPMI_VGI_COEX 35
|
||||
#define SLAVE_TCSR 36
|
||||
#define SLAVE_TLMM 37
|
||||
#define SLAVE_USB3 38
|
||||
#define SLAVE_USB3_PHY_CFG 39
|
||||
#define SLAVE_ANOC_SNOC 40
|
||||
#define SLAVE_SNOC_MEM_NOC_GC 41
|
||||
#define SLAVE_IMEM 42
|
||||
#define SLAVE_SERVICE_SNOC 43
|
||||
#define SLAVE_PCIE_0 44
|
||||
#define SLAVE_QDSS_STM 45
|
||||
#define SLAVE_TCU 46
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user