linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support
@ 2017-12-19  9:31 Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Kishon Vijay Abraham I
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Add properties to enable PCIe x2 lane mode since all dra7
based SoCs support x2 lane mode.

However only dra76-evm has a slot which can support x2 lane
cards. Hence only enable x2 lane mode in dra76-evm.
(am571x-idk can support x2 lane mode but that makes usb port
not functional so not including the patch to enable
x2 mode in am571x-idk)

Also included in this series is patch to enable PCIe configs
(both host and device) in omap2plus_defconfig and
multi_v7_defconfig

In order to get x2 mode working [1] is required.

However by keeping the older compatible, this series won't
break functionality if this series is merged before [1]

[1] -> https://lkml.org/lkml/2017/12/19/175

Kishon Vijay Abraham I (7):
  ARM: dts: dra7: Add properties to enable PCIe x2 lane mode
  ARM: dts: DRA74x: Use PCIe compatible specific to dra74
  ARM: dts: DRA72x: Use PCIe compatible specific to dra72
  ARM: dts: dra76-evm: Enable x2 PCIe lanes
  ARM: dts: dra7: Remove deprecated PCI compatible string
  ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
    modes)
  ARM: multi_v7_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
    modes)

 arch/arm/boot/dts/dra7.dtsi          |  9 +++++----
 arch/arm/boot/dts/dra72x.dtsi        | 12 ++++++++++++
 arch/arm/boot/dts/dra74x.dtsi        | 12 ++++++++++++
 arch/arm/boot/dts/dra76-evm.dts      | 16 ++++++++++++++++
 arch/arm/configs/multi_v7_defconfig  |  6 ++++++
 arch/arm/configs/omap2plus_defconfig |  8 ++++++++
 6 files changed, 59 insertions(+), 4 deletions(-)

-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 2/7] ARM: dts: DRA74x: Use PCIe compatible specific to dra74 Kishon Vijay Abraham I
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

ti,syscon-lane-sel and ti,syscon-lane-conf properties specific to enable
PCIe x2 lane mode are added here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index ac9216293b7c..9966d82dbd7c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -309,6 +309,8 @@
 				ti,hwmods = "pcie1";
 				phys = <&pcie1_phy>;
 				phy-names = "pcie-phy0";
+				ti,syscon-lane-conf = <&scm_conf 0x558>;
+				ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
 				interrupt-map-mask = <0 0 0 7>;
 				interrupt-map = <0 0 0 1 &pcie1_intc 1>,
 						<0 0 0 2 &pcie1_intc 2>,
@@ -334,6 +336,8 @@
 				phys = <&pcie1_phy>;
 				phy-names = "pcie-phy0";
 				ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
+				ti,syscon-lane-conf = <&scm_conf 0x558>;
+				ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
 				status = "disabled";
 			};
 		};
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/7] ARM: dts: DRA74x: Use PCIe compatible specific to dra74
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 3/7] ARM: dts: DRA72x: Use PCIe compatible specific to dra72 Kishon Vijay Abraham I
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Use dra74 specific compatible string for PCIe while preserving
the older compatible. While at that add a new label for the
2nd instance of pcie.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi   |  2 +-
 arch/arm/boot/dts/dra74x.dtsi | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 9966d82dbd7c..333f6a634ff9 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -349,7 +349,7 @@
 			ranges = <0x51800000 0x51800000 0x3000
 				  0x0	     0x30000000 0x10000000>;
 			status = "disabled";
-			pcie@51800000 {
+			pcie2_rc: pcie@51800000 {
 				compatible = "ti,dra7-pcie";
 				reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
 				reg-names = "rc_dbics", "ti_conf", "config";
diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi
index 24e6746c5b26..a001eecf3b14 100644
--- a/arch/arm/boot/dts/dra74x.dtsi
+++ b/arch/arm/boot/dts/dra74x.dtsi
@@ -124,3 +124,15 @@
 		status = "disabled";
 	};
 };
