ARM: cleanup PCI specific configs
Subsystems (2)
v3 cover ARM: cleanup PCI specific configs
This series was initially sent to add support for two PCIe ports in dra7. This included selecting PCI_DOMAINS config in SOC_DRA7XX.
However from the review, PCI_DOMAINS can instead be selected from ARCH_MULTIPLATFORM. This is fixed in this series along with removing PCI_DOMAINS from other configs.
Since this series was initially sent to add support for two PCIe ports in dra7, it has been tested to see if there are regressions with 1 PCIe port. Though testing of 2 PCIe ports is not done while sending this patch series, it has been verified before in few of the customer boards.
Changes from v2:
*) v2 removed MIGHT_HAVE_PCI from platforms that are not
ARCH_MULTIPLATFORM. Fixed it in this version
Changes from v1:
*) select PCI_DOMAINS config from ARCH_MULTIPLATFORM *) Fix *MIGHT_HAVE_PCI* config from being selected redundantly
Kishon Vijay Abraham I (3):
ARM: dts: DRA7: Add "linux,pci-domain" property for pci dt nodes
ARM: Fix *MIGHT_HAVE_PCI* config from being selected redundantly
ARM: select PCI_DOMAINS config from ARCH_MULTIPLATFORM
arch/arm/Kconfig | 1 + arch/arm/boot/dts/dra7.dtsi | 2 ++ arch/arm/mach-at91/Kconfig | 1 - arch/arm/mach-axxia/Kconfig | 2 -- arch/arm/mach-cns3xxx/Kconfig | 1 - arch/arm/mach-exynos/Kconfig | 2 -- arch/arm/mach-imx/Kconfig | 2 -- arch/arm/mach-integrator/Kconfig | 1 - arch/arm/mach-keystone/Kconfig | 2 -- arch/arm/mach-shmobile/Kconfig | 1 - arch/arm/mach-spear/Kconfig | 1 - arch/arm/mach-versatile/Kconfig | 1 - 12 files changed, 3 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.9.5
PATCH v3 1/3 ARM: dts: DRA7: Add "linux, pci-domain" property for pci dt nodes
Since DRA7 has multiple PCIe Rootcomplex, add "linux,pci-domain" property to assign a PCI domain number to each of the host bridges.
--- arch/arm/boot/dts/dra7.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/dra7.dtsi +2 -0
@@ -301,6 +301,7 @@ 0x82000000 0 0x20013000 0x13000 0 0xffed000>; #interrupt-cells = <1>; num-lanes = <1>; + linux,pci-domain = <0>; ti,hwmods = "pcie1"; phys = <&pcie1_phy>; phy-names = "pcie-phy0";
@@ -336,6 +337,7 @@ 0x82000000 0 0x30013000 0x13000 0 0xffed000>; #interrupt-cells = <1>; num-lanes = <1>; + linux,pci-domain = <1>; ti,hwmods = "pcie2"; phys = <&pcie2_phy>; phy-names = "pcie-phy0";
Signature · 1 line
1.7.9.5