[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <541E11BB.7070202@gmail.com>
Date: Sun, 21 Sep 2014 01:46:03 +0200
From: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
To: unlisted-recipients:; (no To-header on input)
CC: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jason Cooper <jason@...edaemon.net>,
Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 3/5] ARM: mvebu: armada-xp: Correct misnumbered PCIe port
nodes
On 09/20/2014 08:06 PM, Sebastian Hesselbarth wrote:
> Currently, Armada XP PCIe nodes are numbered pcie@<N>,0 with N just
> incrementing. To reflect port/lane relationship, rename the nodes
> to pcie@<port>,<lane>. While at it, add node aliases to each of pcie
> controller and port nodes and get rid of now redundant port/lane
> comments.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
> ---
After thinking a while about the current numbering scheme, I have to
admit that it is correct. The @numbers represent assigned-address of
the pcie port and this what it is right now.
If there are no more comments, I'll resend the series without messing
with the numbering scheme.
Sebastian
> ---
> arch/arm/boot/dts/armada-xp-axpwifiap.dts | 11 ++++-------
> arch/arm/boot/dts/armada-xp-db.dts | 20 +++++++-------------
> arch/arm/boot/dts/armada-xp-gp.dts | 11 ++++-------
> arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 8 +++-----
> arch/arm/boot/dts/armada-xp-matrix.dts | 5 ++---
> arch/arm/boot/dts/armada-xp-mv78230.dtsi | 12 ++++++------
> arch/arm/boot/dts/armada-xp-mv78260.dtsi | 20 ++++++++++----------
> arch/arm/boot/dts/armada-xp-mv78460.dtsi | 22 +++++++++++-----------
> arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 11 ++++-------
> arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 5 ++---
> 10 files changed, 53 insertions(+), 72 deletions(-)
>
> diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> index 0e53fad111de..1b2dd3a4000b 100644
> --- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> +++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts
> @@ -37,24 +37,21 @@
> ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
> MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
>
> - pcie-controller {
> + pcie: pcie-controller {
> status = "okay";
>
> /* First mini-PCIe port */
> - pcie@1,0 {
> - /* Port 0, Lane 0 */
> + pcie00: pcie@0,0 {
> status = "okay";
> };
>
> /* Second mini-PCIe port */
> - pcie@2,0 {
> - /* Port 0, Lane 1 */
> + pcie01: pcie@0,1 {
> status = "okay";
> };
>
> /* Renesas uPD720202 USB 3.0 controller */
> - pcie@3,0 {
> - /* Port 0, Lane 3 */
> + pcie03: pcie@0,3 {
> status = "okay";
> };
> };
[...]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists