Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp106527lqh; Wed, 27 Mar 2024 16:47:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlbP9AT0m/QToyBjClhn8+fbx0a8TTQeVOMP1zg0soHBGOHYa8q/xRUKNqj3eK3obHjX/6Ug4wB408QPMsMsvCevRf5dlYKHfRikZXDw== X-Google-Smtp-Source: AGHT+IE2wEd0d9FhoQejnKghUO+hteRzYcgdjJwT57lJkjHs9WAr4smDVJVeZz92Ax0qxl1bwtl3 X-Received: by 2002:a19:750c:0:b0:515:b93d:c885 with SMTP id y12-20020a19750c000000b00515b93dc885mr767037lfe.23.1711583225931; Wed, 27 Mar 2024 16:47:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711583225; cv=pass; d=google.com; s=arc-20160816; b=hzPhyvfVaP1GsTP5jHLbHjGJAUZ55xNd7Vnn31Eaok1EGVmkJEbIcfr0LPAe2tWvnj Swrb4Ya6i68bYws0eD56W0TKK6AV6xQEeCrygmx7nSvY0lvUcnoM8JPVapzlaeXzvbZP u5683T/dSRegdsqpDNgmuDa2HQKqo9op9GxO3SddFubGGN4lvZ/ASVSOsCDGqLM65Cgd nY7z/m9cFFuV7+OVcIsqo4ycH7QZsY84OqXr0rRm0jiWEAW0kwolQWz+HDPG1f53DbsC 0u4EDygfh6yLO45jL2jCoLPonu2YFmUL5qB3eS1+fTHTs7R2aa9J1wDfSabRjC/4cImG xxuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=G3Aa/477bu7Pcc09xpPIy9wK1S9pgplyXGB8ye82R1k=; fh=RVhVq9N2KIH6+up/M7086jKDWt3wEC1Qe381m7uju8Q=; b=M3msdDng5rPCiEknCK2/J4+IoZOUC0IOYW4Rdd3wW6FahUTmsyRSZ/4Obx098/5FT8 7Gn4eYS3EtB1QdyZ32HVyUzKjTcSnxtv538TDqESRneLXJysXnoYDzNjJ6V3/Cn5LIri Xk7Y5K7ViBGkKg6vB2qOEOodq5uW63Gst+fwMmAtMtkuXIB4UkWDDKmArnT6X7jkizjz +y57N5N15XX4oo1njUt11udzx5Yt/nQIXrXmmiKWJYb4hOw0gK6qdnl8kN5BhQfcI4ka FXMnsjavXP2Zn90SNKYp/1pKlpHJEkrftDfvnG2gpNAclTpQHk4m1aBHYyUd05Az3RP7 qPDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TfjkrigF; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u2-20020a1709061da200b00a474ee6902asi74662ejh.746.2024.03.27.16.47.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 16:47:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TfjkrigF; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0E8F81F21F84 for ; Wed, 27 Mar 2024 19:31:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BF9C15217C; Wed, 27 Mar 2024 19:31:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TfjkrigF" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02A0614D45F; Wed, 27 Mar 2024 19:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567908; cv=none; b=tlLbF9V56VfdQWfbhdOHXKe8F37EC4IQ12WEGQfXerxxrurtdinHpFUe+CDKoxs1qHYVsgdelHnXH1m/jjxfW+m1K/n9osrd3eFvPoNJX4Bsebg/AjLoc7Wmw3QPTxGOAkBkAxhEaYwoNZLgNQ6W+nab8IicpbALF4Y3FB19qMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567908; c=relaxed/simple; bh=szcPeNpPGwcpTv/vYr7M/HOPTxqfODzCAhPTU5Lf2p8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=J2FWhpTe+RH1jXhzjIeRTyJt29NB+CWvJgG/GJVB2VCcEWed7soCl2CePxmk9C3BUVqkfzSJKpKSaBJjrYy759SFw0Fr/PmVMabgrHH0VMRmQ7vNVU8piI6mKQBvXIh8D8I3N8P5w4MupqttAXzdDc/QehDQLb7D7jpGm/WEwnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=TfjkrigF; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711567906; x=1743103906; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=szcPeNpPGwcpTv/vYr7M/HOPTxqfODzCAhPTU5Lf2p8=; b=TfjkrigF67j7HTPhFvjep4uHHFFHai8UvJi0UwcBk7EK4FfrYc3SLf6N 6MbzxyCSVlSVGNp2lyWFfrIhTtRTcRMS7nklg8WLDqZiqAk4tks9nOrtn Xh3XZ845Sx4v/GItCfAzw3DIheLbzNya6bry2Pk9CICpAzF2hlHcwGe/A vue09EzlVPMWnfDQHFrZrmYWExohAMqaO7Lgfztb6u0RBqHWCkZL9/4yb ai6BPytBPYzcidcCqSyId6XslC7KjfiPUEv68EBaeKfToM/mlJOg1BzHY ntbulodjIl73DPtxe7/RTHNZz+hyLn3nYFNY/fUd4yJ20L95/zftcog47 A==; X-CSE-ConnectionGUID: SZeVmNAQQLGZmLzLQHYksQ== X-CSE-MsgGUID: zKy3ztoYSQ23/RMnlhPg4g== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24187276" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24187276" 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 To: Mark Brown , Andy Shevchenko , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Andy Shevchenko --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0.rc1.1.gbec44491f096