Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3213604imw; Mon, 11 Jul 2022 04:27:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uYWKJrdoqlxwvJS7iK2dpJX05+OmZN44+Z+uw/XkICa8YpZiBPV3KLA0kHvfayEoP98d5J X-Received: by 2002:a17:907:3d89:b0:72b:4d89:9c7a with SMTP id he9-20020a1709073d8900b0072b4d899c7amr6449881ejc.50.1657538834343; Mon, 11 Jul 2022 04:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657538834; cv=none; d=google.com; s=arc-20160816; b=h+of+jIYeN16Fvw6ijUNhGRifGnMpTa7nx4Ucp0Plf6VLaT3a1OxP1pWA3P2kEeeAi yRvZXwL92UZf+WxzpNkXGm++a2vxma0vUxnMtjACC2XNJn8NcsbLBaSZobr7lEP3zEYp /D6F3eqkZdyCuaWAzKSPyl4mtLUjTrlgpsA68Rch0bbjrI0tg7NYJ0n3SYW3K7gJkBzH kE2V//Y9i/wd36gcBjqfa3qVyWUWAqKnGe4LDHabvj0ThlQN1u5ZZTwR83UT6pMzyroC AiBpvi2wcnv1BTbXv/5tqtcagY5tbX/7zZZoXGNO4NfecM1cG5pkbxjhjRBSHIC2iD0U /rZA== 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=S2yzWd3q7Ym/zw8fxB/Yl5PIUJAI3UgD+7Nq31TQsbI=; b=Q28LTsDhRuyl7tb2g82fA0fx9kGedLtaq1JvMc5F5GzqKew5BTgzU14KVu0Th8NZSu /AG38HKeuxyBs8HlxdB+QCjyVrfMfegrLn0iFwPoaqOrlVlTto99skQA8+sUeZ9+6CxR QIdE/sSzbhDNfXHJuFVV2aCmhc53RjDVfPGSmbtUWmtsjpu4TLJVWXY44NXsxt2V9OtK +FcsAy2qzS/go3pf2TuJ6BbT/TficJt6gUbdFW4ZfBC56OZlktPNbCsZs5wgXngGNoYG woyFD2zz/QNBh2esAr6lrtQqkTsQMbQ2oD+A7doHQQcs2uod/ocJPfc9qDhEm2CH8VX1 vP6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020aa7d78d000000b00439e1b7cd40si8637965edq.477.2022.07.11.04.26.50; Mon, 11 Jul 2022 04:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230446AbiGKLOK (ORCPT + 99 others); Mon, 11 Jul 2022 07:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbiGKLNc (ORCPT ); Mon, 11 Jul 2022 07:13:32 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F12D1A83F for ; Mon, 11 Jul 2022 03:28:03 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id tmU22700F4C55Sk01mU22y; Mon, 11 Jul 2022 12:28:02 +0200 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 1oAqCw-0032if-Gc; Mon, 11 Jul 2022 12:00:02 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oAp37-004dvg-Q0; Mon, 11 Jul 2022 10:45:49 +0200 From: Geert Uytterhoeven To: Mark Brown , Conor Dooley , Daire McNamara Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] spi: SPI_MICROCHIP_CORE should depend on SOC_MICROCHIP_POLARFIRE Date: Mon, 11 Jul 2022 10:45:49 +0200 Message-Id: <4e78693a87d6b83847056d22468c370e7232f390.1657529125.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Microchip "hard" FPGA SPI controller is only present on Microchip PolarFire SoCs. Hence add a dependency on SOC_MICROCHIP_POLARFIRE, to prevent asking the user about this driver when configuring a kernel without Microchip PolarFire SoC support. Fixes: 9ac8d17694b66d54 ("spi: add support for microchip fpga spi controllers") Signed-off-by: Geert Uytterhoeven --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index e03cd16f4469079e..b1cb7fe129ff86da 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -585,6 +585,7 @@ config SPI_MESON_SPIFC config SPI_MICROCHIP_CORE tristate "Microchip FPGA SPI controllers" depends on SPI_MASTER + depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST help This enables the SPI driver for Microchip FPGA SPI controllers. Say Y or M here if you want to use the "hard" controllers on -- 2.25.1