mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
perf: imx_perf: add support for i.MX94 platform
Add compatible string and related devtype for i.MX94 platform. Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
parent
f8cc02321b
commit
e4d9e8fb40
1 changed files with 6 additions and 0 deletions
|
|
@ -104,6 +104,11 @@ static const struct imx_ddr_devtype_data imx93_devtype_data = {
|
|||
.filter_ver = DDR_PERF_AXI_FILTER_V1
|
||||
};
|
||||
|
||||
static const struct imx_ddr_devtype_data imx94_devtype_data = {
|
||||
.identifier = "imx94",
|
||||
.filter_ver = DDR_PERF_AXI_FILTER_V2
|
||||
};
|
||||
|
||||
static const struct imx_ddr_devtype_data imx95_devtype_data = {
|
||||
.identifier = "imx95",
|
||||
.filter_ver = DDR_PERF_AXI_FILTER_V2
|
||||
|
|
@ -122,6 +127,7 @@ static inline bool axi_filter_v2(struct ddr_pmu *pmu)
|
|||
static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
|
||||
{ .compatible = "fsl,imx91-ddr-pmu", .data = &imx91_devtype_data },
|
||||
{ .compatible = "fsl,imx93-ddr-pmu", .data = &imx93_devtype_data },
|
||||
{ .compatible = "fsl,imx94-ddr-pmu", .data = &imx94_devtype_data },
|
||||
{ .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue