forked from mirrors/linux
		
	perf: imx_perf: add support for i.MX91 platform
This will add compatible and identifier for i.MX91 platform. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20240924061251.3387850-2-xu.yang_2@nxp.com Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
		
							parent
							
								
									0263a1e4f5
								
							
						
					
					
						commit
						44798fe136
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -81,6 +81,10 @@ struct ddr_pmu { | ||||||
| 	int id; | 	int id; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  | static const struct imx_ddr_devtype_data imx91_devtype_data = { | ||||||
|  | 	.identifier = "imx91", | ||||||
|  | }; | ||||||
|  | 
 | ||||||
| static const struct imx_ddr_devtype_data imx93_devtype_data = { | static const struct imx_ddr_devtype_data imx93_devtype_data = { | ||||||
| 	.identifier = "imx93", | 	.identifier = "imx93", | ||||||
| }; | }; | ||||||
|  | @ -100,6 +104,7 @@ static inline bool is_imx95(struct ddr_pmu *pmu) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static const struct of_device_id imx_ddr_pmu_dt_ids[] = { | 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,imx93-ddr-pmu", .data = &imx93_devtype_data }, | ||||||
| 	{ .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data }, | 	{ .compatible = "fsl,imx95-ddr-pmu", .data = &imx95_devtype_data }, | ||||||
| 	{ /* sentinel */ } | 	{ /* sentinel */ } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Xu Yang
						Xu Yang