Skip to content

Commit e4d9e8f

Browse files
Xu Yangwilldeacon
authored andcommitted
perf: imx_perf: add support for i.MX94 platform
Add compatible string and related devtype for i.MX94 platform. Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Frank Li <[email protected]> Signed-off-by: Xu Yang <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent f8cc023 commit e4d9e8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/perf/fsl_imx9_ddr_perf.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ static const struct imx_ddr_devtype_data imx93_devtype_data = {
104104
.filter_ver = DDR_PERF_AXI_FILTER_V1
105105
};
106106

107+
static const struct imx_ddr_devtype_data imx94_devtype_data = {
108+
.identifier = "imx94",
109+
.filter_ver = DDR_PERF_AXI_FILTER_V2
110+
};
111+
107112
static const struct imx_ddr_devtype_data imx95_devtype_data = {
108113
.identifier = "imx95",
109114
.filter_ver = DDR_PERF_AXI_FILTER_V2
@@ -122,6 +127,7 @@ static inline bool axi_filter_v2(struct ddr_pmu *pmu)
122127
static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
123128
{ .compatible = "fsl,imx91-ddr-pmu", .data = &imx91_devtype_data },
124129
{ .compatible = "fsl,imx93-ddr-pmu", .data = &imx93_devtype_data },
130+
{ .compatible = "fsl,imx94-ddr-pmu", .data = &imx94_devtype_data },
125131
{ .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data },
126132
{ /* sentinel */ }
127133
};

0 commit comments

Comments
 (0)