From: Jon Hunter <jonathanh@nvidia.com>
To: Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
Date: Mon, 19 Oct 2015 12:41:43 +0100 [thread overview]
Message-ID: <5624D6F7.6020906@nvidia.com> (raw)
In-Reply-To: <56212308.7050405@wwwdotorg.org>
On 16/10/15 17:17, Stephen Warren wrote:
> On 10/16/2015 03:24 AM, Jon Hunter wrote:
>> The description of the XUSB_PADCTL_USB3_PAD_MUX_0 register in the
>> Tegra124
>> documentation implies that all functions (pcie, usb3 and sata) can be
>> muxed onto to all lanes (pcie lanes 0-4 and sata lane 0). However, it has
>> been confirmed that this is not the case and the mux'ing options much
>> more
>> limited. Unfortunately, the public documentation has not been updated to
>> reflect this and so detail the actual mux'ing options here by function:
>
> FWIW, there's better documentation of this in the Tegra210 TRM, although
> the options have been expanded on that chip, so the docs don't entirely
> apply to Tegra124.
Yes I have been trying to get this better documented.
>> Function: Lanes:
>> pcie1 x2: pcie3, pcie4
>> pcie1 x4: pcie1, pcie2, pcie3, pcie4
>> pcie2 x1 (option1): pcie0
>> pcie2 x1 (option2): pcie2
>> usb3 port 0: pcie0
>> usb3 port 1 (option 1): pcie1
>> usb3 port 1 (option 2): sata0
>> sata: sata0
>
> I think this change needs a DT binding change to go along with it. Can
> you take a look at:
>
> http://www.spinics.net/lists/arm-kernel/msg449647.html
> [PATCH 1/2] dt: update Tegra XUSB padctl binding for Tegra210
>
> (Sorry, I didn't realize anyone other than Thierry and Andrew were
> working on XUSB/padctl so didn't explicitly CC you on that.)
>
> ... to see what would need to be changed there? Or from a binding
> perspective should we simply assume that people will refer to the HW
> docs (or other information sources) for the exact list of available
> options?
Yes may be the above needs to go in the binding doc. For t124, I don't
think that the TRM will get updated now.
Jon
WARNING: multiple messages have this Message-ID (diff)
From: Jon Hunter <jonathanh@nvidia.com>
To: Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
<linux-gpio@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
Date: Mon, 19 Oct 2015 12:41:43 +0100 [thread overview]
Message-ID: <5624D6F7.6020906@nvidia.com> (raw)
In-Reply-To: <56212308.7050405@wwwdotorg.org>
On 16/10/15 17:17, Stephen Warren wrote:
> On 10/16/2015 03:24 AM, Jon Hunter wrote:
>> The description of the XUSB_PADCTL_USB3_PAD_MUX_0 register in the
>> Tegra124
>> documentation implies that all functions (pcie, usb3 and sata) can be
>> muxed onto to all lanes (pcie lanes 0-4 and sata lane 0). However, it has
>> been confirmed that this is not the case and the mux'ing options much
>> more
>> limited. Unfortunately, the public documentation has not been updated to
>> reflect this and so detail the actual mux'ing options here by function:
>
> FWIW, there's better documentation of this in the Tegra210 TRM, although
> the options have been expanded on that chip, so the docs don't entirely
> apply to Tegra124.
Yes I have been trying to get this better documented.
>> Function: Lanes:
>> pcie1 x2: pcie3, pcie4
>> pcie1 x4: pcie1, pcie2, pcie3, pcie4
>> pcie2 x1 (option1): pcie0
>> pcie2 x1 (option2): pcie2
>> usb3 port 0: pcie0
>> usb3 port 1 (option 1): pcie1
>> usb3 port 1 (option 2): sata0
>> sata: sata0
>
> I think this change needs a DT binding change to go along with it. Can
> you take a look at:
>
> http://www.spinics.net/lists/arm-kernel/msg449647.html
> [PATCH 1/2] dt: update Tegra XUSB padctl binding for Tegra210
>
> (Sorry, I didn't realize anyone other than Thierry and Andrew were
> working on XUSB/padctl so didn't explicitly CC you on that.)
>
> ... to see what would need to be changed there? Or from a binding
> perspective should we simply assume that people will refer to the HW
> docs (or other information sources) for the exact list of available
> options?
Yes may be the above needs to go in the binding doc. For t124, I don't
think that the TRM will get updated now.
Jon
next prev parent reply other threads:[~2015-10-19 11:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 9:24 [PATCH] pinctrl: tegra-xusb: Correct lane mux options Jon Hunter
[not found] ` <1444987441-25176-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-16 16:17 ` Stephen Warren
2015-10-16 16:17 ` Stephen Warren
2015-10-19 11:41 ` Jon Hunter [this message]
2015-10-19 11:41 ` Jon Hunter
2015-10-20 11:28 ` Jon Hunter
2015-10-20 11:28 ` Jon Hunter
2015-10-20 16:08 ` Stephen Warren
2015-10-20 18:02 ` Jon Hunter
2015-10-20 18:02 ` Jon Hunter
2015-10-20 18:36 ` Stephen Warren
2015-10-23 7:22 ` Jon Hunter
2015-10-23 7:22 ` Jon Hunter
2015-10-23 18:56 ` Stephen Warren
2015-10-23 18:56 ` Stephen Warren
2015-10-27 16:07 ` Linus Walleij
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=5624D6F7.6020906@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@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 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.