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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 DBF81C433E0 for ; Wed, 29 Jul 2020 15:28:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A813120809 for ; Wed, 29 Jul 2020 15:28:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XUBhe1ZR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="2YuX7Bt5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A813120809 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jJr4kTa9TBYtil/VacXtWPXzBaSWsjK4HTVvdrOU3kQ=; b=XUBhe1ZR0Y6ejQEYSqS4e2V0G +TUVCE3mTCcadKqe56s9nkqGIYgPPxsKHVkbZbskSjhqgFegzja8yRhcelBawqyKR9Qf0PlmGl3+T Tr1NJnXBmwwrNdJ/CBkLnhUbrZ+b+62VMDWOq1TqLOFfgYJ2OmGvin19pqY4fpikzHm+fV74CtLiu gCuC1WxoefSrzXmaJHXrtwDErEFTID/WuPrV4QxcygaLKA8sjJ8cijD1htIu0bIFWWxNv7WQM1WM9 ZPIer4pqe+Mc3RSESixW3xjWdkdJR0VuCzTCnpsiPObKr4PXf+qFT0rfv+wWUqEBkAqUCEJ+eX44z XwJp5CFwQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0nyo-0000sl-LA; Wed, 29 Jul 2020 15:26:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0nym-0000s8-9z for linux-arm-kernel@lists.infradead.org; Wed, 29 Jul 2020 15:26:53 +0000 Received: from dragon (unknown [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5F6CF20809; Wed, 29 Jul 2020 15:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596036411; bh=FWwtNBSwhGrxS3G1Pkb3UzjmEygkFwEGVorAw8uBw2k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2YuX7Bt5KnWUEjuvOCOdbseEnj/NTHy0HPxwGBzOnFV5+nta+ZFbB085rzSfDSTOL z9NNOuG27/Qyhnz0SFuX3Q7KKCOjLsd9RZiNYiTHfh3o4s3t+v+SngfsWznKs3X2TX m1Lv8t52bnuS9Z+d1cTUkBzzMAorcoHKNDQ34kL8= Date: Wed, 29 Jul 2020 23:26:35 +0800 From: Shawn Guo To: Anson Huang Subject: Re: [PATCH V7 0/6] Support building i.MX ARMv8 platforms clock driver as module Message-ID: <20200729152634.GA26850@dragon> References: <1596034117-24246-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1596034117-24246-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200729_112652_432523_921A827C X-CRM114-Status: GOOD ( 17.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, peng.fan@nxp.com, fugang.duan@nxp.com, abel.vesa@nxp.com, arnd@arndb.de, sboyd@kernel.org, daniel.baluta@nxp.com, mturquette@baylibre.com, yuehaibing@huawei.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 29, 2020 at 10:48:31PM +0800, Anson Huang wrote: > Nowdays, there are more and more requirements of building SoC specific drivers as > modules, such as Android GKI (generic kernel image), this patch set supports building > i.MX ARMv8 SoCs clock drivers as modules, > > The CLK_IMXxxx is introduced for i.MX ARMv7 platforms in order to make the build > options aligned, the reason why i.MX ARMv7 platforms clock driver do NOT support > module build and COMPILE_TEST is because, some drivers like i.MX GPT timer driver > depends on clock driver to be ready before it, GPT driver uses TIMER_OF_DECLARE(), > while i.MX6/7 clock drivers use CLK_OF_DECLARE(), and GPT driver is critical for > i.MX6/7 platforms kernel boot up, so GPT driver needs to be changed to support > loadable clock driver first, then the i.MX6/7 clock drivers can support loadable > module, this will be done later. > > Changes since V6: > - improve patch #6's subject and move it to be first patch of this series. > > Anson Huang (6): > clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31 > bits > clk: composite: Export clk_hw_register_composite() > clk: imx: Support building i.MX common clock driver as module > clk: imx: Add clock configuration for ARMv7 platforms > clk: imx8m: Support module build > clk: imx8qxp: Support building i.MX8QXP clock driver as module Acked-by: Shawn Guo Stephen, I had sent v5.9 material off my hand to you, so please pick this up directly if it looks good to you. Thanks! Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel