* [PATCH] pinctrl: tegra-xusb: Correct lane mux options
@ 2015-10-16 9:24 Jon Hunter
[not found] ` <1444987441-25176-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-27 16:07 ` Linus Walleij
0 siblings, 2 replies; 10+ messages in thread
From: Jon Hunter @ 2015-10-16 9:24 UTC (permalink / raw)
To: Linus Walleij, Stephen Warren, Thierry Reding, Alexandre Courbot
Cc: linux-gpio, linux-tegra, linux-kernel, Jon Hunter
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:
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
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
drivers/pinctrl/pinctrl-tegra-xusb.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c b/drivers/pinctrl/pinctrl-tegra-xusb.c
index 2651d04bd1be..84a43e612952 100644
--- a/drivers/pinctrl/pinctrl-tegra-xusb.c
+++ b/drivers/pinctrl/pinctrl-tegra-xusb.c
@@ -760,24 +760,15 @@ static const char * const tegra124_pcie_groups[] = {
"pcie-2",
"pcie-3",
"pcie-4",
- "sata-0",
};
static const char * const tegra124_usb3_groups[] = {
"pcie-0",
"pcie-1",
- "pcie-2",
- "pcie-3",
- "pcie-4",
"sata-0",
};
static const char * const tegra124_sata_groups[] = {
- "pcie-0",
- "pcie-1",
- "pcie-2",
- "pcie-3",
- "pcie-4",
"sata-0",
};
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
[not found] ` <1444987441-25176-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2015-10-16 16:17 ` Stephen Warren
2015-10-19 11:41 ` Jon Hunter
2015-10-20 11:28 ` Jon Hunter
2015-10-23 18:56 ` Stephen Warren
1 sibling, 2 replies; 10+ messages in thread
From: Stephen Warren @ 2015-10-16 16:17 UTC (permalink / raw)
To: Jon Hunter, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot,
linux-gpio-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
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.
> 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?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-16 16:17 ` Stephen Warren
@ 2015-10-19 11:41 ` Jon Hunter
2015-10-20 11:28 ` Jon Hunter
1 sibling, 0 replies; 10+ messages in thread
From: Jon Hunter @ 2015-10-19 11:41 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot, linux-gpio, linux-tegra,
linux-kernel
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-16 16:17 ` Stephen Warren
2015-10-19 11:41 ` Jon Hunter
@ 2015-10-20 11:28 ` Jon Hunter
2015-10-20 16:08 ` Stephen Warren
1 sibling, 1 reply; 10+ messages in thread
From: Jon Hunter @ 2015-10-20 11:28 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot, linux-gpio, linux-tegra,
linux-kernel
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.
>
>> 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
I took a look at the above and it looks fine to me. Do you want me to
put the above info into the DT binding doc? I am not sure that we need
to update the binding itself.
Jon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-20 11:28 ` Jon Hunter
@ 2015-10-20 16:08 ` Stephen Warren
2015-10-20 18:02 ` Jon Hunter
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Warren @ 2015-10-20 16:08 UTC (permalink / raw)
To: Jon Hunter, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot, linux-gpio, linux-tegra,
linux-kernel
On 10/20/2015 05:28 AM, Jon Hunter wrote:
>
> 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.
>>
>>> 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
>
> I took a look at the above and it looks fine to me. Do you want me to
> put the above info into the DT binding doc? I am not sure that we need
> to update the binding itself.
Hmm. I guess there /should/ be no need for the DT bindings to list out
all the valid combinations; it should just say "go read the HW docs". Of
course as you mentioned our HW docs aren't quite as complete as they
should be in this area, but still solving that in the DT binding doc may
not be the best approach. But then again, the DT binding doc already
lists which functions are valid for which groups of pins, but perhaps
that's more about understanding the structure of the binding than the HW.
I guess I'll leave it up to you which way to go. Perhaps let's not
pursue adding this to the binding doc until we get the PHY-per-lane
changes in place or rejected or the two changes will conflict badly?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-20 16:08 ` Stephen Warren
@ 2015-10-20 18:02 ` Jon Hunter
2015-10-20 18:36 ` Stephen Warren
0 siblings, 1 reply; 10+ messages in thread
From: Jon Hunter @ 2015-10-20 18:02 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot, linux-gpio, linux-tegra,
linux-kernel
On 20/10/15 17:08, Stephen Warren wrote:
> On 10/20/2015 05:28 AM, Jon Hunter wrote:
>>
>> 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.
>>>
>>>> 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
>>
>> I took a look at the above and it looks fine to me. Do you want me to
>> put the above info into the DT binding doc? I am not sure that we need
>> to update the binding itself.
>
> Hmm. I guess there /should/ be no need for the DT bindings to list out
> all the valid combinations; it should just say "go read the HW docs". Of
> course as you mentioned our HW docs aren't quite as complete as they
> should be in this area, but still solving that in the DT binding doc may
> not be the best approach. But then again, the DT binding doc already
> lists which functions are valid for which groups of pins, but perhaps
> that's more about understanding the structure of the binding than the HW.
I had thought about trying to put the options in the tegra124.dtsi, but
I am not sure if there is an easy way to do that without having ...
padctl@0,7009f000 {
...
padctl_option1: pinmux {
usb3 {...};
pcie {...};
sata {...};
};
padctl_option2: pinmux {
usb3 {...};
pcie {...};
sata {...};
};
...
padctl_optionN: pinmux {
usb3 {...};
pcie {...};
sata {...};
};
};
... that would be a long-ish list. Unless there is a better way to do it?
> I guess I'll leave it up to you which way to go. Perhaps let's not
> pursue adding this to the binding doc until we get the PHY-per-lane
> changes in place or rejected or the two changes will conflict badly?
That's fine with me. Are you ok with this patch as-is going upstream for
now?
Jon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-20 18:02 ` Jon Hunter
@ 2015-10-20 18:36 ` Stephen Warren
2015-10-23 7:22 ` Jon Hunter
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Warren @ 2015-10-20 18:36 UTC (permalink / raw)
To: Jon Hunter, Thierry Reding
Cc: Linus Walleij, Alexandre Courbot, linux-gpio, linux-tegra,
linux-kernel
On 10/20/2015 12:02 PM, Jon Hunter wrote:
>
> On 20/10/15 17:08, Stephen Warren wrote:
>> On 10/20/2015 05:28 AM, Jon Hunter wrote:
>>>
>>> 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.
>>>>
>>>>> 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
>>>
>>> I took a look at the above and it looks fine to me. Do you want me to
>>> put the above info into the DT binding doc? I am not sure that we need
>>> to update the binding itself.
>>
>> Hmm. I guess there /should/ be no need for the DT bindings to list out
>> all the valid combinations; it should just say "go read the HW docs". Of
>> course as you mentioned our HW docs aren't quite as complete as they
>> should be in this area, but still solving that in the DT binding doc may
>> not be the best approach. But then again, the DT binding doc already
>> lists which functions are valid for which groups of pins, but perhaps
>> that's more about understanding the structure of the binding than the HW.
>
> I had thought about trying to put the options in the tegra124.dtsi, but
> I am not sure if there is an easy way to do that without having ...
>
> padctl@0,7009f000 {
> ...
>
> padctl_option1: pinmux {
> usb3 {...};
> pcie {...};
> sata {...};
> };
> padctl_option2: pinmux {
> usb3 {...};
> pcie {...};
> sata {...};
> };
> ...
> padctl_optionN: pinmux {
> usb3 {...};
> pcie {...};
> sata {...};
> };
> };
>
> ... that would be a long-ish list. Unless there is a better way to do it?
Well, you could break it down to N options per controller type or port
rather than all N global options which might simplify things a bit
(fewer combinatorics to worry about), but I expect it'd still be more
trouble than its worth. People designing HW are who actually care about
the set of valid options, and they're more likely to get that
information via talking to NV systems engineers rather than looking at
the DT binding.
>> I guess I'll leave it up to you which way to go. Perhaps let's not
>> pursue adding this to the binding doc until we get the PHY-per-lane
>> changes in place or rejected or the two changes will conflict badly?
>
> That's fine with me. Are you ok with this patch as-is going upstream for
> now?
Yes, the code change is fine as is.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
2015-10-20 18:36 ` Stephen Warren
@ 2015-10-23 7:22 ` Jon Hunter
0 siblings, 0 replies; 10+ messages in thread
From: Jon Hunter @ 2015-10-23 7:22 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding
Cc: Alexandre Courbot, linux-gpio, linux-tegra, linux-kernel
On 20/10/15 19:36, Stephen Warren wrote:
> On 10/20/2015 12:02 PM, Jon Hunter wrote:
>>
>> On 20/10/15 17:08, Stephen Warren wrote:
>>> On 10/20/2015 05:28 AM, Jon Hunter wrote:
>>>>
>>>> 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.
>>>>>
>>>>>> 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
[snip]
>> That's fine with me. Are you ok with this patch as-is going upstream for
>> now?
>
> Yes, the code change is fine as is.
Care to ACK this so Linus can pick it up?
Cheers
Jon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
[not found] ` <1444987441-25176-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-16 16:17 ` Stephen Warren
@ 2015-10-23 18:56 ` Stephen Warren
1 sibling, 0 replies; 10+ messages in thread
From: Stephen Warren @ 2015-10-23 18:56 UTC (permalink / raw)
To: Jon Hunter, Linus Walleij, Thierry Reding
Cc: Alexandre Courbot, linux-gpio-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
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:
>
> 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
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
I didn't check the actual lists of values, but it sounds about right
from memory.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options
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-27 16:07 ` Linus Walleij
1 sibling, 0 replies; 10+ messages in thread
From: Linus Walleij @ 2015-10-27 16:07 UTC (permalink / raw)
To: Jon Hunter
Cc: Stephen Warren, Thierry Reding, Alexandre Courbot,
linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
On Fri, Oct 16, 2015 at 11:24 AM, Jon Hunter <jonathanh@nvidia.com> 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:
>
> 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
>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Patch applied with Stephen's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-10-27 16:07 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-19 11:41 ` 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:36 ` Stephen Warren
2015-10-23 7:22 ` Jon Hunter
2015-10-23 18:56 ` Stephen Warren
2015-10-27 16:07 ` Linus Walleij
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).