Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2493120rdb; Thu, 21 Sep 2023 23:18:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjGXosiLGCsEB/XXcVSi9fjSI0sxiNGMNba44Bn8Fak9tj42JEo2enFTFDp9fOjMdM2YWR X-Received: by 2002:a17:90a:3187:b0:274:a861:4391 with SMTP id j7-20020a17090a318700b00274a8614391mr7074012pjb.40.1695363481906; Thu, 21 Sep 2023 23:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695363481; cv=none; d=google.com; s=arc-20160816; b=Gdl1lP95cuhfnCPoPnWtZWu/mXZAln0+02sIa/HAILyynvmKM80MM2NtNWxb6gqpqN QXfBRXlF3fiWztY3QUGDeaPFXwpI2vIqRXVMxl9qix13UI3/6hj591PPRpQ3sAi0Xd0p zYZ/7NHI0iyQ9i6VQ377Dgwa9SNU+hs4RHWyrGU5MlCyW05Q7R+UC66lWaXl6tZO5IqI dFU1v84LG4QSpUQDgTfFW9CdOb0v6aw12cgoIHyyviBH1dalvwjqwUisruuwVBFHP2jd wZfxsHuUQqqq3K9eDha3k2HF6tokVWZnlLXSbuscMj4q2UZu6AioEDqVeU31Hpx/ZHd9 w+sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UcFpdC0vFAH/Fz0DtjkWCHabyBbtm3h/3opGUF6dgAA=; fh=be6ztAsQurUSp6iKQoVAqjuaWIIMDoeXQSWIPCA9dRM=; b=0YbDcaXf6dsODJl7axzA0KLSU6W7z/WDKXeV3yb9iRs/pMwjlsrKn7Qv9CKJbpbyI6 itXJsIv5ZtCBEDqZijGfUb8ezxSXIrPnfMPB4+jngd9/jqXur76goYdgQV16IMTVabca wLjNGgCT15si94DNQd06tG12X1CqS+SF6NjJwGFvae1qd2es6+c8uxuD0BTdBKO/TI39 coqivnazoTl6mT7OHsDvHfm+oUaLegCKc8YWL1HQZ1AoPPEm1/H0/6kca3ytk0HB1viK dw0gl1NuAFMrt8NbiZJFPnd/AFNWfToNZmzrp42rtedbQEtgLTQdBAVL+A+QpVb/rOqo iMXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YZ0rClUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l16-20020a17090ac59000b00274bdd908dasi5239106pjt.97.2023.09.21.23.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 23:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YZ0rClUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5F46482E7B26; Thu, 21 Sep 2023 15:13:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233013AbjIUWNi (ORCPT + 99 others); Thu, 21 Sep 2023 18:13:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232035AbjIUWNT (ORCPT ); Thu, 21 Sep 2023 18:13:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F29B96EA7; Thu, 21 Sep 2023 15:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=UcFpdC0vFAH/Fz0DtjkWCHabyBbtm3h/3opGUF6dgAA=; b=YZ0rClUvYgEYr6oOzoWfENSHfx 6AZwg6G6ehK45Ckqt2RCZzEjeB4NDXXU8IiGCU0HFHXe7yKHuKl7dq+08W9L0Gyxh2aY9j10oRrfC c31gx5p7P0I5DoPujRMF2Piib5feDIzKPdvux85dYpzRIn2VEPKysylMU0Pfd0HXd5i4aLjCtU2RB euFiT3Yl4N9Yrk9V/Hjb+50doTIXFaD7s9IWkakY3XY6mSOe84UTF+Qtx0aelN69ktc2zU1eBEzIt gSt4DtIEqgs8+SD+NAHHDx+XnYvIEndeH9eP7Ssr2I56MZAoC7DYMDf5jbnbvYIFgXQWQKR2NuLWy p59cNmlg==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qjRmS-007FzB-05; Thu, 21 Sep 2023 22:04:16 +0000 Message-ID: Date: Thu, 21 Sep 2023 15:04:13 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: imx: Select MXC_CLK for CLK_IMX8QXP To: Abel Vesa , Abel Vesa , Peng Fan , Mike Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Aisheng Dong , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List References: <20230921093647.3901752-1-abel.vesa@linaro.org> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20230921093647.3901752-1-abel.vesa@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 15:13:44 -0700 (PDT) On 9/21/23 02:36, Abel Vesa wrote: > If the i.MX8QXP clock provider is built-in but the MXC_CLK is > built as module, build fails: > > aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe': > clk-imx8-acm.c:(.text+0x3d0): undefined reference to `imx_check_clk_hws' > > Fix that by selecting MXC_CLK in case of CLK_IMX8QXP. > > Fixes: c2cccb6d0b33 ("clk: imx: add imx8qxp clk driver") > Closes: https://lore.kernel.org/all/8b77219e-b59e-40f1-96f1-980a0b2debcf@infradead.org/ > Reported-by: Randy Dunlap > Signed-off-by: Abel Vesa Acked-by: Randy Dunlap Tested-by: Randy Dunlap Thanks. > --- > drivers/clk/imx/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig > index f6b82e0b9703..db3bca5f4ec9 100644 > --- a/drivers/clk/imx/Kconfig > +++ b/drivers/clk/imx/Kconfig > @@ -96,6 +96,7 @@ config CLK_IMX8QXP > depends on (ARCH_MXC && ARM64) || COMPILE_TEST > depends on IMX_SCU && HAVE_ARM_SMCCC > select MXC_CLK_SCU > + select MXC_CLK > help > Build the driver for IMX8QXP SCU based clocks. > -- ~Randy