From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26CD1C4727F for ; Tue, 29 Sep 2020 13:05:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1C9C20848 for ; Tue, 29 Sep 2020 13:05:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fUrzP0OY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728671AbgI2NF1 (ORCPT ); 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-Google-Smtp-Source: ABdhPJy/X+0WMwLJnnaZKPuQshR6BsIoPrQETBygBLitZ3v7V9F2iF7XKoEqTKr05CyXJA2Nt3Dv7vr56hcwRJbw9jg= 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