From: Bjorn Helgaas <helgaas@kernel.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Alexandre Courbot <gnurou@gmail.com>,
linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v4 1/2] dt-bindings: pci: tegra: Update for per-lane PHYs
Date: Fri, 8 Apr 2016 11:48:14 -0500 [thread overview]
Message-ID: <20160408164814.GB15034@localhost> (raw)
In-Reply-To: <1460131994-24493-1-git-send-email-thierry.reding@gmail.com>
Hi Thierry,
On Fri, Apr 08, 2016 at 06:13:13PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> Changes to the pad controller device tree binding
Is there a commit we can reference for this pad controller binding
change? If so, I can fold it in.
Is there a benefit to keeping this binding patch separate from the
corresponding driver patch? It seems like it'd nice to have a
connection between them. (Sorry, I'm sure I've asked this before,
but I can't remember the answer.)
Trivial typos below that I've already fixed, but you can fold them in
if there's any reason to repost this.
> have required that
> each lane be associated with a separate PHY. Update the PCI host bridge
> device tree binding to allow each root port to define the list of PHYs
> required to drive the lanes associated with it.
>
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> Changes in v4:
> - add additional lanes subnode when dereferencing PHYs from the XUSB pad
> controller to reflect changes in its binding
>
> .../devicetree/bindings/pci/nvidia,tegra20-pcie.txt | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
> index 75321ae23c08..f5364084b494 100644
> --- a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
> @@ -60,11 +60,14 @@ Required properties:
> - afi
> - pcie_x
>
> -Required properties on Tegra124 and later:
> +Required properties on Tegra124 and later (deprecated):
> - phys: Must contain an entry for each entry in phy-names.
> - phy-names: Must include the following entries:
> - pcie
>
> +These properties are deprecated in favour of per-lane PHYs define in each of
s/define/defined/
> +the root ports (see below).
> +
> Power supplies for Tegra20:
> - avdd-pex-supply: Power supply for analog PCIe logic. Must supply 1.05 V.
> - vdd-pex-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
> @@ -122,6 +125,13 @@ Required properties:
> - Root port 0 uses 4 lanes, root port 1 is unused.
> - Both root ports use 2 lanes.
>
> +Required properties for Tegra124 and later:
> +- phys: Must contain an phandle to a PHY for each entry in phy-names.
s/an phandle/a phandle/
> +- phy-names: Must include an entry for each active lane. Note that the number
> + of entries does not have to (though usually will) be equal to the specified
> + number of lanes in the nvidia,num-lanes property. Entries are of the form
> + "pcie-N": where N ranges from 0 to the value specified in nvidia,num-lanes.
> +
> Example:
>
> SoC DTSI:
> @@ -169,6 +179,9 @@ SoC DTSI:
> ranges;
>
> nvidia,num-lanes = <2>;
> +
> + phys = <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-4}>;
> + phy-names = "pcie-0";
> };
>
> pci@2,0 {
> @@ -183,6 +196,9 @@ SoC DTSI:
> ranges;
>
> nvidia,num-lanes = <2>;
> +
> + phys = <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-2}>;
> + phy-names = "pcie-0";
> };
> };
>
> --
> 2.8.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-04-08 16:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 16:13 [PATCH v4 1/2] dt-bindings: pci: tegra: Update for per-lane PHYs Thierry Reding
2016-04-08 16:13 ` [PATCH v4 2/2] PCI: tegra: Support " Thierry Reding
2016-04-08 18:05 ` Bjorn Helgaas
2016-04-11 11:11 ` Thierry Reding
2016-04-11 17:41 ` Stephen Warren
2016-04-08 16:48 ` Bjorn Helgaas [this message]
2016-04-11 10:23 ` [PATCH v4 1/2] dt-bindings: pci: tegra: Update for " Thierry Reding
2016-04-08 19:11 ` Bjorn Helgaas
2016-04-11 11:26 ` Thierry Reding
2016-04-11 16:55 ` Stephen Warren
2016-04-11 17:38 ` Stephen Warren
2016-04-13 16:23 ` Thierry Reding
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=20160408164814.GB15034@localhost \
--to=helgaas@kernel.org \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.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 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).