+
+&pcie1_rc {
+	compatible = "ti,dra746-pcie-rc", "ti,dra7-pcie";
+};
+
+&pcie1_ep {
+	compatible = "ti,dra746-pcie-ep", "ti,dra7-pcie-ep";
+};
+
+&pcie2_rc {
+	compatible = "ti,dra746-pcie-rc", "ti,dra7-pcie";
+};
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/7] ARM: dts: DRA72x: Use PCIe compatible specific to dra72
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 2/7] ARM: dts: DRA74x: Use PCIe compatible specific to dra74 Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes Kishon Vijay Abraham I
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Use dra72 specific compatible string for PCIe while preserving
the older compatible.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra72x.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi
index 67107605fb4c..2dafad834d3d 100644
--- a/arch/arm/boot/dts/dra72x.dtsi
+++ b/arch/arm/boot/dts/dra72x.dtsi
@@ -50,3 +50,15 @@
 		status = "disabled";
 	};
 };
+
+&pcie1_rc {
+	compatible = "ti,dra726-pcie-rc", "ti,dra7-pcie";
+};
+
+&pcie1_ep {
+	compatible = "ti,dra726-pcie-ep", "ti,dra7-pcie-ep";
+};
+
+&pcie2_rc {
+	compatible = "ti,dra726-pcie-rc", "ti,dra7-pcie";
+};
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (2 preceding siblings ...)
  2017-12-19  9:31 ` [PATCH 3/7] ARM: dts: DRA72x: Use PCIe compatible specific to dra72 Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 5/7] ARM: dts: dra7: Remove deprecated PCI compatible string Kishon Vijay Abraham I
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

DRA76 EVM has a 4-lane PCIe connector and DRA76 can support x2 lanes.
Enable both the PCIe lanes here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra76-evm.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts
index b024a65c6e27..244e553f2247 100644
--- a/arch/arm/boot/dts/dra76-evm.dts
+++ b/arch/arm/boot/dts/dra76-evm.dts
@@ -421,3 +421,19 @@
 		spi-max-frequency = <96000000>;
 	};
 };
+
+&pcie2_phy {
+	status = "okay";
+};
+
+&pcie1_rc {
+	num-lanes = <2>;
+	phys = <&pcie1_phy>, <&pcie2_phy>;
+	phy-names = "pcie-phy0", "pcie-phy1";
+};
+
+&pcie1_ep {
+	num-lanes = <2>;
+	phys = <&pcie1_phy>, <&pcie2_phy>;
+	phy-names = "pcie-phy0", "pcie-phy1";
+};
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/7] ARM: dts: dra7: Remove deprecated PCI compatible string
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (3 preceding siblings ...)
  2017-12-19  9:31 ` [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes) Kishon Vijay Abraham I
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Since SoC specific compatible strings are used for PCIe in
dra74x.dtsi and dra72x.dtsi, remove the compatible property
from dra7.dtsi which uses the deprecated compatible string.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 333f6a634ff9..1efa908c7bce 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -293,7 +293,6 @@
 			 * node and enable pcie1_ep mode.
 			 */
 			pcie1_rc: pcie@51000000 {
-				compatible = "ti,dra7-pcie";
 				reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
 				reg-names = "rc_dbics", "ti_conf", "config";
 				interrupts = <0 232 0x4>, <0 233 0x4>;
@@ -325,7 +324,6 @@
 			};
 
 			pcie1_ep: pcie_ep@51000000 {
-				compatible = "ti,dra7-pcie-ep";
 				reg = <0x51000000 0x28>, <0x51002000 0x14c>, <0x51001000 0x28>, <0x1000 0x10000000>;
 				reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
 				interrupts = <0 232 0x4>;
@@ -350,7 +348,6 @@
 				  0x0	     0x30000000 0x10000000>;
 			status = "disabled";
 			pcie2_rc: pcie@51800000 {
-				compatible = "ti,dra7-pcie";
 				reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
 				reg-names = "rc_dbics", "ti_conf", "config";
 				interrupts = <0 355 0x4>, <0 356 0x4>;
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 6/7] ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes)
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (4 preceding siblings ...)
  2017-12-19  9:31 ` [PATCH 5/7] ARM: dts: dra7: Remove deprecated PCI compatible string Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-19  9:31 ` [PATCH 7/7] ARM: multi_v7_defconfig: " Kishon Vijay Abraham I
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Enable CONFIG_PCI_DRA7XX in order to be able to configure PCIe
controller present in dra7 SoCs in both host mode and device mode.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/configs/omap2plus_defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 7b97200c1d64..a01871d5aa73 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -48,6 +48,13 @@ CONFIG_SOC_AM43XX=y
 CONFIG_SOC_DRA7XX=y
 CONFIG_ARM_THUMBEE=y
 CONFIG_ARM_ERRATA_411920=y
