Re: [PATCH 8/8] interconnect: imx: Add platform driver for imx8mp

From: Krzysztof Kozlowski
Date: Wed Jun 01 2022 - 07:56:52 EST


On 01/06/2022 11:41, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> Add a platform driver for the i.MX8MP SoC describing bus topology, based
> on internal documentation.
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>

> +
> +static struct platform_driver imx8mp_icc_driver = {
> + .probe = imx8mp_icc_probe,
> + .remove = imx8mp_icc_remove,
> + .driver = {
> + .name = "imx8mp-interconnect",

How do you match/bind the driver?

> + },
> +};
> +
> +module_platform_driver(imx8mp_icc_driver);
> +MODULE_AUTHOR("Peng Fan <peng.fan@xxxxxxx>");
> +MODULE_LICENSE("GPL v2");
> +MODULE_ALIAS("platform:imx8mp-interconnect");
> diff --git a/include/dt-bindings/interconnect/fsl,imx8mp.h b/include/dt-bindings/interconnect/fsl,imx8mp.h
> new file mode 100644

Bindings are separate patch.

> index 000000000000..732547577c76
> --- /dev/null
> +++ b/include/dt-bindings/interconnect/fsl,imx8mp.h
> @@ -0,0 +1,59 @@
> +/* SPDX-License-Identifier: GPL-2.0 */

Dual license.

> +/*
> + * Interconnect framework driver for i.MX SoC
> + *
> + * Copyright 2022 NXP
> + * Peng Fan <peng.fan@xxxxxxx>
> + */
> +



Best regards,
Krzysztof