Skip to content

Commit 44798fe

Browse files
Xu Yangwilldeacon
authored andcommitted
perf: imx_perf: add support for i.MX91 platform
This will add compatible and identifier for i.MX91 platform. Signed-off-by: Xu Yang <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 0263a1e commit 44798fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/perf/fsl_imx9_ddr_perf.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ struct ddr_pmu {
8181
int id;
8282
};
8383

84+
static const struct imx_ddr_devtype_data imx91_devtype_data = {
85+
.identifier = "imx91",
86+
};
87+
8488
static const struct imx_ddr_devtype_data imx93_devtype_data = {
8589
.identifier = "imx93",
8690
};
@@ -100,6 +104,7 @@ static inline bool is_imx95(struct ddr_pmu *pmu)
100104
}
101105

102106
static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
107+
{ .compatible = "fsl,imx91-ddr-pmu", .data = &imx91_devtype_data },
103108
{ .compatible = "fsl,imx93-ddr-pmu", .data = &imx93_devtype_data },
104109
{ .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data },
105110
{ /* sentinel */ }

0 commit comments

Comments
 (0)