+CONFIG_PCI=y
+CONFIG_PCI_MSI=y
+CONFIG_PCI_DRA7XX=y
+CONFIG_PCI_DRA7XX_EP=y
+CONFIG_PCI_ENDPOINT=y
+CONFIG_PCI_ENDPOINT_CONFIGFS=y
+CONFIG_PCI_EPF_TEST=m
 CONFIG_SMP=y
 CONFIG_NR_CPUS=2
 CONFIG_CMA=y
@@ -137,6 +144,7 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=16384
 CONFIG_SENSORS_TSL2550=m
 CONFIG_SRAM=y
+CONFIG_PCI_ENDPOINT_TEST=m
 CONFIG_EEPROM_AT24=m
 CONFIG_BLK_DEV_SD=y
 CONFIG_SCSI_SCAN_ASYNC=y
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 7/7] ARM: multi_v7_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes)
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (5 preceding siblings ...)
  2017-12-19  9:31 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes) Kishon Vijay Abraham I
@ 2017-12-19  9:31 ` Kishon Vijay Abraham I
  2017-12-21 15:13 ` [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Tony Lindgren
  2018-03-07 12:08 ` Lorenzo Pieralisi
  8 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2017-12-19  9:31 UTC (permalink / raw)
  To: Tony Lindgren, bcousson
  Cc: Mark Rutland, devicetree, kishon, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, linux-omap,
	linux-arm-kernel

Enable CONFIG_PCI_DRA7XX in order to be able to configure PCIe
controller present in dra7 SoCs in both host mode and device mode.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/configs/multi_v7_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 61509c4b769f..6faecd55ccbd 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -116,6 +116,8 @@ CONFIG_ARCH_ZYNQ=y
 CONFIG_TRUSTED_FOUNDATIONS=y
 CONFIG_PCI=y
 CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_DRA7XX=y
+CONFIG_PCI_DRA7XX_EP=y
 CONFIG_PCI_KEYSTONE=y
 CONFIG_PCI_MSI=y
 CONFIG_PCI_MVEBU=y
@@ -123,6 +125,9 @@ CONFIG_PCI_TEGRA=y
 CONFIG_PCI_RCAR_GEN2=y
 CONFIG_PCIE_RCAR=y
 CONFIG_PCIEPORTBUS=y
+CONFIG_PCI_ENDPOINT=y
+CONFIG_PCI_ENDPOINT_CONFIGFS=y
+CONFIG_PCI_EPF_TEST=m
 CONFIG_SMP=y
 CONFIG_NR_CPUS=16
 CONFIG_HIGHPTE=y
@@ -222,6 +227,7 @@ CONFIG_ATMEL_SSC=m
 CONFIG_QCOM_COINCELL=m
 CONFIG_APDS9802ALS=y
 CONFIG_ISL29003=y
+CONFIG_PCI_ENDPOINT_TEST=m
 CONFIG_EEPROM_AT24=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_DEV_SR=y
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (6 preceding siblings ...)
  2017-12-19  9:31 ` [PATCH 7/7] ARM: multi_v7_defconfig: " Kishon Vijay Abraham I
@ 2017-12-21 15:13 ` Tony Lindgren
  2018-03-07 12:08 ` Lorenzo Pieralisi
  8 siblings, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2017-12-21 15:13 UTC (permalink / raw)
  To: Kishon Vijay Abraham I
  Cc: Mark Rutland, devicetree, linux-pci, nsekhar, Russell King,
	linux-kernel, Rob Herring, bcousson, linux-omap,
	linux-arm-kernel

* Kishon Vijay Abraham I <kishon@ti.com> [171219 01:34]:
> Add properties to enable PCIe x2 lane mode since all dra7
> based SoCs support x2 lane mode.
> 
> However only dra76-evm has a slot which can support x2 lane
> cards. Hence only enable x2 lane mode in dra76-evm.
> (am571x-idk can support x2 lane mode but that makes usb port
> not functional so not including the patch to enable
> x2 mode in am571x-idk)
> 
> Also included in this series is patch to enable PCIe configs
> (both host and device) in omap2plus_defconfig and
> multi_v7_defconfig
> 
> In order to get x2 mode working [1] is required.
> 
> However by keeping the older compatible, this series won't
> break functionality if this series is merged before [1]

OK applying into omap-for-v4.16/dt and omap-for-v4.16/defconfig.

Thanks,

Tony

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support
  2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
                   ` (7 preceding siblings ...)
  2017-12-21 15:13 ` [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Tony Lindgren
@ 2018-03-07 12:08 ` Lorenzo Pieralisi
  2018-03-07 12:27   ` Kishon Vijay Abraham I
  8 siblings, 1 reply; 11+ messages in thread
From: Lorenzo Pieralisi @ 2018-03-07 12:08 UTC (permalink / raw)
  To: Kishon Vijay Abraham I
  Cc: Mark Rutland, devicetree, Tony Lindgren, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, bcousson, linux-omap,
	linux-arm-kernel

On Tue, Dec 19, 2017 at 03:01:26PM +0530, Kishon Vijay Abraham I wrote:
> Add properties to enable PCIe x2 lane mode since all dra7
> based SoCs support x2 lane mode.
> 
> However only dra76-evm has a slot which can support x2 lane
> cards. Hence only enable x2 lane mode in dra76-evm.
> (am571x-idk can support x2 lane mode but that makes usb port
> not functional so not including the patch to enable
> x2 mode in am571x-idk)
> 
> Also included in this series is patch to enable PCIe configs
> (both host and device) in omap2plus_defconfig and
> multi_v7_defconfig
> 
> In order to get x2 mode working [1] is required.
> 
> However by keeping the older compatible, this series won't
> break functionality if this series is merged before [1]
> 
> [1] -> https://lkml.org/lkml/2017/12/19/175
> 
> Kishon Vijay Abraham I (7):
>   ARM: dts: dra7: Add properties to enable PCIe x2 lane mode
>   ARM: dts: DRA74x: Use PCIe compatible specific to dra74
>   ARM: dts: DRA72x: Use PCIe compatible specific to dra72
>   ARM: dts: dra76-evm: Enable x2 PCIe lanes
>   ARM: dts: dra7: Remove deprecated PCI compatible string
>   ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
>     modes)
>   ARM: multi_v7_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
>     modes)
> 
>  arch/arm/boot/dts/dra7.dtsi          |  9 +++++----
>  arch/arm/boot/dts/dra72x.dtsi        | 12 ++++++++++++
>  arch/arm/boot/dts/dra74x.dtsi        | 12 ++++++++++++
>  arch/arm/boot/dts/dra76-evm.dts      | 16 ++++++++++++++++
>  arch/arm/configs/multi_v7_defconfig  |  6 ++++++
>  arch/arm/configs/omap2plus_defconfig |  8 ++++++++
>  6 files changed, 59 insertions(+), 4 deletions(-)

