* [PATCH v3 0/3] ARM: cleanup PCI specific configs
@ 2016-08-10 12:29 Kishon Vijay Abraham I
2016-08-10 12:29 ` [PATCH v3 1/3] ARM: dts: DRA7: Add "linux, pci-domain" property for pci dt nodes Kishon Vijay Abraham I
0 siblings, 1 reply; 2+ messages in thread
From: Kishon Vijay Abraham I @ 2016-08-10 12:29 UTC (permalink / raw)
To: Russell King, Benoit Cousson, Tony Lindgren, linux-arm-kernel,
linux-kernel, linux-omap, devicetree, linux-samsung-soc,
linux-renesas-soc
Cc: Krzysztof Kozlowski, Magnus Damm, Simon Horman, Shawn Guo,
Nicolas Ferre, nsekhar, kishon, Rob Herring, Krzysztof Halasa,
Kukjin Kim, Sascha Hauer, Santosh Shilimkar, Fabio Estevam,
Alexandre Belloni, Jean-Christophe Plagniol-Villard,
Shiraz Hashim, Viresh Kumar
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(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v3 1/3] ARM: dts: DRA7: Add "linux, pci-domain" property for pci dt nodes
2016-08-10 12:29 [PATCH v3 0/3] ARM: cleanup PCI specific configs Kishon Vijay Abraham I
@ 2016-08-10 12:29 ` Kishon Vijay Abraham I
0 siblings, 0 replies; 2+ messages in thread
From: Kishon Vijay Abraham I @ 2016-08-10 12:29 UTC (permalink / raw)
To: Russell King, Benoit Cousson, Tony Lindgren, linux-arm-kernel,
linux-kernel, linux-omap, devicetree, linux-samsung-soc,
linux-renesas-soc
Cc: Krzysztof Kozlowski, Magnus Damm, Simon Horman, Shawn Guo,
Nicolas Ferre, nsekhar, kishon, Rob Herring, Krzysztof Halasa,
Kukjin Kim, Sascha Hauer, Santosh Shilimkar, Fabio Estevam,
Alexandre Belloni, Jean-Christophe Plagniol-Villard,
Shiraz Hashim, Viresh Kumar
Since DRA7 has multiple PCIe Rootcomplex, add "linux,pci-domain"
property to assign a PCI domain number to each of the host
bridges.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
arch/arm/boot/dts/dra7.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d9bfb94..8a45385 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -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";
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-10 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 12:29 [PATCH v3 0/3] ARM: cleanup PCI specific configs Kishon Vijay Abraham I
2016-08-10 12:29 ` [PATCH v3 1/3] ARM: dts: DRA7: Add "linux, pci-domain" property for pci dt nodes Kishon Vijay Abraham I
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).