From: Ryder Lee <ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
To: Kristian Evensen
<kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Matthias Brugger
<matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Sean Wang <sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
John Crispin <john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
Subject: Re: Questions about bringing up MT7623 board
Date: Mon, 30 Apr 2018 09:42:12 +0800 [thread overview]
Message-ID: <1525052532.5013.5.camel@mtkswgap22> (raw)
In-Reply-To: <CAKfDRXg419rBTeqZ+UqQJFRj5s6CVg0YXzjmhyFxrbJgMkM8fg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Sun, 2018-04-29 at 22:18 +0200, Kristian Evensen wrote:
> Hello,
>
> On Mon, Feb 12, 2018 at 3:49 PM, Kristian Evensen
> <kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> * My board is equipped with a 2.4GHz and a 5GHz wifi card, both
> connected via PCIe. The 2.4 card is connected to a "pure" PCIe-slot
> (pcie@1,0), while the 5GHz uses the slot that is shared between PCIe
> and USB3.0 (I think this is pcie@2,0). Based on my naive
> understanding, in order to enable this slot (as PCIe), I should set
> u3phy2 to okay (since phy is u3port1 in dtsi), but not enable usb2.
> However, when I set u3phy2 to okay, the 2.4GHz card disappears as well
> and I can no long see the PCI bridge (output from lspci is empty). If
> I don't add the u3phy2-node, then the 2.4Ghz card appears, but no
> 5GHz. Does anyone know how to make this slot work in PCIe-mode? I
> tried with pcie@0,0 instead of pcie@2,0 as well, but it did not have
> an effect.
>
We didn't support port2 (pcie@2,0) for mainline version, but if you want
to use it you could take a look at -
https://patchwork.kernel.org/patch/9747713/
grep: HIF_SYSCFG1 /HIF_SYSCFG1_PHY2_MASK
That is, you need to clear these bits to 0 to enable PHY for pcie@2,0.
Thanks.
next prev parent reply other threads:[~2018-04-30 1:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-10 22:02 Questions about bringing up MT7623 board Kristian Evensen
[not found] ` <CAKfDRXhhrndoKMidZYsw=E8BmS7AFsTJHbS4dcYbEoADhjD44Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:33 ` Kristian Evensen
[not found] ` <CAKfDRXg0jeHP9xZRGDNm5tfW1afZd-TPfwbwUzEPiWsy_bfuUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:36 ` John Crispin
[not found] ` <fc2bf32a-eb81-6cd1-9085-b8786ddf0f9c-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 10:40 ` Kristian Evensen
[not found] ` <CAKfDRXjpG4CNeHfKC1Kg=6mrqUTZ8A7bD1aivLkSQ2L0eK755Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:41 ` John Crispin
[not found] ` <6ae4103b-45bf-c427-d0d9-87f6f4eb83b5-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 10:55 ` Kristian Evensen
[not found] ` <CAKfDRXiJCMpA+qj4HmoSg0F_Yt4LnjQ=Dvy_tkxa=Dnh_pN13g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 11:11 ` John Crispin
[not found] ` <12343512-196f-c89f-e7dc-2e35cad49fc8-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 11:13 ` Kristian Evensen
[not found] ` <CAKfDRXg66Un3c7U=WTSUYoduDkAD+jsL-tzxnYUSLHKrmFKiOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 14:01 ` Kristian Evensen
[not found] ` <CAKfDRXiQb3LMSdjfE=CkfJE5bj9H+GAVD2Kj4syNfQD-eUPmWg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 14:46 ` John Crispin
[not found] ` <CAKfDRXjVSsYke-d2Bww+SrqRepfgVXzHBbeyfahOhc9Tr5Zmbw@mail.gmail.com>
[not found] ` <CAKfDRXjVSsYke-d2Bww+SrqRepfgVXzHBbeyfahOhc9Tr5Zmbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 17:45 ` John Crispin
[not found] ` <CAKfDRXiirPhTbaUTcxseS7UuAiFDR_oY-QdvwvYc6Ua2vwuLSw@mail.gmail.com>
[not found] ` <CAKfDRXiirPhTbaUTcxseS7UuAiFDR_oY-QdvwvYc6Ua2vwuLSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 17:56 ` John Crispin
[not found] ` <ba2e3623-dd21-9802-9ae6-12cd8baaac1e-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 20:53 ` Kristian Evensen
2018-02-12 11:08 ` Matthias Brugger
[not found] ` <a594ffaa-4098-4171-f824-1aa3f332c9fc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-02-12 12:02 ` Kristian Evensen
[not found] ` <CAKfDRXgNGRHu9JMs-9vb4n72w+PmR8buqDnz8ObEQNXtP1pM4w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-12 14:37 ` Sean Wang
2018-02-12 14:49 ` Kristian Evensen
[not found] ` <CAKfDRXi57H5V+Qv-YO6+8OKdZLbTw7T_h64uZTMQZP6biO7Wpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-29 20:18 ` Kristian Evensen
[not found] ` <CAKfDRXg419rBTeqZ+UqQJFRj5s6CVg0YXzjmhyFxrbJgMkM8fg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-30 1:42 ` Ryder Lee [this message]
2018-04-30 16:12 ` Kristian Evensen
2018-02-17 19:10 ` Andreas Färber
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=1525052532.5013.5.camel@mtkswgap22 \
--to=ryder.lee-nus5lvnupcjwk0htik3j/w@public.gmane.org \
--cc=john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org \
--cc=kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
/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