RE: [PATCH V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Anson Huang <Anson.Huang@xxxxxxx>
> Sent: Tuesday, June 9, 2020 10:21 PM
> 
> There are more and mroe requirements that SoC specific modules should be
> built as module in order to support generic kernel image, such as Android GKI
> concept.
> 
> This patch series supports i.MX8 SoCs pinctrl drivers to be built as module,
> including i.MX8MQ/MM/MN/MP/QXP/QM/DXL SoCs, and it also supports
> building i.MX common pinctrl driver and i.MX SCU common pinctrl driver as
> module.
> 

This patch series also changed the driver initcall level from arch_initcall to module_init.
Maybe you could provide some test information to help the reviewer to better understand
the change impact.

Regards
Aisheng

> Compared to V2, the changes are as below:
> 	- add "depends on OF" to PINCTRL_IMX to fix build error using x86
> randconfig;
> 	- change the config dependency of PINCTRL_IMX_SCU to support scenario
> of
> 	  building in PINCTRL_IMX while building PINCTRL_IMX_SCU as module,
> no other
> 	  good choice in my mind, if you have better idea without changing the
> driver
> 	  code, please advise.
> 
> Anson Huang (9):
>   pinctrl: imx: Support building SCU pinctrl driver as module
>   pinctrl: imx: Support building i.MX pinctrl driver as module
>   pinctrl: imx8mm: Support building as module
>   pinctrl: imx8mn: Support building as module
>   pinctrl: imx8mq: Support building as module
>   pinctrl: imx8mp: Support building as module
>   pinctrl: imx8qxp: Support building as module
>   pinctrl: imx8qm: Support building as module
>   pinctrl: imx8dxl: Support building as module
> 
>  drivers/pinctrl/freescale/Kconfig           | 27 ++++++++++++++-------------
>  drivers/pinctrl/freescale/pinctrl-imx.c     |  4 ++++
>  drivers/pinctrl/freescale/pinctrl-imx.h     |  2 +-
>  drivers/pinctrl/freescale/pinctrl-imx8dxl.c |  9 +++------
> drivers/pinctrl/freescale/pinctrl-imx8mm.c  | 10 ++++------
> drivers/pinctrl/freescale/pinctrl-imx8mn.c  | 10 ++++------
> drivers/pinctrl/freescale/pinctrl-imx8mp.c  | 10 ++++------
> drivers/pinctrl/freescale/pinctrl-imx8mq.c  |  9 ++++-----
> drivers/pinctrl/freescale/pinctrl-imx8qm.c  |  9 +++------
> drivers/pinctrl/freescale/pinctrl-imx8qxp.c |  9 +++------
>  drivers/pinctrl/freescale/pinctrl-scu.c     |  6 ++++++
>  11 files changed, 50 insertions(+), 55 deletions(-)
> 
> --
> 2.7.4





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux