[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <685adda2-e76f-e2c4-2f58-04fb4b06c8cf@kernel.org>
Date: Tue, 28 Jun 2022 20:58:24 +0300
From: Georgi Djakov <djakov@...nel.org>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>, shawnguo@...nel.org,
s.hauer@...gutronix.de, festevam@...il.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, abel.vesa@....com,
abailon@...libre.com, l.stach@...gutronix.de,
laurent.pinchart@...asonboard.com, marex@...x.de,
paul.elder@...asonboard.com, Markus.Niebel@...tq-group.com,
aford173@...il.com
Cc: kernel@...gutronix.de, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-imx@....com,
abelvesa@...nel.org, Peng Fan <peng.fan@....com>
Subject: Re: [PATCH V2 9/9] interconnect: imx: Add platform driver for imx8mp
On 16.06.22 10:33, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@....com>
>
> Add a platform driver for the i.MX8MP SoC describing bus topology, based
> on internal documentation.
>
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---
> drivers/interconnect/imx/Kconfig | 4 +
> drivers/interconnect/imx/Makefile | 2 +
> drivers/interconnect/imx/imx8mp.c | 259 ++++++++++++++++++++++++++++++
> 3 files changed, 265 insertions(+)
> create mode 100644 drivers/interconnect/imx/imx8mp.c
>
[..]
> +static int imx8mp_icc_probe(struct platform_device *pdev)
> +{
> + return imx_icc_register(pdev, nodes, ARRAY_SIZE(nodes), noc_setting_nodes);
> +}
> +
> +static int imx8mp_icc_remove(struct platform_device *pdev)
> +{
> + return imx_icc_unregister(pdev);
> +}
> +
> +static struct platform_driver imx8mp_icc_driver = {
> + .probe = imx8mp_icc_probe,
> + .remove = imx8mp_icc_remove,
> + .driver = {
> + .name = "imx8mp-interconnect",
> + },
> +};
> +
> +module_platform_driver(imx8mp_icc_driver);
> +MODULE_AUTHOR("Peng Fan <peng.fan@....com>");
> +MODULE_LICENSE("GPL v2");
Nit: According to Documentation/process/license-rules.rst this should be just "GPL".
> +MODULE_ALIAS("platform:imx8mp-interconnect");
Thanks,
Georgi
Powered by blists - more mailing lists