Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1107561ybt; Wed, 1 Jul 2020 19:18:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTwcJIj+yFDFIv0YzVXeQtP29PIlw1SoN8zroaQ/18SlZ8CjcsA8cu3gJ69e5ntD9vgJKb X-Received: by 2002:a05:6402:1c96:: with SMTP id cy22mr31625017edb.79.1593656317794; Wed, 01 Jul 2020 19:18:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593656317; cv=none; d=google.com; s=arc-20160816; b=Y00Hix24bAngquG5+jfWTNP+R/E4p3eIp5u8vP8Pqa0CtwBJm4QYVOlySVbnkPuYnf zOIZ+QrFFYGtRTtpMX5XUaU8ec/ciBI0zTk6oz8gIU8f/2+MZLPtsvjwrT1La2NAnknQ 3A8JGDgeCsRMEjFy+1/mfOFVDMr8NuZ51Od00Luaqtn3Bcxr8MTXHBakVm8fyFlcuhdf b0cP8kgktbSznghk3ku2kPZmYJKm43aHBWwAG/9Zzv+0xwW+GJ0fSjzU7URObATN24if cJ0yX560DkIaF+81THDJxRsoEIrUiO8LywhWy/Vkf5lObRXbvF+hXThI37qJv8SiHhP6 QsYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=NUQlcuAG8zpJCVp0n6kEAduuWzrZuQjfl6wyqBGqiEo=; b=PwbqK1eBnnqioZBarSxBVElIbH66/tdgV3hHF3DS3bm93BQmDbO32u7+ZRV4WQ/UfF kgbUWYcfTU7oEqpDoAfC7MkdS559Gt+oxDfh6u2zWkrEbYPkFNYctKPcVkCqs7pY33X3 yzZ2aIH7Cng3Bxf9pZ9Vh6T+xJaMefCSQtwei9a2VDDpP/ARj2sFWU/JlIDFWrXZLgIx mZNfNeWrt/y80YH8gpHk+Ne401L/ynGE92LlyCRzdoCGQaS9lZpeONkY1SdM4OV8m/c9 5cM//Ca8+wyOcyAMoDbiz/VMIctGzNGjcUFdDI5Mx65s8QVY33ZEjvT1JVaAekWIDzAg ZVVQ== 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 dp8si6700574ejc.281.2020.07.01.19.18.15; Wed, 01 Jul 2020 19:18:37 -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 S1728208AbgGBCR6 (ORCPT + 99 others); Wed, 1 Jul 2020 22:17:58 -0400 Received: from inva020.nxp.com ([92.121.34.13]:46034 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728182AbgGBCR5 (ORCPT ); Wed, 1 Jul 2020 22:17:57 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 377DE1A0914; Thu, 2 Jul 2020 04:17:55 +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 EDF191A090C; Thu, 2 Jul 2020 04:17:47 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 70C90402F7; Thu, 2 Jul 2020 10:17:39 +0800 (SGT) From: Anson Huang To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peng.fan@nxp.com, arnd@arndb.de, abel.vesa@nxp.com, aisheng.dong@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, sfr@canb.auug.org.au, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V4 4/5] clk: imx8m: Support module build Date: Thu, 2 Jul 2020 10:14:33 +0800 Message-Id: <1593656074-10092-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593656074-10092-1-git-send-email-Anson.Huang@nxp.com> References: <1593656074-10092-1-git-send-email-Anson.Huang@nxp.com> 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 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 --- 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