Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1129818ybt; Wed, 1 Jul 2020 20:06:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsBigHw47tausTdQg4EgDFEGXnDSkJZQYwPGyn5qaknlvZ4OZNAaD3OJBvOR+NAZTrvIQx X-Received: by 2002:a05:6402:22f0:: with SMTP id dn16mr32841510edb.83.1593659176937; Wed, 01 Jul 2020 20:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593659176; cv=none; d=google.com; s=arc-20160816; b=Sz7UZa0es/e0vecOvr5m/8uq7seWZZK/+uFTQ4WREgosY9xyR+Ybp96EspOmkrwE0C sP0L9ZCOPMMmrhkXklwgnpwyNdRodAjtC6ZSlkseqicUKo0Jyx/rEx6Xde4gjS+eLiWR ecIeFz37tgHZUglR+u6KJ7FG82X3g4hlFDFjyc01fH5kTVkZJs+iz6k3Di9bvaoMBbsr LPDgVYcDijZiGnQZzMonuk21aKGPtwJNdiFglHD1o40XvBfFFlClcjwjTRMSV5NA30Bu 3S8tuqpV98w6P2NHXZMbCTbF6orWn/8/3JbHHPdeavWqWR6oRuOpXCQXpEBDVXnDcYGJ g3JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3toVj+DlYr/al+g77Ybu/jA4DumzzFaY/FqwBfqkKUw=; b=JgDFw9nGMVu2l++hphfxn9ZeTt1LdLpxYUhViQL4nMqn2PvgVDZ9r5ZgjuhdXzuesM mn7AteZXJoMAgogHo826rv6aunab1m3W0MwZT9luosccUoeuSuf7t/c4tZTniEVxUPCc PEr+lBEt594QIyT0Ee64h+LHtlRJj076JO3NglUxUj0RcMgzo9s6v3idcKtmdvzb1pQt utDMChBMrjaEhLMiXIYtSmKFwqwJ+tA/vXtc9vdp4O2OubbSLJjVkKrLJHn3CSZqObmR y+exXiyqS6RTHV+Ocxtno1x0Cuk5ALVfLtzVqA4Ar5f5SRdWH2cZQiSmQHfeWoh0vs6r Lj2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uzRG0fKq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u18si4692984ejz.388.2020.07.01.20.05.54; Wed, 01 Jul 2020 20:06:16 -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=@gmail.com header.s=20161025 header.b=uzRG0fKq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbgGBDFp (ORCPT + 99 others); Wed, 1 Jul 2020 23:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbgGBDFo (ORCPT ); Wed, 1 Jul 2020 23:05:44 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C500C08C5C1; Wed, 1 Jul 2020 20:05:44 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id w16so27344923ejj.5; Wed, 01 Jul 2020 20:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3toVj+DlYr/al+g77Ybu/jA4DumzzFaY/FqwBfqkKUw=; b=uzRG0fKqaSrG4lCeUzuXy8WkSg/PflMKlj7rtx/8MN1MXQIfr+iwBoXVVJxKKuKWBs 1itRhEBg3gqcwSf8WGAz6PboKGkvrBHLGQhMq9n/Oh/iChFK6E2qnwIulIm24PauOmtf 0WOTycX+ubYZb8AeavCPpxf8Gt5+OZBIbNz4PWy7h3kEh9Q45XJLMoHVYWcVqF6boItd OlYi3ow4vcM7mR/9KigpWgBlVgObEARbtIc3f9N2PcrkgJG6pQ0eHR7o1r0/jz7JmcxN cb4evG2UO9A1gmYZbkh/IvVHxBy+UuzGS389bqGctB7QH48KQTXjQ+Zf6j7X0HLWDrpJ fXIQ== 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=3toVj+DlYr/al+g77Ybu/jA4DumzzFaY/FqwBfqkKUw=; b=reG7x0C46CHx6ilIt1mfZRO/loAhhJF4DUHD+YOmkPW1Ki60yXD5VlKuMpQTg4JAgC 5edAH9Wf3O0aPrul8UROwNTb8hHpstSzN2+bKqE93x3HycBCpRSa76DYZZOubsc+yJ+e YriBikRCn937ghFahr1l8i4Ro/8L1/5V2qdM8G6RbGbdCKpQ6+XGDuUm8Da9saMZPjt2 sC/+phOfBh1QvG2MYkRBmpV2NPMe0QvXtVTDRxb4BcyVn/fs8+JZlVZIkDEXrtjdTkYK ZZoFxmzvFcRY4zzb5a49+T6Jj6kx4TWMxa7D+f8vrrZUVq+dPROn2vzheVmbNG4aqfn/ v/5w== X-Gm-Message-State: AOAM530CwDY5F5dysm8zkhh+bCSb8skEbko+wlc+5JKzH0LqJYdpzKYP suF+UNvkCvQ3Kch5C3pu0IhhH62eBv1ZxkMrato= X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr26899001ejw.170.1593659143151; Wed, 01 Jul 2020 20:05:43 -0700 (PDT) MIME-Version: 1.0 References: <1593656074-10092-1-git-send-email-Anson.Huang@nxp.com> <1593656074-10092-5-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1593656074-10092-5-git-send-email-Anson.Huang@nxp.com> From: Dong Aisheng Date: Thu, 2 Jul 2020 10:51:41 +0800 Message-ID: Subject: Re: [PATCH V4 4/5] clk: imx8m: Support module build To: Anson Huang Cc: Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Peng Fan , Arnd Bergmann , Abel Vesa , Dong Aisheng , Fugang Duan , Daniel Baluta , YueHaibing , Stephen Rothwell , linux-clk , open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , dl-linux-imx Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 2, 2020 at 10:18 AM Anson Huang wrote: > > Change configuration to "tristate", add module author, description > and license to support building i.MX8M SoCs clock driver as module. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng > --- > Changes since V3: > - add module author/description, and merge all i.MX8M SoCs patch into > one patch. > --- > drivers/clk/imx/Kconfig | 8 ++++---- > drivers/clk/imx/clk-imx8mm.c | 4 ++++ > drivers/clk/imx/clk-imx8mn.c | 4 ++++ > drivers/clk/imx/clk-imx8mp.c | 4 ++++ > drivers/clk/imx/clk-imx8mq.c | 4 ++++ > 5 files changed, 20 insertions(+), 4 deletions(-) > > diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig > index f6ddf76..1867111 100644 > --- a/drivers/clk/imx/Kconfig > +++ b/drivers/clk/imx/Kconfig > @@ -99,28 +99,28 @@ config CLK_VF610 > select MXC_CLK > > config CLK_IMX8MM > - bool "IMX8MM CCM Clock Driver" > + tristate "IMX8MM CCM Clock Driver" > depends on ARCH_MXC > select MXC_CLK > help > Build the driver for i.MX8MM CCM Clock Driver > > config CLK_IMX8MN > - bool "IMX8MN CCM Clock Driver" > + tristate "IMX8MN CCM Clock Driver" > depends on ARCH_MXC > select MXC_CLK > help > Build the driver for i.MX8MN CCM Clock Driver > > config CLK_IMX8MP > - bool "IMX8MP CCM Clock Driver" > + tristate "IMX8MP CCM Clock Driver" > depends on ARCH_MXC > select MXC_CLK > help > Build the driver for i.MX8MP CCM Clock Driver > > config CLK_IMX8MQ > - bool "IMX8MQ CCM Clock Driver" > + tristate "IMX8MQ CCM Clock Driver" > depends on ARCH_MXC > select MXC_CLK > help > diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c > index b793264..0de0be0 100644 > --- a/drivers/clk/imx/clk-imx8mm.c > +++ b/drivers/clk/imx/clk-imx8mm.c > @@ -657,3 +657,7 @@ static struct platform_driver imx8mm_clk_driver = { > }, > }; > module_platform_driver(imx8mm_clk_driver); > + > +MODULE_AUTHOR("Bai Ping "); > +MODULE_DESCRIPTION("NXP i.MX8MM clock driver"); > +MODULE_LICENSE("GPL v2"); > diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c > index 213cc37..e984de5 100644 > --- a/drivers/clk/imx/clk-imx8mn.c > +++ b/drivers/clk/imx/clk-imx8mn.c > @@ -608,3 +608,7 @@ static struct platform_driver imx8mn_clk_driver = { > }, > }; > module_platform_driver(imx8mn_clk_driver); > + > +MODULE_AUTHOR("Anson Huang "); > +MODULE_DESCRIPTION("NXP i.MX8MN clock driver"); > +MODULE_LICENSE("GPL v2"); > diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c > index ca74771..f3cedf2 100644 > --- a/drivers/clk/imx/clk-imx8mp.c > +++ b/drivers/clk/imx/clk-imx8mp.c > @@ -773,3 +773,7 @@ static struct platform_driver imx8mp_clk_driver = { > }, > }; > module_platform_driver(imx8mp_clk_driver); > + > +MODULE_AUTHOR("Anson Huang "); > +MODULE_DESCRIPTION("NXP i.MX8MP clock driver"); > +MODULE_LICENSE("GPL v2"); > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c > index a64aace..a06cc21 100644 > --- a/drivers/clk/imx/clk-imx8mq.c > +++ b/drivers/clk/imx/clk-imx8mq.c > @@ -643,3 +643,7 @@ static struct platform_driver imx8mq_clk_driver = { > }, > }; > module_platform_driver(imx8mq_clk_driver); > + > +MODULE_AUTHOR("Abel Vesa "); > +MODULE_DESCRIPTION("NXP i.MX8MQ clock driver"); > +MODULE_LICENSE("GPL v2"); > -- > 2.7.4 >