X-Received: by 2002:a17:90b:1a85:b0:1b9:fdd7:ae07 with SMTP id ng5-20020a17090b1a8500b001b9fdd7ae07mr14997006pjb.190.1645718468111; Thu, 24 Feb 2022 08:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645718468; cv=none; d=google.com; s=arc-20160816; b=KSDLuBJCSNjBb3howIsnMMzAse/2FTYlaGik4HFGBRr1ftV8ufd0d4FVm5xDhZtaL5 RFZxoKbDAIhpHd9n1e7aBHxb54jyyosVUewyqkrDTCpdfsCH6SyJzdN7UqT8huQCj57Q A/uvPDqPsYfWQbMy/EFV1g0e1C3vIaOlQhjvJiuE4WZ2lXDTxTFtOYMHKwbebze+G1C8 L/lHRMGdchBqiofbufkJqJkzpROpqnop0oXEYBopb4jwAZtHhDIhOiXneTAUc5uXtNnG kH9QXZoZS3xXlKlDIws3WKHcJsWeCA4cE5b+dugccNHpTSluRe6u74Ebysw2h/ZU1qCh r5+A== 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; bh=ccPMbPFJ+6/CHxexcWSLfVcXEtqWeonIGohkNXhvu+Y=; b=r/vbWeztarQb6syWKBoKrH07Rto9s94oLRrEgqQPbF6Pb9RkLltj+50N2MgV3JtqxF DHNlx+KkWfHNzWD8VqBY9Hcg9D7lQQPc518vU1J4yvylG8PFUgi4wkMuEp7YRbOW9MZ/ pbf/kAx5FamF8WZhc/FHY04uhuq2bk4sUG4PM4SvWPjekfUcejMj8/6hUlRKgnwvFwWZ fz1MubqIXw/Vk1gtQvKupHzJ8ki/LikMZ/dWpkRI8prd4I3/ZGB80eYGYE3Gjc2b0JrF x3bkQ1y8CNtEmTwI7GibLGtnsLVv31TqliNDHlokddhL07ef3TwWapsDWcjANZodxqSj j4rA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 26si2509907pgw.789.2022.02.24.08.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:01:08 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5FAD416F946; Thu, 24 Feb 2022 08:00:55 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236272AbiBXP35 (ORCPT + 99 others); Thu, 24 Feb 2022 10:29:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236264AbiBXP3z (ORCPT ); Thu, 24 Feb 2022 10:29:55 -0500 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C89EE1BE4C2 for ; Thu, 24 Feb 2022 07:29:22 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:598d:7788:288b:e4f]) by michel.telenet-ops.be with bizsmtp id z3VK260070fvPgN063VKob; Thu, 24 Feb 2022 16:29:19 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nNG3S-001rz5-NJ; Thu, 24 Feb 2022 16:29:18 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nNG3S-00Ciky-9h; Thu, 24 Feb 2022 16:29:18 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd , Nicolas Ferre , Horatiu Vultur , Kavyasree Kotagiri Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966 Date: Thu, 24 Feb 2022 16:29:17 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 The LAN966x Generic Clock Controller is only present on Microchip LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking the user about this driver when configuring a kernel without LAN966x SoC support. Fixes: 54104ee023333e3b ("clk: lan966x: Add lan966x SoC clock driver") Signed-off-by: Geert Uytterhoeven --- drivers/clk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index c390e26dadf471f5..1c82a3e1129d4342 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -232,6 +232,7 @@ config COMMON_CLK_GEMINI config COMMON_CLK_LAN966X bool "Generic Clock Controller driver for LAN966X SoC" + depends on SOC_LAN966 || COMPILE_TEST help This driver provides support for Generic Clock Controller(GCK) on LAN966X SoC. GCK generates and supplies clock to various peripherals -- 2.25.1