Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp833552ybh; Mon, 13 Jul 2020 02:26:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws9mnjGUpolJHAykhnI6q78MqbDM0Tnxb5CPWAL/JAfvCTzlDyxD5tULl9z6weqpbFVtGT X-Received: by 2002:a05:6402:1597:: with SMTP id c23mr86528014edv.243.1594632405088; Mon, 13 Jul 2020 02:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594632405; cv=none; d=google.com; s=arc-20160816; b=nk99b7AwxMELICQxuYPEnCyoiNqputeqGGDK0qiMU1hXNTFOYUN+OCJLpz673sauv4 /gDtEubO/ao0q69FEcGVa8ziCLsQiYpTmJTi+VUHhTcXlAS25GjOCHSuSvVXBwiPaZEk nqQDomOSm6ttabvqq5oFjx5Ss3C8PhbqhLeOObIGbgeHukq6nnzH7AykBx8dSZgArMV2 5F2yBkUFrAGwtgD7IE9l0KU/YU/HPuQMeQVwORFuGAzz2KtX/dXwkmOiP7w64yVFBdRZ vBM4RQuKV1H6x4+Vlxv62QwBFKVgFE0MQe//WxITihVE0FEfHW02J213ouIXwYjwOFWz v2CQ== 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=JS7nWayll8WFxdkE9lQPMVdFl3barpLP7IVB658Rdf4=; b=TO/1pBnKqqf26i82x7JofT3qvnmvu18LgXK3rZnc3e1PJivfahzsu3Ad9sI/x8RibJ t3zxaFAur5zBc7b02o7uRVJDSKWgiAeRkqc6iTm/zJbyLtel2KQCnUcR/QSdI7CliSsq 02ouCIj3HMU1aHniAp5L6bgCyVQRPWKzvsiQ9RgliWNqsg7FgQIpf/uo7KjKg73t20my PVds1unH8sCxuJnDMPjQeATAlSRWVzJCoqykpNL5Xm+NmsHJa7LsICObpzFuM9zVm9ym YD7zFApypSKyWq+k7d8PgsNz9vNbpj8lrxd2vvdJS2ea2a8LewBXvg16IlQP8jVpt+vv BPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jkduy5Bb; 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 d10si8308538ejw.210.2020.07.13.02.26.22; Mon, 13 Jul 2020 02:26:45 -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=jkduy5Bb; 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 S1729362AbgGMJZL (ORCPT + 99 others); Mon, 13 Jul 2020 05:25:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:56278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgGMJZJ (ORCPT ); Mon, 13 Jul 2020 05:25:09 -0400 Received: from dragon (80.251.214.228.16clouds.com [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 04B6B2073A; Mon, 13 Jul 2020 09:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594632309; bh=zL6gDU8NNAXnZx3N2O7UvFDUEoZA1JnSABXb3oHA0cY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jkduy5BbNyA/4RmadeAZxZLV/yPr3+ex/g6rt+FokRP+1BQ+IcKzgJXzzlqWIA4wp QFoLrEoRpSyd4DdqByNk+HnFbuujxr3dJgICzdQQKE5NUZH9lDcNWErc5pVU9INjWr ndMtskebMtr+dveQd8Wh//aQyCDPBkwifU7aWekU= Date: Mon, 13 Jul 2020 17:25:01 +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, 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, Linux-imx@nxp.com Subject: Re: [PATCH V6 0/6] Support building i.MX ARMv8 platforms clock driver as module Message-ID: <20200713092500.GM15718@dragon> References: <1594098579-25050-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: <1594098579-25050-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 Tue, Jul 07, 2020 at 01:09:33PM +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 V5: > - make i.MX ARMv7 platforms clock driver to bool and NOT support COMPILT_TEST, > since they depends on ARCH_MXC or SOC config, which makes the COMPILT_TEST > NOT make enough sense, so just skip the COMPILT_TEST support for i.MX ARMv7 > platform clock drivers, leave them same as original implementation. > - add a patch to fix build warning reported by kernel robot test on i.MX6SL > clock driver. > > Anson Huang (6): > 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 > clk: imx6sl: Fix build warning reported by kernel test robot I'm picking up the series and throwing it into linux-next for testing. Shawn