Re: [PATCH] soc: imx-scu: Support module build

2020-06-19 Thread Arnd Bergmann
On Fri, Jun 19, 2020 at 9:40 AM Anson Huang wrote: > > Subject: RE: [PATCH] soc: imx-scu: Support module build > > > > > From: Arnd Bergmann Sent: Thursday, June 18, 2020 3:21 PM > > > I see that there is indeed a driver for the device node in > > > d

RE: [PATCH] soc: imx-scu: Support module build

2020-06-19 Thread Anson Huang
> Subject: RE: [PATCH] soc: imx-scu: Support module build > > > From: Arnd Bergmann > > Sent: Thursday, June 18, 2020 3:21 PM > > > > On Wed, Jun 17, 2020 at 11:41 AM Anson Huang > > wrote: > > > > > > > > > &g

RE: [PATCH] soc: imx-scu: Support module build

2020-06-19 Thread Aisheng Dong
> From: Arnd Bergmann > Sent: Thursday, June 18, 2020 3:21 PM > > On Wed, Jun 17, 2020 at 11:41 AM Anson Huang > wrote: > > > > > > > > > I'm ok with the change. But I'm curious how can this module be > > > > autoloaded without MODULE_DEVICE_TABLE. > > > > Have you tested if it can work? > > >

Re: [PATCH] soc: imx-scu: Support module build

2020-06-18 Thread Arnd Bergmann
On Wed, Jun 17, 2020 at 11:41 AM Anson Huang wrote: > > > > > > I'm ok with the change. But I'm curious how can this module be > > > autoloaded without MODULE_DEVICE_TABLE. > > > Have you tested if it can work? > > > > > > > I ONLY tested the manual insmod, if want to support auto load, may need

RE: [PATCH] soc: imx-scu: Support module build

2020-06-17 Thread Anson Huang
> Subject: RE: [PATCH] soc: imx-scu: Support module build > > > > Subject: RE: [PATCH] soc: imx-scu: Support module build > > > > > From: Anson Huang > > > Sent: Wednesday, June 17, 2020 12:54 PM > > > > > > Change the configurati

RE: [PATCH] soc: imx-scu: Support module build

2020-06-17 Thread Anson Huang
> Subject: RE: [PATCH] soc: imx-scu: Support module build > > > From: Anson Huang > > Sent: Wednesday, June 17, 2020 12:54 PM > > > > Change the configuration type to tristate, add module description, > > author and license to support module build

RE: [PATCH] soc: imx-scu: Support module build

2020-06-17 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, June 17, 2020 12:54 PM > > Change the configuration type to tristate, add module description, author and > license to support module build. > > Signed-off-by: Anson Huang > --- > drivers/soc/imx/Kconfig | 2 +- > drivers/soc/imx/soc-imx-scu.c | 5