From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: "Dmitry N. Mikushin" <maemarcus@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: Any example of USB gadget for DRD device mode on Intel Gemini Lake?
Date: Mon, 19 Oct 2020 16:36:07 +0300 [thread overview]
Message-ID: <20201019133607.GC1667571@kuha.fi.intel.com> (raw)
In-Reply-To: <CAGR4S9HQiZCsA7Y5_47j-xBOkydKiT2Exam=36L=-vwRjt+UWA@mail.gmail.com>
On Mon, Oct 19, 2020 at 01:27:35PM +0200, Dmitry N. Mikushin wrote:
> Dear All,
>
> I'm confused by the USB gadget mode on the recent Intel SoCs, such as
> Gemini Lake. The /sys/class/udc is empty, and a SoC can't present
> itself as a IoT gadget this way, yet definitely being designed as
> such. I've noticed the concept of dual-role-device, which seems to
> replace the OTG. Particularly, Harry Pan mentioned that Gemini Lake
> supports DRD in port 0.
So do you have the dwc3 (the USB device controller) PCI device
available/visible on your system? What do you get if you run:
lspci -nn|grep USB
The DWC3 PCI device ID on Gemini lake is 0x31aa (search
PCI_DEVICE_ID_INTEL_GLK in drivers/usb/dwc3/dwc3-pci.c).
Which board/product are you using.
Which kernel are you using?
Is the dwc3 driver enabled in your kernel?
Which gadget are you testing with? g_zero?
thanks,
--
heikki
next prev parent reply other threads:[~2020-10-19 13:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 11:27 Any example of USB gadget for DRD device mode on Intel Gemini Lake? Dmitry N. Mikushin
2020-10-19 13:36 ` Heikki Krogerus [this message]
2020-10-22 21:06 ` Dmitry N. Mikushin
2020-10-22 21:25 ` Sid Spry
2020-10-22 21:51 ` Dmitry N. Mikushin
2020-10-22 23:04 ` Sid Spry
2020-10-22 23:47 ` Dmitry N. Mikushin
2020-10-23 6:48 ` Heikki Krogerus
2020-10-23 10:08 ` Felipe Balbi
2020-10-23 22:34 ` Dmitry N. Mikushin
2020-10-26 7:11 ` Felipe Balbi
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=20201019133607.GC1667571@kuha.fi.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=linux-usb@vger.kernel.org \
--cc=maemarcus@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.