Linux Audio

Check our new training course

Yocto / OpenEmbedded training

Mar 24-27, 2025, special US time zones
Register
Loading...
Note: File does not exist in v5.9.
 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
10static int imx93_src_probe(struct platform_device *pdev)
11{
12	return devm_of_platform_populate(&pdev->dev);
13}
14
15static const struct of_device_id imx93_src_ids[] = {
16	{ .compatible = "fsl,imx93-src" },
17	{ }
18};
19MODULE_DEVICE_TABLE(of, imx93_src_ids);
20
21static struct platform_driver imx93_src_driver = {
22	.driver = {
23		.name	= "imx93_src",
24		.owner	= THIS_MODULE,
25		.of_match_table = imx93_src_ids,
26	},
27	.probe = imx93_src_probe,
28};
29module_platform_driver(imx93_src_driver);
30
31MODULE_AUTHOR("Peng Fan <peng.fan@nxp.com>");
32MODULE_DESCRIPTION("NXP i.MX93 src driver");
33MODULE_LICENSE("GPL");