From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/13] Port of MUSB driver from Linux (changes from Linux)
Date: Sun, 4 Nov 2012 22:46:54 +0100 [thread overview]
Message-ID: <201211042246.54803.marex@denx.de> (raw)
In-Reply-To: <1351959073-11514-1-git-send-email-ilya.yanok@cogentembedded.com>
Dear Ilya Yanok,
> Current MUSB driver in U-Boot uses old UDC API while new gagdet
> client drivers need new gadget API. Also current MUSB driver has
> some significant limitations (like inability to handle tx for
> endpoints other than ep0). So I think port of new Linux driver is
> desirable.
>
> This is initial port, performed mostly by putting DM and OTG
> code under #ifndef __UBOOT__ clauses. My intention was to be as
> close as possible to the original to ease of possible resyncs.
> Some warnings are suppressed via CFLAGS. There are some style
> problems but I'm not touching them for now for the above mentioned
> reason. There is obviously some room for optimisation, some
> structure fields are unused as well as (probably) some code.
>
> This is not a replacement for existing MUSB driver (at least for
> now), cause there are still consumers of USB serial gadget which
> uses old API and there is no support for serial with new API
> for now.
>
> OTG and DMA are not supported. Ported drivers include:
> musb_dsps (should work both with TI AM33xx and TI81xx, tested only on
> AM33xx), am35x (tested on AM3517 EVM) and omap2plus (should work on
> OMAP2/3/4, tested on omap3_beagle, omap4_panda doesn't work and needs
> more work). Others should be easy to port too.
>
> Virtual root hub is not implemented but this shouldn't be
> a big problem as the old code has virtual root hub support
> enabled only for Blackfin platform.
>
> Pathes are rather big because of the original code size (and I didn't
> delete unused code, just disabled it). So it's probably better to
> look at changes as compared to Linux code. I prepared such version
> also, you can find it at [1]. Hopefully it will be also useful
> if resync with the kernel will be needed in future.
>
> [1] https://github.com/yanok/u-boot/tree/musb-changes-from-linux-v4
[...]
What is this patchset ? I received another similar one, but which is more
complete ...
next prev parent reply other threads:[~2012-11-04 21:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 16:11 [U-Boot] [PATCH v4 0/13] Port of MUSB driver from Linux (changes from Linux) Ilya Yanok
2012-11-03 16:11 ` [U-Boot] [PATCH v4 01/13] linux/usb/ch9.h: update with the version from Linux tree Ilya Yanok
2012-11-03 16:11 ` [U-Boot] [PATCH v4 02/13] usb: use linux/usb/ch9.h instead of usbdescriptors.h Ilya Yanok
2012-11-03 16:11 ` [U-Boot] [PATCH v4 03/13] musb-new: port of Linux musb driver Ilya Yanok
2012-11-03 16:11 ` [U-Boot] [PATCH v4 04/13] musb-new: dsps backend driver Ilya Yanok
2012-11-04 21:46 ` Marek Vasut [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-11-03 16:16 [U-Boot] [PATCH v4 0/13] Port of MUSB driver from Linux (changes from Linux) Ilya Yanok
2012-11-05 23:20 ` Marek Vasut
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=201211042246.54803.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/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