clk-imx8qxp.c (48ee4835b73c48590d05a54730dc8037ebd39d3b) clk-imx8qxp.c (036a4b4b4dfa6c56806b71daf8589044ff7aeeaa)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2018-2021 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
5 */
6
7#include <linux/clk-provider.h>
8#include <linux/err.h>

--- 281 unchanged lines hidden (view full) ---

290 if (ret)
291 imx_clk_scu_unregister();
292
293 return ret;
294}
295
296static const struct of_device_id imx8qxp_match[] = {
297 { .compatible = "fsl,scu-clk", },
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2018-2021 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
5 */
6
7#include <linux/clk-provider.h>
8#include <linux/err.h>

--- 281 unchanged lines hidden (view full) ---

290 if (ret)
291 imx_clk_scu_unregister();
292
293 return ret;
294}
295
296static const struct of_device_id imx8qxp_match[] = {
297 { .compatible = "fsl,scu-clk", },
298 { .compatible = "fsl,imx8dxl-clk", &imx_clk_scu_rsrc_imx8dxl, },
298 { .compatible = "fsl,imx8qxp-clk", &imx_clk_scu_rsrc_imx8qxp, },
299 { .compatible = "fsl,imx8qm-clk", &imx_clk_scu_rsrc_imx8qm, },
300 { /* sentinel */ }
301};
302
303static struct platform_driver imx8qxp_clk_driver = {
304 .driver = {
305 .name = "imx8qxp-clk",
306 .of_match_table = imx8qxp_match,
307 .suppress_bind_attrs = true,
308 },
309 .probe = imx8qxp_clk_probe,
310};
311module_platform_driver(imx8qxp_clk_driver);
312
313MODULE_AUTHOR("Aisheng Dong <aisheng.dong@nxp.com>");
314MODULE_DESCRIPTION("NXP i.MX8QXP clock driver");
315MODULE_LICENSE("GPL v2");
299 { .compatible = "fsl,imx8qxp-clk", &imx_clk_scu_rsrc_imx8qxp, },
300 { .compatible = "fsl,imx8qm-clk", &imx_clk_scu_rsrc_imx8qm, },
301 { /* sentinel */ }
302};
303
304static struct platform_driver imx8qxp_clk_driver = {
305 .driver = {
306 .name = "imx8qxp-clk",
307 .of_match_table = imx8qxp_match,
308 .suppress_bind_attrs = true,
309 },
310 .probe = imx8qxp_clk_probe,
311};
312module_platform_driver(imx8qxp_clk_driver);
313
314MODULE_AUTHOR("Aisheng Dong <aisheng.dong@nxp.com>");
315MODULE_DESCRIPTION("NXP i.MX8QXP clock driver");
316MODULE_LICENSE("GPL v2");