From patchwork Wed Dec 20 11:32:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13499996 Return-Path: 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 A1C29C3DA6E for ; Wed, 20 Dec 2023 11:32:55 +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: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:In-Reply-To:References: List-Owner; bh=oKeZvpUtrWQ1TdoaXIHUwbsOkavocxIeQHi2faLGsP4=; b=spJJ/pNzkVdqdE ycsQfWCOW5gZissod/w9KHlg7VNHqnxLKr5OcmjzXRvH7wR9kKDq+ptgpolLn7KTdI8hCTS9zOZYa 5NbpaU6asTz/YvdVqXxD5Te5tl/vCLwCQuPQGNSuomOTEzfAhLnb2SNriYY/bFKUmtREV/unhJUUJ ra6PG+Ug8GYVZN8hscPhpODBZ37mjBhKkHj31HSqxqLA3f56ruzU6jfBDD9ukiB2R7BpoaHsmOnWt BUjqCLbsWEOMZEf1U+jN84tM27wAClMCDgnz2xxZP7QkbizAMHQ5NROi17fS88iAp7HwGx8nSYD3d 2UX6Br8Ec71ZottFnC3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFuoP-00H5kH-0e; Wed, 20 Dec 2023 11:32:29 +0000 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFuoM-00H5jI-2V for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2023 11:32:27 +0000 Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-77f957a5ac5so278700585a.3 for ; Wed, 20 Dec 2023 03:32:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703071942; x=1703676742; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lxgS9u6mFX9Ztz+0R/k8TQqg/aAzdW+aDbsddeXhpos=; b=YF5MQLd+loG1lPHLOFqJXNqo0w2uWB4XQUWyzIH7YVoXRH/RzpwQhzf+CHTsBcFs00 q0nn/LnQdaSkvFq2zaVYoV+nCWd+JIL+JsPSnTV8mejOMF5DnZu1muC7MoewyzgbQU0C aeH11k7iLTnYyZhWvYDczd2GIWM2gbfL/pVNZe93vBs28fLFMnR+KrZFgjqAsssCP66V TQh4CsuqkHQDl7BJa8k8Wmp1fpGw4h9e530fIhRdYAlZqGlus7OBJUaXRWnXG7zUYq9L ISeh2+O5ysIrLgHt9Zz8kIAk5vtWSDk4V39XugHGyin1oyjzAmNmx4kh/6J/Gx0MpOv0 jVxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703071942; x=1703676742; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lxgS9u6mFX9Ztz+0R/k8TQqg/aAzdW+aDbsddeXhpos=; b=xRc3RmhbKwUhEJwqhIpsG8Hkxbla+n8jaCHj1WYq0lw2S+C1B1+e3r9gYXwks9eVA2 82FqX1ReOokWdGILnWyYAAylBortSZj+aMy7Vmqg/CoV7RJ+S99vtOrsIkIrW+ynM+Qp yiKXcAknAOiB2eOmblhYH6yF3ldXsyZBpYlUv+39zpJjjrXTwX1Bq7YhUOCnT7fRWu+l KL32OUFGLp9IPKe0VgfXBw6ei0NAO0i7pvbhmOjiZAcfqcs+aIvwWWVusiAbbaq5pvjX dN/JFcJ3ifC0HdEB8FEICodWFz635uofxhl69z7D9p47FNaV2s6s3Bxzw9EN3O+bOMZQ esXw== X-Gm-Message-State: AOJu0Yyc4GaDh9zJUhc6Qxnqsm56NfG7MU9OEFxXw1xT3f69ztyyO0sj uvWlbt59U8bI23Kj8v7i7Rw= X-Google-Smtp-Source: AGHT+IE6EECnpVJXCAv9L9t6SHEec7vLbyEGxkPTXd4Vcz28TeLelCP82vA+JuGKvqz78NqqgjykRQ== X-Received: by 2002:a05:620a:15a4:b0:77d:85d9:c655 with SMTP id f4-20020a05620a15a400b0077d85d9c655mr14993188qkk.14.1703071942321; Wed, 20 Dec 2023 03:32:22 -0800 (PST) Received: from morpheus.home.roving-it.com (2.1.9.e.d.3.3.1.6.1.e.d.5.3.a.e.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:ea35:de16:133d:e912]) by smtp.googlemail.com with ESMTPSA id d3-20020a05620a240300b007788c1a81b6sm561717qkn.46.2023.12.20.03.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 03:32:21 -0800 (PST) From: Peter Robinson To: Tom Joseph , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Cc: Peter Robinson Subject: [PATCH] PCI: cadence: Fix TI J721E PCIe SoC dependencies Date: Wed, 20 Dec 2023 11:32:08 +0000 Message-ID: <20231220113214.413632-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231220_033226_811154_3925639C X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The J721E PCIe is hardware specific to the TI SoC parts so add a depenency on that so it's available for those SoC parts and for compile testing but not necessarily everyone who enables the Cadence PCIe controller. Signed-off-by: Peter Robinson --- drivers/pci/controller/cadence/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig index 291d12711363..1d5a70c9055e 100644 --- a/drivers/pci/controller/cadence/Kconfig +++ b/drivers/pci/controller/cadence/Kconfig @@ -47,6 +47,7 @@ config PCI_J721E config PCI_J721E_HOST bool "TI J721E PCIe controller (host mode)" + depends on ARCH_K3 || COMPILE_TEST depends on OF select PCIE_CADENCE_HOST select PCI_J721E @@ -57,6 +58,7 @@ config PCI_J721E_HOST config PCI_J721E_EP bool "TI J721E PCIe controller (endpoint mode)" + depends on ARCH_K3 || COMPILE_TEST depends on OF depends on PCI_ENDPOINT select PCIE_CADENCE_EP