mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
soc: qcom: llcc: Add configuration data for X1E80100
Add LLCC configuration data for X1E80100 SoC. Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com> Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20231117095315.2087-3-quic_sibis@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
e9ceb595c2
commit
b3cf69a435
@ -419,6 +419,29 @@ static const struct llcc_slice_config qdu1000_data_8ch[] = {
|
|||||||
{ LLCC_WRCACHE, 31, 512, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 },
|
{ LLCC_WRCACHE, 31, 512, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct llcc_slice_config x1e80100_data[] = {
|
||||||
|
{LLCC_CPUSS, 1, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_VIDSC0, 2, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_AUDIO, 6, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_CMPT, 10, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_GPUHTW, 11, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_CAMEXP2, 19, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_CAMEXP3, 20, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
{LLCC_CAMEXP4, 21, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
|
};
|
||||||
|
|
||||||
static const struct llcc_edac_reg_offset llcc_v1_edac_reg_offset = {
|
static const struct llcc_edac_reg_offset llcc_v1_edac_reg_offset = {
|
||||||
.trp_ecc_error_status0 = 0x20344,
|
.trp_ecc_error_status0 = 0x20344,
|
||||||
.trp_ecc_error_status1 = 0x20348,
|
.trp_ecc_error_status1 = 0x20348,
|
||||||
@ -647,6 +670,16 @@ static const struct qcom_llcc_config sm8650_cfg[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct qcom_llcc_config x1e80100_cfg[] = {
|
||||||
|
{
|
||||||
|
.sct_data = x1e80100_data,
|
||||||
|
.size = ARRAY_SIZE(x1e80100_data),
|
||||||
|
.need_llcc_cfg = true,
|
||||||
|
.reg_offset = llcc_v2_1_reg_offset,
|
||||||
|
.edac_reg_offset = &llcc_v2_1_edac_reg_offset,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
static const struct qcom_sct_config qdu1000_cfgs = {
|
static const struct qcom_sct_config qdu1000_cfgs = {
|
||||||
.llcc_config = qdu1000_cfg,
|
.llcc_config = qdu1000_cfg,
|
||||||
.num_config = ARRAY_SIZE(qdu1000_cfg),
|
.num_config = ARRAY_SIZE(qdu1000_cfg),
|
||||||
@ -717,6 +750,11 @@ static const struct qcom_sct_config sm8650_cfgs = {
|
|||||||
.num_config = ARRAY_SIZE(sm8650_cfg),
|
.num_config = ARRAY_SIZE(sm8650_cfg),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct qcom_sct_config x1e80100_cfgs = {
|
||||||
|
.llcc_config = x1e80100_cfg,
|
||||||
|
.num_config = ARRAY_SIZE(x1e80100_cfg),
|
||||||
|
};
|
||||||
|
|
||||||
static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER;
|
static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1292,6 +1330,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
|
|||||||
{ .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfgs },
|
{ .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfgs },
|
||||||
{ .compatible = "qcom,sm8550-llcc", .data = &sm8550_cfgs },
|
{ .compatible = "qcom,sm8550-llcc", .data = &sm8550_cfgs },
|
||||||
{ .compatible = "qcom,sm8650-llcc", .data = &sm8650_cfgs },
|
{ .compatible = "qcom,sm8650-llcc", .data = &sm8650_cfgs },
|
||||||
|
{ .compatible = "qcom,x1e80100-llcc", .data = &x1e80100_cfgs },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, qcom_llcc_of_match);
|
MODULE_DEVICE_TABLE(of, qcom_llcc_of_match);
|
||||||
|
Loading…
Reference in New Issue
Block a user