qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Zimmerman <pauldzim@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: Any interest in dwc-otg (aka dwc2) device emulation? For Raspi 3 and below.
Date: Tue, 10 Mar 2020 12:00:35 -0700	[thread overview]
Message-ID: <CADBGO7_GY8xO-QP73JzTgqAz_ZozT0Odv_WfrWDftuOmaRT96g@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA9wDGjw_EBg5OxnWAxxJ0M-FS7=dh2A98Aa4LiPfEkaLw@mail.gmail.com>

Hi Peter,

I used to work for Synopsys, who is the vendor for the usb-otg IP, and
am the author of the dwc2 driver in the Linux kernel (actually just a
port of the vendor driver to Linux). So I am pretty familiar with the
hardware. But I had to give up all the documentation when I left
Synopsys. So, beyond what I could find on the web (register
description and programming model), I don't have any further
documentation.

Thanks,
Paul

On Tue, Mar 10, 2020 at 2:27 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Sat, 7 Mar 2020 at 00:34, Paul Zimmerman <pauldzim@gmail.com> wrote:
> >
> > Hi Folks,
> >
> > I have been working on an emulation of the dwc-otg USB controller
> > (host mode only for now), as implemented on the Raspberry Pi 3 and
> > below, and on numerous other embedded platforms. I have it to a point
> > where it works pretty well with the dwc2 driver in the mainline Linux
> > kernel, and with the dwc-otg driver in the Raspbian kernel. Mouse and
> > keyboard work fine, and I *think* the usb-net device is working too,
> > although I have been unsuccessful in connecting to the outside world
> > with it.
>
> Do you have documentation of the hardware? One of the issues
> we've had with this in the past is that we couldn't find the
> hardare specs for the USB controller, so it was a bit difficult
> to tell if a model of it was correct or not.
>
> thanks
> -- PMM


  reply	other threads:[~2020-03-10 19:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-07  0:34 Any interest in dwc-otg (aka dwc2) device emulation? For Raspi 3 and below Paul Zimmerman
2020-03-10  2:23 ` John Snow
2020-03-10  3:15   ` Paul Zimmerman
2020-03-10  9:52     ` Stefan Hajnoczi
2020-03-10  9:26 ` Peter Maydell
2020-03-10 19:00   ` Paul Zimmerman [this message]
2020-03-10 21:46     ` John Snow

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=CADBGO7_GY8xO-QP73JzTgqAz_ZozT0Odv_WfrWDftuOmaRT96g@mail.gmail.com \
    --to=pauldzim@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).