linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/9] Support i.MX8 SoCs pinctrl drivers built as module
@ 2020-06-10  7:57 Anson Huang
  2020-06-10  7:57 ` [PATCH V4 1/9] pinctrl: imx: Support building SCU pinctrl driver " Anson Huang
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Anson Huang @ 2020-06-10  7:57 UTC (permalink / raw)
  To: aisheng.dong, festevam, shawnguo, stefan, kernel, linus.walleij,
	s.hauer, linux-gpio, linux-kernel, linux-arm-kernel
  Cc: Linux-imx

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 V3, the changes are as below:
	- change the config dependency back to original;
	- use function callbacks for SCU related functions, and all drivers
	  using SCU pinctrl driver need to initialize the function callbacks,
	  pinctrl-imx.c will check the SCU function callback and call it when
	  it is valid, then no build issue when PINCTRL_IMX is built in and
	  PINCTRL_IMX_SCU is built as module.

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           | 19 +++++-----
 drivers/pinctrl/freescale/pinctrl-imx.c     | 22 ++++++-----
 drivers/pinctrl/freescale/pinctrl-imx.h     | 57 ++++++++++++-----------------
 drivers/pinctrl/freescale/pinctrl-imx8dxl.c | 12 +++---
 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  | 12 +++---
 drivers/pinctrl/freescale/pinctrl-imx8qxp.c | 12 +++---
 drivers/pinctrl/freescale/pinctrl-scu.c     |  6 +++
 11 files changed, 86 insertions(+), 93 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-06-11  8:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10  7:57 [PATCH V4 0/9] Support i.MX8 SoCs pinctrl drivers built as module Anson Huang
2020-06-10  7:57 ` [PATCH V4 1/9] pinctrl: imx: Support building SCU pinctrl driver " Anson Huang
2020-06-10  7:57 ` [PATCH V4 2/9] pinctrl: imx: Support building i.MX " Anson Huang
2020-06-10  7:57 ` [PATCH V4 3/9] pinctrl: imx8mm: Support building " Anson Huang
2020-06-10  7:57 ` [PATCH V4 4/9] pinctrl: imx8mn: " Anson Huang
2020-06-11  8:42   ` Daniel Baluta
2020-06-11  8:48     ` Anson Huang
2020-06-11  8:55       ` Daniel Baluta
2020-06-10  7:57 ` [PATCH V4 5/9] pinctrl: imx8mq: " Anson Huang
2020-06-10  7:57 ` [PATCH V4 6/9] pinctrl: imx8mp: " Anson Huang
2020-06-10  7:57 ` [PATCH V4 7/9] pinctrl: imx8qxp: " Anson Huang
2020-06-10  7:57 ` [PATCH V4 8/9] pinctrl: imx8qm: " Anson Huang
2020-06-10  7:57 ` [PATCH V4 9/9] pinctrl: imx8dxl: " Anson Huang
2020-06-11  8:34 ` [PATCH V4 0/9] Support i.MX8 SoCs pinctrl drivers built " Daniel Baluta
2020-06-11  8:44   ` Anson Huang
2020-06-11  8:49     ` Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).