Message ID | 20240327193138.2385910-2-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8092CD1283 for <linux-arm-kernel@archiver.kernel.org>; Wed, 27 Mar 2024 20:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EQrOw81m9o7eEMhlypTUFo/TdA8w6mThYHarXbC1oUc=; b=26XrhEgsX0UXX7 univJLI0/mpzTTIVbwap5vxRR/rbHHABEraoh34lGOGS0aREWzAB7nE2sIDtOSPO/qd3k2qXkJrId /lVLVXgQG0XCEKjZLRnO5OP9++A6ZOJKMOVWhqb5zU/E2mPNpMcjHyV+nXi+chMgZZ2uQyy3SpHwk fu07sEpIg/AktoD8hf3XHr/W7/w5HR+ySnXvaLkcFIB84eu3w75NJJ+gd8bx29QL6GMQsWarw3aX9 pbYKp1XljF1kaCtQihVu91WtzJQbAo3P096tjfBH+MscAcgGJ1w05f2h8jIBwescW7WMYwBdDmLGQ h/Ii1W/jld4sVDlBUDCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZxm-0000000B284-23RG; Wed, 27 Mar 2024 20:33:34 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZ02-0000000Ant0-2Jsi for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 19:31:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711567909; x=1743103909; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=szcPeNpPGwcpTv/vYr7M/HOPTxqfODzCAhPTU5Lf2p8=; b=Z/fjIPQG9SAbst5qv93lkOoEhG9vHltfJY7slhW7IlkIc0bxlFEhaz+L afaD8QVt8/D15WsoybpM3OMvyUF8OgdgAsWM6XdDy/DEXYNsAYU6HeLv3 fjPMoD63oJlBvsk/kNF+oxGyTK8oXoEPUeUJVzCF8VhRk41hxonbOWfGK G/XSSWTvMH6YstfwkD+9XRmsMqWmcWZxHPG1eTYiMBlaWeoXzgnLpcx0t oV891Kcebr3ek0slet4p61ZfCpxorvuIHMy9t6V2pX87qE2ghkzu54tAI LDDklGHehDGQ9hJreFrK1gzUuurj2Fd6Ba5EljiGONJ60/tMlVxkWIvnf Q==; X-CSE-ConnectionGUID: nmCnnMRzTj2ugvp5CWkEog== X-CSE-MsgGUID: eLV1qazXQzGK2oGgsHnmwQ== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24187278" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24187278" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 12:31:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="937075022" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="937075022" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 27 Mar 2024 12:31:43 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 85059284; Wed, 27 Mar 2024 21:31:42 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Mark Brown <broonie@kernel.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Russell King <linux@armlinux.org.uk> Subject: [PATCH v2 1/9] spi: pxa2xx: Narrow the Kconfig option visibility Date: Wed, 27 Mar 2024 21:29:20 +0200 Message-ID: <20240327193138.2385910-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240327193138.2385910-1-andriy.shevchenko@linux.intel.com> References: <20240327193138.2385910-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240327_123150_641409_E1CF8FC2 X-CRM114-Status: GOOD ( 14.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h
|
expand
|
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 26ba34a4100b..c1bb1895009c 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -817,7 +817,7 @@ config SPI_PPC4xx config SPI_PXA2XX tristate "PXA2xx SSP SPI master" - depends on ARCH_PXA || ARCH_MMP || PCI || ACPI || COMPILE_TEST + depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST select PXA_SSP if ARCH_PXA || ARCH_MMP help This enables using a PXA2xx or Sodaville SSP port as a SPI master
The PCI || ACPI dependency is the historical part of the x86 support. Narrow the Kconfig option visibility by limiting this dependency to x86. The drop of x86 for PCI case had happened in the commit 2b49ebda39d6 ("spi/pxa2xx: allow building on a 64-bit kernel"), while the ACPI was specifically added for Intel Lynx Point in the commit a3496855d9f1 ("spi/pxa2xx: add support for Lynxpoint SPI controllers"). Note that X86 covers both 32- and 64-bit variants. Suggested-by: Mark Brown <broonie@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)