Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1213925ybg; Wed, 29 Jul 2020 08:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiNDNHcml6OreZMXN8NN3VtZ7x+f5goqd0w+8ddKkgIydkDijOXD38EhsVURJePq8cYduh X-Received: by 2002:aa7:c84b:: with SMTP id g11mr6211913edt.292.1596036612172; Wed, 29 Jul 2020 08:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596036612; cv=none; d=google.com; s=arc-20160816; b=HBgSsRnrjIt8L+fS+Jildyuk4Kf7vlYtzEbprITtX10ptoVz6Mrfu7L4lTtihcIooa dQe+R0tpazliZtCFkJ4PJKObyg830ncUrlC7cDEGVLbauTSJBpI5QMrk/NSiVFWGpUUX 4wyt8LCvPpU+xqUlFGZ9coEBHLKJlNhmdan92CfGaRMeoS1LCb8O0ZiyzPa8uc52BNmD 4X7eN9jts4H5BIrAv0PEiVchAQJUkiQgso3dkci8EmpiLqvVOs8/TG2LMTQUHWmuc3hh TXlelrdl5Vhg/Y8UcwCCD4Eyq5w+EsJv/CZ2pUckmk1pkcqoDFq4LS6JQ9TWi6CySoY/ 84xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YcdFv7OGU20cY5mxht3bJhJGFPW5MR5zaaAOa3CjQiQ=; b=ZKxNyihrFVNWX1GztiuTvLWvbj4YR5CfjEvRXfcUB9wxbAr96sPuxTOmdmvIj6BmzS xIbOoJ3UjRy/HTxKOEHMnB9XysorPeGsmaRcxcTArd3Nv1OABCERf0Kc7tpDT8Pi7I40 Ck1Z/Wk1Kf8V+/CMnfvkBeaIf6xRQZcHknDkn8Aslo78B9H7z2PxgECFNgptGAr/IMkw LxlMnbtftf/uYZS/Dptqcdv2K/FmZW3UauHSP6zMfJUmucFJU4d/iaKERwQHJTdSX8LX zZb0lVW/gg5DgGuTRP0vN0Bp4BPj8O1jSFVnm/YilGunWADT3KEdo9l2okwOB7tZj/xa Lmqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2YuX7Bt5; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si1449483edu.248.2020.07.29.08.29.49; Wed, 29 Jul 2020 08:30:12 -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=@kernel.org header.s=default header.b=2YuX7Bt5; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbgG2P0v (ORCPT + 99 others); Wed, 29 Jul 2020 11:26:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:60284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbgG2P0v (ORCPT ); Wed, 29 Jul 2020 11:26:51 -0400 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 Cc: mturquette@baylibre.com, sboyd@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, arnd@arndb.de, peng.fan@nxp.com, abel.vesa@nxp.com, fugang.duan@nxp.com, daniel.baluta@nxp.com, yuehaibing@huawei.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux-imx@nxp.com 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-Type: text/plain; charset=us-ascii 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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