Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3778334pxk; Tue, 29 Sep 2020 06:09:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKJ1YHChyhNQvL+jB3+NSj1qI+Ryr6ugH2M2VEXHf+sxelFGosVISmgh+PcDPWPy2jwfX+ X-Received: by 2002:a1c:2cc2:: with SMTP id s185mr4686715wms.77.1601384981921; Tue, 29 Sep 2020 06:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601384981; cv=none; d=google.com; s=arc-20160816; b=W/ihACEtNzk9Afkq+Np575TQ1sAY/RINDgs3kTCY640Eub1gQURNxs3jHX5kr7UWaK LleKsjEQPnQVT8RQjrfr9/vk/gp1xCtA3ujmBumn7LMfbciG6WaN16WNEtpIEMj3iWL7 Zokoxt9CRunKLwt1YxjaLZ/gwmejALTYZYUTVmmWVtzl80COgOTa4OBvf9JM9d+QmOdv 2M6hqe0+RkIqs9R8Ve3STIbrSZ0OfyusRYqxwhyK+wCxt6eKVb9PKpiSh7rqkEcNy4js ZdDvEV2ZE1nP4Xa3vClRSXmnP157OdallndFgVk+vdQtEmEA5SgaG4xZXCdsHTuNE1ua Ld5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=x7PoE7dEYIPuVwlkZqO1LLEHQQKtt25v2DVlOMP6AHo=; b=RWAO6CQjKI9BwHAm9vSuAv8q3yX4NzKI8qtPupuZgZFbBdm9dgf5ZCTYiHE2X7h1/L uEwUcS1mzFb2jyh7EyCVRdgl2fBBcvPJNb/SXwDQ0hEMaUGdQkOILGzFmWAn62NH6fwl sorQ7rVSUI2G2cLQGY7pywWf8ZdcYulxpb0tU49vFbJS8HvCPkGbUXpBe1IsJrH/szXC uO064vMdWM5t7BzkBt02QSFPXrkY1bGqxjJjIKeVTEE1HGHGKnS36WXHHXODcnsolrZ7 FOePgX1uYFVaIGlHSyED+Oqbb3ZvCAKO1l6oYSQgVlrUDnPeIN1TNhSLAOr9Dlekt50x DRUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fUrzP0OY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si642159ejt.308.2020.09.29.06.08.53; Tue, 29 Sep 2020 06:09:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=fUrzP0OY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728431AbgI2NF1 (ORCPT + 99 others); Tue, 29 Sep 2020 09:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbgI2NF1 (ORCPT ); Tue, 29 Sep 2020 09:05:27 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D87C061755 for ; Tue, 29 Sep 2020 06:05:26 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id v23so3971956ljd.1 for ; Tue, 29 Sep 2020 06:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x7PoE7dEYIPuVwlkZqO1LLEHQQKtt25v2DVlOMP6AHo=; b=fUrzP0OYv9HgWhQEMMveAgcsP7oGj/RW2J167Cs+TZnEA0MmgxSrelrsBCojKwOaa6 C7IaETPGB5R7hH9hQNXgG2HLmDPyF1O++WCdUdkUGtbGYOUD5d0KCW0yIDcHJcfBtEat MN/soPKcLbN4alynV/3Oq+K/7mWC0qHK4SI11ExFZsTAFvCK4Rr5iEnJKQmICmPDJeO7 o8qQ2wEJduVhtV1ohJ1kkxbunGkigCjg6s1Nvw4CBjNLc5DToEuXlxXRhEH1JBrJGQp8 tbpuiHeV9873EhxbWuAY+kf+fDFSBk81xTK2W77hnbMtlTAq48VilmGB7saaXhZG/eXm TXfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x7PoE7dEYIPuVwlkZqO1LLEHQQKtt25v2DVlOMP6AHo=; b=mEQ+TrfGA/PJhkiic3zvjRP9H8xo+LE3Og0hTBbjtm4GGPopTU97gw2fXoFdfuiudY VGGf5x+a8Dhu+gN7RvOQZRWENdoGw0oN1Wzrvtm/+5/VtzsKWZ+OQ0RUE6/MxO9/Rn5O Nnh7zPeArqxQ/jYA0r+6pZYoq1g4U6veEUtJD3x6Uw+FjD5u5MGTfMTKgacMWkD4lkWg AgNPZNdfYVlRJM767mvahYFfYLUwUFCFrz5Hk5C15xiTUuFEYIogUmy58fBb39f7W/0k sDBBRw/rJMXW6Mpqceqpq2TtYdaNcIhbNTRenkJg5Naut6n3lACgjLT4KKSEx6p6diZy bPHw== X-Gm-Message-State: AOAM531/HwTtRWazONGkB/4sflNx+GaIrC+7+UKhsm+nHsOZz3vfQaQl gM0kn4EPOaZJa5wrlogGU/yRdLvxYJ4/EkYYVow6sA== X-Received: by 2002:a2e:a177:: with SMTP id u23mr1110925ljl.104.1601384725264; Tue, 29 Sep 2020 06:05:25 -0700 (PDT) MIME-Version: 1.0 References: <1600320829-1453-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1600320829-1453-1-git-send-email-Anson.Huang@nxp.com> From: Linus Walleij Date: Tue, 29 Sep 2020 15:05:14 +0200 Message-ID: Subject: Re: [PATCH V3 1/4] gpio: mxc: Support module build To: Anson Huang Cc: Russell King , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Catalin Marinas , Will Deacon , Bartosz Golaszewski , oleksandr.suvorov@toradex.com, Peng Fan , Andreas Kemnade , Hans Verkuil , Olof Johansson , Krzysztof Kozlowski , Geert Uytterhoeven , prabhakar.mahadev-lad.rj@bp.renesas.com, Dong Aisheng , Lubomir Rintel , Joel Stanley , Bjorn Andersson , Leo Li , Vinod Koul , Michael Walle , Linux ARM , "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , NXP Linux Team Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 7:40 AM Anson Huang wrote: > Change config to tristate, add module device table, module author, > description and license to support module build for i.MX GPIO driver. > > As this is a SoC GPIO module, it provides common functions for most > of the peripheral devices, such as GPIO pins control, secondary > interrupt controller for GPIO pins IRQ etc., without GPIO driver, most > of the peripheral devices will NOT work properly, so GPIO module is > similar with clock, pinctrl driver that should be loaded ONCE and > never unloaded. > > Since MXC GPIO driver needs to have init function to register syscore > ops once, here still use subsys_initcall(), NOT module_platform_driver(). > > Signed-off-by: Anson Huang This patch (1) applied to the GPIO tree. Please apply the rest through the ARM SoC tree! Yours, Linus Walleij