Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1237491ybg; Thu, 11 Jun 2020 04:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzc/kC1b/j80GGcp1GWIo19GDJtFVk3yEw5pIPJSZX482q3ex8ON3S2c0XNmre6jLCahgG X-Received: by 2002:a17:907:10d3:: with SMTP id rv19mr7781788ejb.327.1591876087451; Thu, 11 Jun 2020 04:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591876087; cv=none; d=google.com; s=arc-20160816; b=RA1dtNgMwab5er13ipGvzT7nXTCL0uD8d3ADKiAWUPd1hTFpfBj9+zhmfa+yLe95+5 66jveWXvdWWWfCymLFKbob5rr72QL1M73s10aYmhrSOkmEintr4WZPxXJPpubnqu7cqR KEfy8eSnrVOuvaR4wZgYx2Bw6SEYTJ2OSsBILAeV/rYXI4xmU4nVtXo5egb7ot+nEWT+ 1tQKCGQWunl+FU1XUi2UPo6g/zlvIqYYiR3iLnNOC7a7lbHBTda8RAiDhLeWMvs8wQGL u6Ak5I53Iyhn68VSDH7bE3O/AhAOANSXqqrg75h9VpotOmAot8WSMRBjHhXcdld6wmHV 3xmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=rdunRtY1w9Bsz3FO0os2vEhqekvscpKmQeoX11flFDg=; b=i92q0oy76cSQy/bWj27JInZzV7mcLZLyF4Ol3WjYDopo8V2Jm5JyqI12qED8vI/MqF WWdamkQC56w8lO2oWAml8Eodz1VqNzrKeAZqS9LlJ2AtBUNzdCU8fYAj6KnD49GG366u zOSDjPwbepng4cuIOf3grysfey5/iT1THfqrgFG3XhDvPHThAp4A5lR87/WL0mBhQqQR m/dwa4QjPjy31Uh4Ty1Ie18cdA/H4fyl1RJq4+dbk34GvReyxJ2gxVc1nsscCdCJolIK QXj7hU7MRGzt6LdpQvx7fM1dD431M51c4SzY/QTEWLNkqwQbLLsjfTzKT5ORLFD+Ggcy Z65Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si1758835ejk.51.2020.06.11.04.47.44; Thu, 11 Jun 2020 04:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727829AbgFKLpz (ORCPT + 99 others); Thu, 11 Jun 2020 07:45:55 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38354 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbgFKLpz (ORCPT ); Thu, 11 Jun 2020 07:45:55 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2D00A1A070E; Thu, 11 Jun 2020 13:45:54 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A0EFF1A06F6; Thu, 11 Jun 2020 13:45:49 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B8C024028F; Thu, 11 Jun 2020 19:45:43 +0800 (SGT) From: Anson Huang To: aisheng.dong@nxp.com, festevam@gmail.com, shawnguo@kernel.org, stefan@agner.ch, kernel@pengutronix.de, linus.walleij@linaro.org, s.hauer@pengutronix.de, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V5 0/9] Support i.MX8 SoCs pinctrl drivers built as module Date: Thu, 11 Jun 2020 19:34:46 +0800 Message-Id: <1591875295-19427-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 V4, the changes are as below: - remove unnecessary changes of replacing arch_initcall() with module_platform_driver() in each SoC pinctrl driver, to make sure no probe sequence change for built-in config. - add module author and description to each 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 | 25 ++++++++----- drivers/pinctrl/freescale/pinctrl-imx.h | 57 ++++++++++++----------------- drivers/pinctrl/freescale/pinctrl-imx8dxl.c | 8 ++++ drivers/pinctrl/freescale/pinctrl-imx8mm.c | 6 +++ drivers/pinctrl/freescale/pinctrl-imx8mn.c | 6 +++ drivers/pinctrl/freescale/pinctrl-imx8mp.c | 6 +++ drivers/pinctrl/freescale/pinctrl-imx8mq.c | 6 +++ drivers/pinctrl/freescale/pinctrl-imx8qm.c | 8 ++++ drivers/pinctrl/freescale/pinctrl-imx8qxp.c | 8 ++++ drivers/pinctrl/freescale/pinctrl-scu.c | 9 +++++ 11 files changed, 106 insertions(+), 52 deletions(-) -- 2.7.4