From patchwork Wed Jun 24 06:23:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 11622363 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E420860D for ; Wed, 24 Jun 2020 06:37:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE02F207DD for ; Wed, 24 Jun 2020 06:37:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MiuHPmsx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE02F207DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DZSVzAbsijbPMvPvzIHVZK501ulcKQvh/adbMs2dz9M=; b=MiuHPmsx+xr5xBg1iA8W1E61Tn Lj1Z1zNoLXBeLVXmUIkyEzQeOrA2s/N+Sm2Rffb3REP5W+CDE1CjSohnShaqMsRkp5mlLK+L/0IYU LFQ3PIi3cYyd6N7jBsYViQ9TALluun57GtS8na6kIJjs5gEpkPLGQOMyqAgsh9Nc0rGeAOrMLauSg zfUShRWC4IHuOBDp+oG9ByUkEHCQ5TpYR9Jx9MHpEAmTOBi80ur1OE8D5P9A+zjIu4q30BStsqDiO 6J1f92KCjHp5JNFBmiaTjtD98rvjiDzbDm8KZQSOT+MvFYxGicxd6+Wzdwzsm8byxDpbuwhb/GlpO 3b31mQjw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnz0V-0007j0-P7; Wed, 24 Jun 2020 06:35:39 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnz0S-0007gi-J8 for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 06:35:37 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E3FF1200F3D; Wed, 24 Jun 2020 08:35:32 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 59F4B200172; Wed, 24 Jun 2020 08:35:28 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 38419402A6; Wed, 24 Jun 2020 14:35:22 +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 Subject: [PATCH V6 0/9] Support i.MX8 SoCs pinctrl drivers built as module Date: Wed, 24 Jun 2020 14:23:55 +0800 Message-Id: <1592979844-18833-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [92.121.34.21 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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, i.MX common pinctrl driver and i.MX SCU common pinctrl driver as still built-in. Compared to V5, the changes are as below: - Keep i.MX common pinctrl libary built in, ONLY i.MX SoC pinctrl driver support built as module. Anson Huang (9): pinctrl: imx: Support i.MX8 SoCs pinctrl driver built as module pinctrl: imx: scu: Support i.MX8 SCU SoCs pinctrl driver built 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 | 14 +++++++------- drivers/pinctrl/freescale/pinctrl-imx.c | 2 ++ drivers/pinctrl/freescale/pinctrl-imx8dxl.c | 5 +++++ 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 | 5 +++++ drivers/pinctrl/freescale/pinctrl-imx8qxp.c | 5 +++++ drivers/pinctrl/freescale/pinctrl-scu.c | 4 ++++ 10 files changed, 52 insertions(+), 7 deletions(-) Reviewed-by: Dong Aisheng