Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Xu Yang and committed by
Will Deacon
e4d9e8fb f8cc0232

+6
+6
drivers/perf/fsl_imx9_ddr_perf.c
··· 104 104 .filter_ver = DDR_PERF_AXI_FILTER_V1 105 105 }; 106 106 107 + static const struct imx_ddr_devtype_data imx94_devtype_data = { 108 + .identifier = "imx94", 109 + .filter_ver = DDR_PERF_AXI_FILTER_V2 110 + }; 111 + 107 112 static const struct imx_ddr_devtype_data imx95_devtype_data = { 108 113 .identifier = "imx95", 109 114 .filter_ver = DDR_PERF_AXI_FILTER_V2 ··· 127 122 static const struct of_device_id imx_ddr_pmu_dt_ids[] = { 128 123 { .compatible = "fsl,imx91-ddr-pmu", .data = &imx91_devtype_data }, 129 124 { .compatible = "fsl,imx93-ddr-pmu", .data = &imx93_devtype_data }, 125 + { .compatible = "fsl,imx94-ddr-pmu", .data = &imx94_devtype_data }, 130 126 { .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data }, 131 127 { /* sentinel */ } 132 128 };