Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1259008rda; Mon, 23 Oct 2023 07:22:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3EHnQTFIxK0Sb0PG6RkXKY/ddeUp5AHmIZSJSsGaAlDZ8z56ONiTzIc/4f0ORudni0bES X-Received: by 2002:a17:902:d904:b0:1c0:d7a9:1c48 with SMTP id c4-20020a170902d90400b001c0d7a91c48mr5814976plz.49.1698070971836; Mon, 23 Oct 2023 07:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698070971; cv=none; d=google.com; s=arc-20160816; b=jrZEF7Na92LnSe7nqvSU1gKtGLPx3W/ZeeMEiTg2/E2lk/KjFaV/X4WTEleKTlaThM ZTEBCzMRFgKNSBbnwN2v5+JNAB9fdxxXFWQ+CFSCcjuzq5dhdWYiuUOMk9DFxpHw1Nz5 bS8vit8Ijx82KSe9Dt5VIQPV+KBwFjOajX7u5h+2zJW81nKbTLdTv+OIqGR/tt4DN8TW JMhT1O0X5zxbVPwVOZkm0/LaYKm2EyBPkc7PDVkBW7jnVSHP89NmdtCBWgMOm77CeDLG m0LetapdrpXYq6UAFUh1uM63JBuTCzB0wFHTeLp7pzusBjrGMsXe7m00TD/637nk580Y k+aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:dkim-signature; bh=E+6RuqzMvi6/cl8AxQsj75tOfUbUu+K7Xht0IansoAI=; fh=o9WjWtJuPjTzc3GV/+kJx3TLhhEnCXeE3bYM6XK+VPI=; b=OzMIoPG51FAxgt6FRln7i0eqNZKOxugCdmHT1HUP0KUuC0uU5Px7kMd02WOa/xY27H ag9rid8kjHd+8cM+1WOM0mw/PZycP13Tge9M5UlJ0m5IPWU9h7O6jD2RXhoTd+XHlz3g X7noG9mVDqjMym5DuO+EeasxxlwAU+Wx+c4eSkr+l1DdCEw0BA3BW283xF2sTN0hLhKT ejtRmclrmrhwmFGQWssIAb+GfM2fnBws66WcuiKDZqeZcBGbS+ohar+ZsZbkPzN9B1sq sd5+R4zOaCudNpItsbfxteozZj5dl74m/455wOnmDOfWN7K5Fs9zKxeymeIM3NVmOiMg Iy6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=P1Eapi9M; 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 y21-20020a1709027c9500b001c470e70cf7si6420799pll.273.2023.10.23.07.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:22:51 -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=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=P1Eapi9M; 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 1C287806AFFE; Mon, 23 Oct 2023 07:22:49 -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 S230250AbjJWOWf (ORCPT + 99 others); Mon, 23 Oct 2023 10:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbjJWOWe (ORCPT ); Mon, 23 Oct 2023 10:22:34 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9D7E100 for ; Mon, 23 Oct 2023 07:22:30 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c50ec238aeso48072611fa.0 for ; Mon, 23 Oct 2023 07:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1698070949; x=1698675749; darn=vger.kernel.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=E+6RuqzMvi6/cl8AxQsj75tOfUbUu+K7Xht0IansoAI=; b=P1Eapi9MKhLNW032vehQNJudaQcFzxexhOGUDPNuglr8Ahy5jK1FCbe9oo+MGymiRj g1W5WVoltfgOqw2gLXfyo2Yk5IbSMzcIYfhLW1QgZbCMM2wpBVFMVEVTTV4rzv7uxTPN dfWNSn/V7rlYl20JjURKnQ9NBL3ERa0jV78rCg+VautEsy7GlARpxctV2iG+SEU4KOSk ScijY2aMASFGqEzICBFP9BIY2UzerL1B8QlVhcF2YYmXHklHLkO/sQFj/d55IKJ2FEIS qUkL8fU4aTVXuhHMZhbc2aVaNcUFNkjc3eTvirAUCMUWFanCLwspvI7F2MSph3/foEN5 CbEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698070949; x=1698675749; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E+6RuqzMvi6/cl8AxQsj75tOfUbUu+K7Xht0IansoAI=; b=r/sUmRE/cWGK4Aub+xgiIz0+9Ot+eZ425bVYxWN6c1gN5XUFmGLoCvskgM9NW5lgVI AO8taSRk2IRm0bo5gXjXR2wbzAmlCt3nejD+oPDy5jRySFsoEhnMarn89pHdw582S8ee OkOsMqUAVUMRZJGsshZg0QOO+C+auES9lTCwa4lhLyXA0xt+eW7YPTh63WcFQj0xXsEB kKh2j14Uhhs6LCnlKWPZkbGEL91mVUE+HFgkoXLI04sROjEHD2XWEZuBMUh0CG/abRV1 U2KqkLr5/1D/X6bHjqBuxQISkdywCzU/PtmzB+oMrOc3mA9I+mcjPjTnv79Pj1/8waHn jwUQ== X-Gm-Message-State: AOJu0YykbjoZIlNrQeo7AavX++VJaF3ebRsLMzK5hlaYyO9pnLfy9Cju diowyo9NY5mnEyjVYpOemo+WTQ== X-Received: by 2002:a2e:9051:0:b0:2c5:19e9:422c with SMTP id n17-20020a2e9051000000b002c519e9422cmr6179488ljg.24.1698070948940; Mon, 23 Oct 2023 07:22:28 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:f0e1:712a:7682:b4ff]) by smtp.gmail.com with ESMTPSA id e16-20020adfef10000000b0032d8354fb43sm7934803wro.76.2023.10.23.07.22.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:22:28 -0700 (PDT) References: <20231023102810.4001943-1-arnd@kernel.org> User-agent: mu4e 1.8.13; emacs 29.1 From: Jerome Brunet To: Arnd Bergmann , Neil Armstrong , Michael Turquette , Stephen Boyd , Kevin Hilman , Yu Tu Cc: Arnd Bergmann , Martin Blumenstingl , Dmitry Rokosov , Jian Hu , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v2] clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS Date: Mon, 23 Oct 2023 16:20:42 +0200 In-reply-to: <20231023102810.4001943-1-arnd@kernel.org> Message-ID: <1j1qdlpgf0.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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]); Mon, 23 Oct 2023 07:22:49 -0700 (PDT) On Mon 23 Oct 2023 at 12:28, Arnd Bergmann wrote: > From: Arnd Bergmann > > Without this, the newly added drivers fail to link: > > aarch64-linux-ld: drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe': > s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get' > aarch64-linux-ld: drivers/clk/meson/s4-peripherals.o: in function `meson_s4_periphs_probe': > s4-peripherals.c:(.text+0xb0): undefined reference to `meson_clk_hw_get' > > Fixes: e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver") > Reviewed-by: Jerome Brunet > Reviewed-by: Neil Armstrong > Signed-off-by: Arnd Bergmann Applied fixing this minor checkpatch warning (1 extra char) WARNING: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("")' - ie: 'Fixes: e787c9c55eda ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver")' and preparing the PR for Stephen now. Thanks Arnd. > --- > v2: fix up both drivers, the first version only addressed the s4-pll one. > --- > drivers/clk/meson/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig > index c5303e4c16043..29ffd14d267b6 100644 > --- a/drivers/clk/meson/Kconfig > +++ b/drivers/clk/meson/Kconfig > @@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL > tristate "S4 SoC PLL clock controllers support" > depends on ARM64 > default y > + select COMMON_CLK_MESON_CLKC_UTILS > select COMMON_CLK_MESON_MPLL > select COMMON_CLK_MESON_PLL > select COMMON_CLK_MESON_REGMAP > @@ -161,6 +162,7 @@ config COMMON_CLK_S4_PERIPHERALS > tristate "S4 SoC peripherals clock controllers support" > depends on ARM64 > default y > + select COMMON_CLK_MESON_CLKC_UTILS > select COMMON_CLK_MESON_REGMAP > select COMMON_CLK_MESON_DUALDIV > select COMMON_CLK_MESON_VID_PLL_DIV