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. Compared to V1, the changes are as below: - Separate the i.MX and i.MX SCU common pinctrl driver to 2 patches; - Support building i.MX and i.MX SCU common pinctrl driver as module too. 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 | 18 +++++++++--------- 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, 45 insertions(+), 51 deletions(-) -- 2.7.4