Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2259771pxk; Sat, 5 Sep 2020 15:02:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvb2d5oNGjKhDrWSrLD0Q3FQsrHNgJ3O7n5dz2ittU57k9sB5Cb2a6Pbd8qrWiPcCM3Uq7 X-Received: by 2002:a05:6402:b72:: with SMTP id cb18mr14548000edb.299.1599343379039; Sat, 05 Sep 2020 15:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599343379; cv=none; d=google.com; s=arc-20160816; b=0+Imbhars6/M/Txmv0XLfzxTrCamac92o3silU6qzf02Sj6ffHwLUcGPN0uRpGyGtt SXaEAE7LqZqHGEO9qLvVDMQ/Ha2mnXUghcEkIq55hBV5uEKVpA0reBC0jJtwVVn2kYWO H7dBodc5hxNKLGDWl5+besNRR/tNomStmmJBrkiDJOOqQ7Yfe17xYm98Cgd3s4qfXOrb 2ucZjVVURxQ2BIY7/rq3hv4HyZK0SCnQGayotNPRXGptCyVRu+uXdBGmYq/coIQyoZ31 tdPzNoCmz6cRGanL7k2ROVCj1yK4iLIQEevuCEPEjeGw07oLB/EO4foEwfx0qI0n7LVn wHJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eBsAdEmBHDFS8pL7cHu0Kb66DC7M5ytsDE75Jhva3hM=; b=ElzgQtU47bHCrsq+1H/c1j+/R47zJBPRUVLi77ED5a3lIRgEUuljvgkohgLd3p+tYt 4HisV0hECDWzdqFFeP9SML4wlnQK+4OTwSMN5XPDLb5L1XzydUHQoBTq/jt1U7lkt/Ps bsB0i/9QZwQmJCdCla9Ivao+FOLmXy/pAuGQ0ybgLlsdz/JwHLNEcFzrJYRQeT4ZkDlG i70Yk8Hr3pdLqbbRScJOoxqzJ9rDIUatW0oKQMOYkgTQ57QIKY/AIgQDChRYmDGJ+sh7 XKJ4BcQqbC9EE2xx/iS4fha+V94FdRnES/kD8HRCU+yCU0qL1uUAyHACPfgpC5/I4Tjo VbWw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s22si6349046edc.481.2020.09.05.15.02.35; Sat, 05 Sep 2020 15:02:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbgIEWB6 (ORCPT + 99 others); Sat, 5 Sep 2020 18:01:58 -0400 Received: from gloria.sntech.de ([185.11.138.130]:33744 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728423AbgIEWB5 (ORCPT ); Sat, 5 Sep 2020 18:01:57 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEgFv-0005hM-LW; Sun, 06 Sep 2020 00:01:55 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linus.walleij@linaro.org, Jianqun Xu Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jianqun Xu Subject: Re: [PATCH 1/6] pinctrl: rockchip: make driver be tristate module Date: Sun, 06 Sep 2020 00:01:55 +0200 Message-ID: <2671833.MsR7uBhjTv@diego> In-Reply-To: <20200831084753.7115-2-jay.xu@rock-chips.com> References: <20200831084753.7115-1-jay.xu@rock-chips.com> <20200831084753.7115-2-jay.xu@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 31. August 2020, 10:47:48 CEST schrieb Jianqun Xu: > Make pinctrl-rockchip driver to be tristate module, support to build as > a module, this is useful for GKI. > > Signed-off-by: Jianqun Xu Reviewed-by: Heiko Stuebner > --- > drivers/pinctrl/Kconfig | 2 +- > drivers/pinctrl/pinctrl-rockchip.c | 7 +++++++ > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > index 8828613c4e0e..dd4874e2ac67 100644 > --- a/drivers/pinctrl/Kconfig > +++ b/drivers/pinctrl/Kconfig > @@ -207,7 +207,7 @@ config PINCTRL_OXNAS > select MFD_SYSCON > > config PINCTRL_ROCKCHIP > - bool > + tristate "Rockchip gpio and pinctrl driver" > select PINMUX > select GENERIC_PINCONF > select GENERIC_IRQ_CHIP > diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c > index c07324d1f265..24dfc814dee1 100644 > --- a/drivers/pinctrl/pinctrl-rockchip.c > +++ b/drivers/pinctrl/pinctrl-rockchip.c > @@ -16,10 +16,12 @@ > */ > > #include > +#include > #include > #include > #include > #include > +#include > #include > #include > #include > @@ -4256,3 +4258,8 @@ static int __init rockchip_pinctrl_drv_register(void) > return platform_driver_register(&rockchip_pinctrl_driver); > } > postcore_initcall(rockchip_pinctrl_drv_register); > + > +MODULE_DESCRIPTION("ROCKCHIP Pin Controller Driver"); > +MODULE_LICENSE("GPL"); > +MODULE_ALIAS("platform:pinctrl-rockchip"); > +MODULE_DEVICE_TABLE(of, rockchip_pinctrl_dt_match); >