Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp694908ybj; Thu, 7 May 2020 05:36:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIIpWFefrdfPNRuHtFtPjGErBW/8RxjsFsRvUtn60pHBCx7Pfp+aLcmpXh5rx4P1l1whrq3 X-Received: by 2002:a17:906:138c:: with SMTP id f12mr12068463ejc.35.1588854997233; Thu, 07 May 2020 05:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588854997; cv=none; d=google.com; s=arc-20160816; b=h1hYDDPeIoHw4hBjnriWiyVNcrgXNHqzq5XgsvPa1t1wNcNrJk6VA6PSb0HqFmN851 UcAa2o8g5L4VoU04x8uK+cvNyNjdSZnTHT/VhitMjMG1c56toz6e6ytEA3Ycuku3sCzr sSrLFu3hnkNVIy/SoUgUiTlV7vVHoqARvIx3GSeFklx1vY0OJoDM+OxE+axitOTax1cq s0RXD1tZAjN8+hmnCPaL8AqC3v+YkvO95nrLog+ysaPE67npl8fFRoF3hjaBMwT4wV+Q DIoUaBO7KpvbDIoYYFs8Fyc77XMgxPIQneeSRuS3iA2J6rLt6hEodlHhFyhItYKeci8R 5GTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=/kDDsSITMTwmC8VLBDo3MCVpIM0Tt8tQDwkubUfXka8=; b=WGlNDKDfMod1HbTD5SDvR1JdFN/1YR3axb6G7NAtUVV//tFHnnLlwHGEEWIuRiZBbL Z8ueyOEt2DMiknFrN7RwQcBrgEmXmGaQLP9HPr7HOVb6VEEBj6J8bFlw8WaJzE4Fc6rs r9d96e9zuoNpPBl7xETB4LOobVTpcC9aVwZ5X5OpxPE7debrzg7b0vzjt+q9WdXOfQLl S0iTLiQdQkwxhief44tHHA9A0D4CVw2RnPS/NGNI+OrS8YIc+q2pdsCt5ANxGSvEpS5W UEe30+FVxSgm5QMHhUaKKjD8EFPSNdsN6fKNq1irYXRXc86wK7HsXcEdH3qBFcpucxf2 SUvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f26si3000558edj.20.2020.05.07.05.36.09; Thu, 07 May 2020 05:36:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727107AbgEGMeF (ORCPT + 99 others); Thu, 7 May 2020 08:34:05 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:1826 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725947AbgEGMeE (ORCPT ); Thu, 7 May 2020 08:34:04 -0400 X-IronPort-AV: E=Sophos;i="5.73,363,1583161200"; d="scan'208";a="46498135" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 07 May 2020 21:34:03 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 22870400C089; Thu, 7 May 2020 21:33:58 +0900 (JST) From: Lad Prabhakar To: Lorenzo Pieralisi Cc: Rob Herring , Tom Joseph , Jingoo Han , Bjorn Helgaas , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Kishon Vijay Abraham I , Geert Uytterhoeven , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Prabhakar , Lad Prabhakar Subject: [PATCH v10 1/8] PCI: rcar: Rename pcie-rcar.c to pcie-rcar-host.c Date: Thu, 7 May 2020 13:33:12 +0100 Message-Id: <1588854799-13710-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1588854799-13710-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1588854799-13710-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit renames pcie-rcar.c to pcie-rcar-host.c in preparation for adding support for endpoint mode. CONFIG_PCIE_RCAR is kept so that arm64 defconfig change can be a separate patch. With this patch both config options PCIE_RCAR and PCIE_RCAR_HOST will be available but PCIE_RCAR internally selects PCIE_RCAR_HOST so that bisect builds wont be affected. Signed-off-by: Lad Prabhakar Reviewed-by: Yoshihiro Shimoda --- drivers/pci/controller/Kconfig | 10 ++++++++++ drivers/pci/controller/Makefile | 2 +- .../pci/controller/{pcie-rcar.c => pcie-rcar-host.c} | 0 3 files changed, 11 insertions(+), 1 deletion(-) rename drivers/pci/controller/{pcie-rcar.c => pcie-rcar-host.c} (100%) diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index af0f0bc11917..cfdc898450d0 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -58,8 +58,18 @@ config PCIE_RCAR bool "Renesas R-Car PCIe controller" depends on ARCH_RENESAS || COMPILE_TEST depends on PCI_MSI_IRQ_DOMAIN + select PCIE_RCAR_HOST help Say Y here if you want PCIe controller support on R-Car SoCs. + This option will be removed after arm64 defconfig is updated. + +config PCIE_RCAR_HOST + bool "Renesas R-Car PCIe host controller" + depends on ARCH_RENESAS || COMPILE_TEST + depends on PCI_MSI_IRQ_DOMAIN + help + Say Y here if you want PCIe controller support on R-Car SoCs in host + mode. config PCI_HOST_COMMON bool diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile index 158c59771824..9dbccb5b24e1 100644 --- a/drivers/pci/controller/Makefile +++ b/drivers/pci/controller/Makefile @@ -7,7 +7,7 @@ obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o -obj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o +obj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar-host.o obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o diff --git a/drivers/pci/controller/pcie-rcar.c b/drivers/pci/controller/pcie-rcar-host.c similarity index 100% rename from drivers/pci/controller/pcie-rcar.c rename to drivers/pci/controller/pcie-rcar-host.c -- 2.17.1