xref: /linux/drivers/soc/imx/imx93-src.c (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright 2022 NXP
4  */
5 
6 #include <linux/module.h>
7 #include <linux/of_platform.h>
8 #include <linux/platform_device.h>
9 
10 static int imx93_src_probe(struct platform_device *pdev)
11 {
12 	return devm_of_platform_populate(&pdev->dev);
13 }
14 
15 static const struct of_device_id imx93_src_ids[] = {
16 	{ .compatible = "fsl,imx93-src" },
17 	{ }
18 };
19 MODULE_DEVICE_TABLE(of, imx93_src_ids);
20 
21 static struct platform_driver imx93_src_driver = {
22 	.driver = {
23 		.name	= "imx93_src",
24 		.of_match_table = imx93_src_ids,
25 	},
26 	.probe = imx93_src_probe,
27 };
28 module_platform_driver(imx93_src_driver);
29 
30 MODULE_AUTHOR("Peng Fan <peng.fan@nxp.com>");
31 MODULE_DESCRIPTION("NXP i.MX93 src driver");
32 MODULE_LICENSE("GPL");
33