Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1026846rdb; Fri, 20 Oct 2023 06:37:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFc+FWpWxWNBsIz1l8sB6p0Pj5W59pGWSawsMWA1QScquVUUyn5umYhqmA6Pzs1K0I2+UEp X-Received: by 2002:a05:6a21:7895:b0:153:4ea6:d12e with SMTP id bf21-20020a056a21789500b001534ea6d12emr2537876pzc.17.1697809061009; Fri, 20 Oct 2023 06:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697809060; cv=none; d=google.com; s=arc-20160816; b=B8ErNHpW+7CnfEvWEdyeuWYiw+ndTVHtZg9VLbrrnPAjU5IX7PKelKI7an61rIQRO4 fEeivjtC5O6MtlAOJXLEwYAcVjPQ+IQjPaUEBGkc1KZUyzkiYIlehbVzVxqoEzqNCIHs yzU42pXiefTfBzZNgKrPsrpeAjYSzIq7dMkeEmfPTQZPQjiHdqsmHwEqa53Ctt05mctM BIne6hSUnvbsWUnAgyNlKWBM7Fd6WO/lyTIjGREd2iaUvtJL8aANxDHBGyAEpmjOs9Mq 7n8rWmVzzCjF3k3znsqY86VB6FSNgLG/e4OeDu89ygY2STlflPslSMYxJ6VhU6ymtpSd KQqA== 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=s/4QVz4WiRPPNhmC81yxFrG4Euma7o0q2x66+hnNm/A=; fh=o9WjWtJuPjTzc3GV/+kJx3TLhhEnCXeE3bYM6XK+VPI=; b=hZK2J7Km0lDTxlywZvQBsSRYNe+zIPm3AwzsgHTgjFmOyBl366cRG9FMzp0z8Yp5DC AG/Na/yu/qlt/UL3EX0YxEni/ZfOvu3SG5IWz6bKR3rokuE+bz/mD1RfS53bIgBB1FLS rD6S6vENA70EixzJhE1Y7tr5YBwztlo5q2bziQhfj6sWIUERrzyLTSBbtd03Nw8y5li0 YpkhNOGfgJQOdgOhu0/+rjrijMQrTwVdEKCJrDrKZBEUOFOUr3YfjHnBEYq8Hj2OCPpu 6kcQxeIhu81pykVbxDpAkJIGawSK0sQDIvNvvsXIUpPswYGW6KM5EKm+PMle1VAAE6J3 MQKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=lP+lQUX7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id l70-20020a639149000000b005ac3e5ccc66si1843988pge.43.2023.10.20.06.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=lP+lQUX7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 9CC7F82BDD7F; Fri, 20 Oct 2023 06:37:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377084AbjJTNhO (ORCPT + 99 others); Fri, 20 Oct 2023 09:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377002AbjJTNhN (ORCPT ); Fri, 20 Oct 2023 09:37:13 -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 1138819E for ; Fri, 20 Oct 2023 06:37:11 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c5629fdbf8so5778971fa.0 for ; Fri, 20 Oct 2023 06:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1697809029; x=1698413829; 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=s/4QVz4WiRPPNhmC81yxFrG4Euma7o0q2x66+hnNm/A=; b=lP+lQUX7hU2LtSJvWeMt1yPSs0xvEOwM54w935O6pbSROuKglM3cNDNWr584LrFCfh a8aA2G/GNwqMSfn80Rwwe6aFYRgyZKx2RUOb6zZ2KyN/VOWUuhWVg5y+TaenwUVYnxaI DPgXjU3R2NBIRKOSR1H8QgV9q403uD3/uPJLOyunQQ5f4e76gpV+9zqGI2w5ZWM0qZFm E/gX+JVr+T2ihHajPXanyJGGnmKkdPeQTKLz7mmg6PblQkWDwRACkpiNufZMlSfVkZNZ A44/2hLfhEKi4X1IFTCnwxd8w7e/QQlgcwCxtWNROCTDHRRQZTTz/b0zf89DB1wVmdAH LI1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697809029; x=1698413829; 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=s/4QVz4WiRPPNhmC81yxFrG4Euma7o0q2x66+hnNm/A=; b=PqBqxTGMswEiw9nxEeRCIZOvtMunpnRTW9rwXH3DeWNHqDjcrJ2YItw/DcZd3z4PZS GSRLFDPS+HvM0AQFZq5osWQILR8WHmsOazFuTxFjaaZ4C9s7JU5ftpaqszU/g6nEjqE6 qitsBz9d29GbuMHVJvmIpa9gTAMjq5wjM3oNLzmC4q3ctUeI5A/P6FVNN+7Bi3CEm7R+ ROs5QFYqyRrjCJU4ZDdiZokbiu9rmqD7sONnItf6zm5dVdiTIr63GMuKWqH5eKKp03lk tQlhJ1why5ea+0V+EKoA9N0vdzuzrQEwHWTcYJ2FIkMwN/j9C6qWBifnQtvhMlnj9sOx 0Nfg== X-Gm-Message-State: AOJu0Ywo3pBtR2ii16oTubUG9s6tBnZVOIohWqCYPYk+parcUNP4qxZH Njog30T58qlFrEQkoQIFV5hF0Q== X-Received: by 2002:a2e:a4cb:0:b0:2c5:55a:b6b5 with SMTP id p11-20020a2ea4cb000000b002c5055ab6b5mr1245550ljm.28.1697809029076; Fri, 20 Oct 2023 06:37:09 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:f548:bdfb:ed67:dbbd]) by smtp.gmail.com with ESMTPSA id e7-20020a05600c218700b00407efbc4361sm6958098wme.9.2023.10.20.06.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:37:08 -0700 (PDT) References: <20231020132036.1181762-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] clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS Date: Fri, 20 Oct 2023 15:35:25 +0200 In-reply-to: <20231020132036.1181762-1-arnd@kernel.org> Message-ID: <1jmswds9dn.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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 20 Oct 2023 06:37:37 -0700 (PDT) On Fri 20 Oct 2023 at 15:19, Arnd Bergmann wrote: > From: Arnd Bergmann > > Without this, the newly added driver fails 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' > > Fixes: e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver") > Signed-off-by: Arnd Bergmann > --- > drivers/clk/meson/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig > index c5303e4c16043..3c28560b0faba 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 Thx Arnd and sorry about this. Reviewed-by: Jerome Brunet Stephen, do you mind taking this directly ?