Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp739419ybt; Mon, 6 Jul 2020 22:15:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNQG5RtZlZOzdR5zPdhUbdsoTuR8jXBEE7cjuNdFWPNkYq6oiowLE/vrcEhNmsrghC0xWA X-Received: by 2002:a50:d501:: with SMTP id u1mr59647306edi.159.1594098957445; Mon, 06 Jul 2020 22:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594098957; cv=none; d=google.com; s=arc-20160816; b=KSQ9kW3U0rNCLr8BxHpj7SmGlk1Bg4161YiIGOErVrQGkQ8pVObJX4XqWep9NFAot4 Rj7UUVROU/Tjv2vJ4qUIZZXGUVhlZt2HISv8lX5A0xvz62ZT5SBkar5eIG883TI18sVR kQozxWdIrsqHA0MImBQIT8mq1gGNKa6zETYHrcReTRHWwrtsvu/iNiEM6yurZpWdeQOQ ABzCGWCSBhEAnR6r1S7w010m7x4O0COqdONDmJLMrLEpZVAI0Wl84ESXT1iy3qlVyvZf RMhp9u7D5QgtbqHeVuJACIgeJyTT14xU3u4zBrTtVI1N/QLgXF7gasuAxodC3Zl+q9Uv Ru1g== 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=PAjMjwGUvxvJP+QqLoUJCpCGDO7cLrAGnjlYKM4FJHI=; b=Xl06hWPWWdq3REy1/jKxzSmv2KBDXCCMnTRcoq3bjpxRg9/+uNaJixzjeosdk/bvxd 1+DnG+GA2eP/f2LS5i1P98hSnIpQb/SH/I3KTAplHFqp9p2RItlefSC6MC4OAqiLZb6C D7Bz8VW2OldFMyemD0qtFRJQXBcud0N/whc2NxvWPhikeB3gXcnx57R7VCsefhZRDeF5 XCj5WaSYcsPLtSfJdy4i2EOXNW1OvTX+cemDh7NxUPVUiht6hdv1bYw6f8OmqjQlwDVH AHyNkJIuzH5RdUQ8T16p3RRBDXPtZUeZD7I4j9139ZjHBacONNU7NMSU779Pio/Q054v KItw== 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 s23si13781200eju.242.2020.07.06.22.15.33; Mon, 06 Jul 2020 22:15:57 -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 S1728133AbgGGFNN (ORCPT + 99 others); Tue, 7 Jul 2020 01:13:13 -0400 Received: from inva021.nxp.com ([92.121.34.21]:53352 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728048AbgGGFNL (ORCPT ); Tue, 7 Jul 2020 01:13:11 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3A29920084A; Tue, 7 Jul 2020 07:13:10 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7D672200844; Tue, 7 Jul 2020 07:13:00 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id BC59D402F0; Tue, 7 Jul 2020 13:12:48 +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, aisheng.dong@nxp.com, abel.vesa@nxp.com, peng.fan@nxp.com, sfr@canb.auug.org.au, j.remmet@phytec.de, georg.waibel@wiedemann-group.de, Georg.Waibel@wiedemann-group.com, laurent.pinchart@ideasonboard.com, chen.fang@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, andrew.smirnov@gmail.com, horia.geanta@nxp.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V6 4/6] clk: imx8m: Support module build Date: Tue, 7 Jul 2020 13:09:37 +0800 Message-Id: <1594098579-25050-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594098579-25050-1-git-send-email-Anson.Huang@nxp.com> References: <1594098579-25050-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 Reviewed-by: Dong Aisheng --- No change. --- drivers/clk/imx/Kconfig | 16 ++++++++-------- 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, 24 insertions(+), 8 deletions(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index e96bd38..3897712 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -69,29 +69,29 @@ config CLK_VF610 select MXC_CLK config CLK_IMX8MM - bool "IMX8MM CCM Clock Driver" - depends on ARCH_MXC + tristate "IMX8MM CCM Clock Driver" + depends on ARCH_MXC || COMPILE_TEST select MXC_CLK help Build the driver for i.MX8MM CCM Clock Driver config CLK_IMX8MN - bool "IMX8MN CCM Clock Driver" - depends on ARCH_MXC + tristate "IMX8MN CCM Clock Driver" + depends on ARCH_MXC || COMPILE_TEST select MXC_CLK help Build the driver for i.MX8MN CCM Clock Driver config CLK_IMX8MP - bool "IMX8MP CCM Clock Driver" - depends on ARCH_MXC + tristate "IMX8MP CCM Clock Driver" + depends on ARCH_MXC || COMPILE_TEST select MXC_CLK help Build the driver for i.MX8MP CCM Clock Driver config CLK_IMX8MQ - bool "IMX8MQ CCM Clock Driver" - depends on ARCH_MXC + tristate "IMX8MQ CCM Clock Driver" + depends on ARCH_MXC || COMPILE_TEST select MXC_CLK help Build the driver for i.MX8MQ CCM Clock Driver 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