Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ryder Lee <ryder.lee-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
To: Kristian Evensen
	<kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: Problems enabling the PCIe/USB3.0 port on MT7623N
Date: Fri, 3 Nov 2017 10:13:11 +0800	[thread overview]
Message-ID: <1509675191.20200.18.camel@mtkswgap22> (raw)
In-Reply-To: <CAKfDRXjNJSJZe_QjuE8H+_ZXVWo1NKM7vrqHBhJ-tAMXqsyxwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi,

On Thu, 2017-11-02 at 23:25 +0100, Kristian Evensen wrote:
> Hello,
> 
> I am working on adding mainline support for an MT7623N-based board.
> The board uses eMMC for storage, so I have based my work on a DTS-file
> for the eMMC reference board (from the LEDE repository).
> 
> The kernel currently boots just fine to my rootfs, and the switch, usb
> port and the two "pure" pcie slots are working. However, for the last
> couple of days I have been banging my head against the wall trying to
> get the combined pcie/usb3 slot to work. I have tried to add different
> nodes to the DTS, experimented with GPIOs and analyzed logs of the
> proprietary firmware (where to slot works), to no good.
> 
> Does anyone have any experience with activating this slot or hints or
> tips on where to look?

Glad to see someone else interested in the MT7623N. In your case you
need to set extra bit to switch the PCIe/USB function, which is not
supported in mainline yet...

Please see the below link and search 'HIF_SYSCFG1'.

https://patchwork.kernel.org/patch/9694575/


Thanks.

> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

  parent reply	other threads:[~2017-11-03  2:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 22:25 Problems enabling the PCIe/USB3.0 port on MT7623N Kristian Evensen
     [not found] ` <CAKfDRXjNJSJZe_QjuE8H+_ZXVWo1NKM7vrqHBhJ-tAMXqsyxwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-03  2:13   ` Ryder Lee [this message]
2017-11-03 11:07     ` Kristian Evensen
     [not found]       ` <CAKfDRXjrDPKo-mveCb8o7YFdBbBa53kt8WTPDi1RhMXMcbvMYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-03 12:19         ` John Crispin
     [not found]           ` <d9c34106-3a90-1df0-6765-1ab230372468-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2017-11-03 12:26             ` Kristian Evensen
2017-11-03 16:20             ` Kristian Evensen
     [not found]               ` <CAKfDRXg=vno2wOL39JAUGnKHEsXVb4XyewEmPR5CHf5k+66xhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-04 12:05                 ` Kristian Evensen

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=1509675191.20200.18.camel@mtkswgap22 \
    --to=ryder.lee-nus5lvnupcjwk0htik3j/w@public.gmane.org \
    --cc=kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@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