Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp569348ybg; Tue, 9 Jun 2020 07:34:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC/mge85Tz57Z979OVP01+RIZXgx1GUQmh3zrZh8c+8t2nGY4fnADvIXKeyNc0QkgiHPyf X-Received: by 2002:aa7:d054:: with SMTP id n20mr26694160edo.344.1591713273216; Tue, 09 Jun 2020 07:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591713273; cv=none; d=google.com; s=arc-20160816; b=z1O3ypAy7ErH0rIwKgYWv4TFIgAIj0YTVmaaSz7jLQsJIcRp/5vkG7/GD/vsS1tLEQ m2oTNgXzzjJkoDMIRrATwPteR0CCTefoVn287YZ3c49QAVyhXBhmzIqV5kGTM8JfaHFw W1XedoHIlCnQ0mBt6dXZd1TnAtxQwG+z5b2+HMmg29YoAhcjP8fc1Jy1h7wkdZO7ApuT 2RpUFmDOfglYC0qq217iKrkQ8TRh99hTadzbTQjBe6OqslkaQqq9iHBrlNjBFU7Y0CyV D9HImw6w2mBH5C0Eb6nn4KRblNJvOC023dmbRpvrvJFe8Bp1yQGmgVSbGYqv3qsmY74q Axig== 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=tfDtrto6Oa/5t8t5lU/m9IcbT0dSwg3kuxxowVfLkYo=; b=Tl8XJb4vJiYGN+m5V+vDJsxws1T3sKwDal+JNsvBz/Jdc8dv32Uz7oyCS4Up5t4B+K 11i3+W2AFmGagBgrgYTHOrmuoLd5oij7ZAUnnai3Zpj2dwriJzQwXo9dplMbuvP9GJlY GXz6SfW9amzHVsvGh6rzokIW9iq72t8sn0XbIZyZSqHx82brI0g41Q2RtVLZXbjRAFMB dn8nFSmMVXXvHoTYICryF+S0rd+j3RgF9jbatXEDouEkJVPR9Wx+KyVgbqMnjl1eK/36 ElO6syDGYOx4NZRoJuyUW8JNtvl7CCtUgNtCbwZHRhaFS+gjnsW9OiZB8VjHg+tAUVd8 uQIg== 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 n2si5359049edt.481.2020.06.09.07.34.09; Tue, 09 Jun 2020 07:34:33 -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 S1730429AbgFIOcP (ORCPT + 99 others); Tue, 9 Jun 2020 10:32:15 -0400 Received: from inva020.nxp.com ([92.121.34.13]:49066 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728440AbgFIOcP (ORCPT ); Tue, 9 Jun 2020 10:32:15 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 82FB01A13DD; Tue, 9 Jun 2020 16:32:12 +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 E7C9E1A13CA; Tue, 9 Jun 2020 16:32:07 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6D4BD40307; Tue, 9 Jun 2020 22:32:02 +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 V3 0/9] Support i.MX8 SoCs pinctrl drivers built as module Date: Tue, 9 Jun 2020 22:21:16 +0800 Message-Id: <1591712485-20609-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 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