[U-Boot] [PATCH v2 00/14] sunxi: convert musb to the device model and enable usb_ether

Maxime Ripard maxime.ripard at free-electrons.com
Wed Sep 13 11:45:01 UTC 2017


Hi Łukasz,

On Wed, Sep 13, 2017 at 12:53:25PM +0200, Łukasz Majewski wrote:
> Hi Maxime,
> > Hi,
> > 
> > This serie aims at fixing an issue we had to carry out of tree patches
> > for for a few years.
> > 
> > The issue is this: a significant number of Allwinner boards don't have
> > an Ethernet connection, while an Ethernet connection is pretty useful
> > for example during development to do some PXE/NFS boot.
> > 
> > However, we needed to have DM_ETH enabled for the boards that use our
> > Ethernet controller drivers that rely on it. It meant having to use
> > the newly introduced DM_ETH support in the usb_ether gadget, but our
> > musb peripheral wasn't converted to the device model, and therefore
> > not usable with it.
> > 
> > The other alternative was to use the old-style usb_ether driver, which
> > worked fine but were disabling the Ethernet controller driver.
> > 
> > Thus, none were good, upstreamable solution.
> > 
> > Fix this properly by adding support for the musb in peripheral mode in
> > the device model. While we're doing so, I also took the occasion to
> > move a number of configuration options to Kconfig, and rework the
> > dependencies between them to ease the selection of related options
> > while trying to avoid as much as possible the combinations that are
> > not valid.
> > 
> > This was tested on a Sinlinx SinA33 that is wired as a peripheral-only
> > mUSB.
> > 
> > Let me know what you think,
> 
> Thanks for your effort. I've ack'ed gadget relevant commits, so I think that
> this series should go through the sunxi tree.

I just applied them to the sunxi/master branch, with both Simon's and
your tags added.

(Jagan, if it's not the right branch, please tell me. I'm still
getting used to the u-boot way of managing branches).

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/36e96abe/attachment.sig>


More information about the U-Boot mailing list