Hi Kishon,

I would like to ask you please what are your expectations with this
series, which tree these changes are going to be queued through ?

Please let me know, thanks.

Lorenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support
  2018-03-07 12:08 ` Lorenzo Pieralisi
@ 2018-03-07 12:27   ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2018-03-07 12:27 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: Mark Rutland, devicetree, Tony Lindgren, linux-pci, nsekhar,
	Russell King, linux-kernel, Rob Herring, bcousson, linux-omap,
	linux-arm-kernel

Hi Lorenzo,

On Wednesday 07 March 2018 05:38 PM, Lorenzo Pieralisi wrote:
> On Tue, Dec 19, 2017 at 03:01:26PM +0530, Kishon Vijay Abraham I wrote:
>> Add properties to enable PCIe x2 lane mode since all dra7
>> based SoCs support x2 lane mode.
>>
>> However only dra76-evm has a slot which can support x2 lane
>> cards. Hence only enable x2 lane mode in dra76-evm.
>> (am571x-idk can support x2 lane mode but that makes usb port
>> not functional so not including the patch to enable
>> x2 mode in am571x-idk)
>>
>> Also included in this series is patch to enable PCIe configs
>> (both host and device) in omap2plus_defconfig and
>> multi_v7_defconfig
>>
>> In order to get x2 mode working [1] is required.
>>
>> However by keeping the older compatible, this series won't
>> break functionality if this series is merged before [1]
>>
>> [1] -> https://lkml.org/lkml/2017/12/19/175
>>
>> Kishon Vijay Abraham I (7):
>>   ARM: dts: dra7: Add properties to enable PCIe x2 lane mode
>>   ARM: dts: DRA74x: Use PCIe compatible specific to dra74
>>   ARM: dts: DRA72x: Use PCIe compatible specific to dra72
>>   ARM: dts: dra76-evm: Enable x2 PCIe lanes
>>   ARM: dts: dra7: Remove deprecated PCI compatible string
>>   ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
>>     modes)
>>   ARM: multi_v7_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device
>>     modes)
>>
>>  arch/arm/boot/dts/dra7.dtsi          |  9 +++++----
>>  arch/arm/boot/dts/dra72x.dtsi        | 12 ++++++++++++
>>  arch/arm/boot/dts/dra74x.dtsi        | 12 ++++++++++++
>>  arch/arm/boot/dts/dra76-evm.dts      | 16 ++++++++++++++++
>>  arch/arm/configs/multi_v7_defconfig  |  6 ++++++
>>  arch/arm/configs/omap2plus_defconfig |  8 ++++++++
>>  6 files changed, 59 insertions(+), 4 deletions(-)
> 
> Hi Kishon,
> 
> I would like to ask you please what are your expectations with this
> series, which tree these changes are going to be queued through ?
> 
> Please let me know, thanks.

Rob has given some comments on the dt [1]. I'll post the driver changes and
once that gets accepted I'll post the dts changes. dts changes are generally
merged via linux-omap tree maintained by Tony.

Thanks
Kishon

https://lkml.org/lkml/2017/12/20/625
> 
> Lorenzo
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-03-07 12:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19  9:31 [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 1/7] ARM: dts: dra7: Add properties to enable PCIe x2 lane mode Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 2/7] ARM: dts: DRA74x: Use PCIe compatible specific to dra74 Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 3/7] ARM: dts: DRA72x: Use PCIe compatible specific to dra72 Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 5/7] ARM: dts: dra7: Remove deprecated PCI compatible string Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable CONFIG_PCI_DRA7XX (Host & Device modes) Kishon Vijay Abraham I
2017-12-19  9:31 ` [PATCH 7/7] ARM: multi_v7_defconfig: " Kishon Vijay Abraham I
2017-12-21 15:13 ` [PATCH 0/7] ARM: dts: dra7: Enable x2 lane mode support Tony Lindgren
2018-03-07 12:08 ` Lorenzo Pieralisi
2018-03-07 12:27   ` 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).