All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Tony Lindgren <tony@atomide.com>, <bcousson@baylibre.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>, <linux-pci@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-omap@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <nsekhar@ti.com>,
	<kishon@ti.com>
Subject: [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
Date: Tue, 19 Dec 2017 15:01:30 +0530	[thread overview]
Message-ID: <20171219093133.16565-5-kishon@ti.com> (raw)
In-Reply-To: <20171219093133.16565-1-kishon@ti.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Tony Lindgren <tony@atomide.com>, bcousson@baylibre.com
Cc: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, nsekhar@ti.com,
	kishon@ti.com
Subject: [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
Date: Tue, 19 Dec 2017 15:01:30 +0530	[thread overview]
Message-ID: <20171219093133.16565-5-kishon@ti.com> (raw)
In-Reply-To: <20171219093133.16565-1-kishon@ti.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Tony Lindgren <tony@atomide.com>, <bcousson@baylibre.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, kishon@ti.com,
	linux-pci@vger.kernel.org, nsekhar@ti.com,
	Russell King <linux@armlinux.org.uk>,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
Date: Tue, 19 Dec 2017 15:01:30 +0530	[thread overview]
Message-ID: <20171219093133.16565-5-kishon@ti.com> (raw)
In-Reply-To: <20171219093133.16565-1-kishon@ti.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/7] ARM: dts: dra76-evm: Enable x2 PCIe lanes
Date: Tue, 19 Dec 2017 15:01:30 +0530	[thread overview]
Message-ID: <20171219093133.16565-5-kishon@ti.com> (raw)
In-Reply-To: <20171219093133.16565-1-kishon@ti.com>

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

  parent reply	other threads:[~2017-12-19  9:33 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Kishon Vijay Abraham I
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
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` 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
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` 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
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31 ` Kishon Vijay Abraham I [this message]
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   ` 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   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` 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
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` 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
2017-12-19  9:31   ` Kishon Vijay Abraham I
2017-12-19  9:31   ` 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
2017-12-21 15:13   ` Tony Lindgren
2017-12-21 15:13   ` Tony Lindgren
2018-03-07 12:08 ` Lorenzo Pieralisi
2018-03-07 12:08   ` Lorenzo Pieralisi
2018-03-07 12:08   ` Lorenzo Pieralisi
2018-03-07 12:27   ` Kishon Vijay Abraham I
2018-03-07 12:27     ` Kishon Vijay Abraham I
2018-03-07 12:27     ` Kishon Vijay Abraham I
2018-03-07 12:27     ` Kishon Vijay Abraham I

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171219093133.16565-5-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=nsekhar@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.