lkml.org 
[lkml]   [2022]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 8/8] interconnect: imx: Add platform driver for imx8mp
Date
> Subject: Re: [PATCH 8/8] interconnect: imx: Add platform driver for imx8mp
>
> On 01/06/2022 11:41, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > Add a platform driver for the i.MX8MP SoC describing bus topology,
> > based on internal documentation.
> >
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
>
> > +
> > +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?

drivers/devfreq/imx-bus.c will create a platform device
that match this driver. I have not posted the patch to add
imx8mp support in devfreq driver.

Thanks,
Peng.

>
> > + },
> > +};
> > +
> > +module_platform_driver(imx8mp_icc_driver);
> > +MODULE_AUTHOR("Peng Fan <peng.fan@nxp.com>");
> 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@nxp.com>
> > + */
> > +
>
>
>
> Best regards,
> Krzysztof
\
 
 \ /
  Last update: 2022-06-01 14:05    [W:2.795 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site