Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1124603rda; Mon, 23 Oct 2023 03:28:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbCMpjxKJ7hhAbVYC5Y/v4DmZEQa+6w7CKZtWcraTVPgf7bXAhtt3tSwhhENy44S1CDjEv X-Received: by 2002:a17:903:2447:b0:1b9:de75:d5bb with SMTP id l7-20020a170903244700b001b9de75d5bbmr10657319pls.7.1698056925081; Mon, 23 Oct 2023 03:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698056925; cv=none; d=google.com; s=arc-20160816; b=bJRdJ9XfMal22cBOQmTk2LvvlNd6OKabYvoAqmDOg4muz3UzLr/wJGQfcakR1NkYg+ mzLaK0+4qyY+RCRhlp0lbi/qnbn94SSQuBmjB2qpoGB2YDBq+FnSfyTbc2SLUp+I8lqy mFjKchsWjn30Bs6huoCG4R8zTrcmdm9pTOT7C3shuyOQMTJtvPAI3BrNjNyzYdxkOjwE q2oV1USMMkIpsJnRi/RvKI6PhoAXpI+e0qvSC4OBfYZPQmYoedsSMAd5PnDZX5wKSkRe kdWtGP6dM7M5JhnA1DSvoM+GZkYvVNvwIuTbQwgsE5si+Uh9/g/7iLtRCyF+7C1FafJA RXZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kuVfpLueifwPgEbCnEADcC11JTzccrQ1uqR5SxIOuT4=; fh=lj4NAYidXp/D7XIZDinw0ZDawb3aOl5hvZXMoMTV3KE=; b=Q+pcSU0yTJ0Zvp/sCiZzLWL3B6ZOzieZuFcAkWtjJeOrS6Xup0jGP5vhi3Y2QUCLFw KSPxyHz9GHfzj2UHWREfc7DqRq5e412UKjWFK6qVikJPMToLm5oFaGnj7iLeZAtiyNOj i7qTsmBMD5FSbR30JYlbdINunw0ULmEun0uVZHsyfXbZAD6AqwkvbG93SVIy594ln/Mr kKaptTEluRbqNrJc3LD7j7Q/CrCNMZkZi/L5j6c29WkpV6NkGpBphoQ+k3QVsq+YMeVc FG5Asj+66YvgZBoRjaaVnx5trhrfG4Dj+7EkIkE/IOR5twWQbp7LhKq3G/p/1hsPX3+/ kDjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uE3S4qhs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b9-20020a170902d50900b001c88fc3c593si6295839plg.560.2023.10.23.03.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 03:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uE3S4qhs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A2DB7809880C; Mon, 23 Oct 2023 03:28:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjJWK2V (ORCPT + 99 others); Mon, 23 Oct 2023 06:28:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjJWK2T (ORCPT ); Mon, 23 Oct 2023 06:28:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D45188; Mon, 23 Oct 2023 03:28:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCABDC433C7; Mon, 23 Oct 2023 10:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698056896; bh=6EIj0UlrOsSd3FcPrJWS3RVeP62yd7ggwxrvtzIHU48=; h=From:To:Cc:Subject:Date:From; b=uE3S4qhspmjtcgzEY+ko2fxQqWXVXR5QwvaDMyFyqnm1wI4xWMS18QqrNhFxcaQOC Ja67VnzSku3Vmw0t9Q1bd4tbejJYpkfDX88Vli3ioW2OJOEjVpOM8aDFKUkmJD7ORa Jv/fKhxJ0CYNtuRBqGuFyPN93sRDP8rU6quM1IOm4CcB31oVsIKWJ+lFY0xffMX6Y5 0f3eB4y2zr3ADL9M0PsqiEOnRMUR1B+LirdfWIWRnMGZsJrYO4uCyjFf7QC74dYcgG ZTHOjU6oVg69yBa8vLzyHWeki+GP/yH7wjjEpoGfasYl9oWypSAjWcBxOn4tAQblHX F70YPqagESIFg== From: Arnd Bergmann To: Neil Armstrong , Jerome Brunet , 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: [PATCH] [v2] clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS Date: Mon, 23 Oct 2023 12:28:02 +0200 Message-Id: <20231023102810.4001943-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 23 Oct 2023 03:28:42 -0700 (PDT) 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 --- 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 -- 2.39.2