[U-Boot] [PATCH 00/17] driver model bring-up of musb on AM335x GP and BBB and usb_ether DM conversion

Mugunthan V N mugunthanvnm at ti.com
Mon Feb 29 04:44:03 CET 2016


This patch series enables musb driver to adopt driver model. This
has been tested on the following evms (logs [1]) by loading
kernel and dtb from sata hard-disk.
* AM335x GP evm
* AM335x BBB

Also pushed a branch for testing [2]

[1] - http://pastebin.ubuntu.com/15239811/
[2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-musb

Mugunthan V N (17):
  configs: am335x: usb: do not define CONFIG_DM_USB for spl
  am33xx: board: do not register usb devices when CONFIG_DM_USB is
    defined
  drivers: usb: musb: add ti musb misc driver for wrapper
  am33xx: board: probe misc drivers to register musb devices
  drivers: usb: musb: adopt musb backend driver to driver model
  drivers: usb: musb: add ti musb host driver with driver model support
  drivers: usb: musb: add ti musb peripheral driver with driver model
    support
  drivers: usb: gadget: ether: adopt to usb driver model
  drivers: usb: gadget: ether: access network_started using local
    variable
  drivers: usb: gadget: ether: consolidate global devices to single
    struct
  drivers: usb: gadget: ether: use net device priv to pass usb ether
    priv
  drivers: usb: gadget: ether: prepare driver for driver model migration
  drivers: usb: gadget: ether/rndis: convert driver to adopt device
    driver model
  am33xx: board: init usb ether gadget for rndis support
  am335x_evm: enable usb ether gadget as it supports DM_ETH
  defconfig: am335x_boneblack: enable usb driver model
  defconfig: am335x_gp_evm: enable usb driver model

 arch/arm/cpu/armv7/am33xx/board.c        |  20 +-
 arch/arm/include/asm/omap_musb.h         |   7 +
 configs/am335x_boneblack_vboot_defconfig |   4 +
 configs/am335x_gp_evm_defconfig          |   4 +
 drivers/usb/gadget/ether.c               | 314 +++++++++++++++++++-----
 drivers/usb/gadget/rndis.c               |  13 +-
 drivers/usb/gadget/rndis.h               |  19 +-
 drivers/usb/musb-new/Kconfig             |   9 +
 drivers/usb/musb-new/Makefile            |   1 +
 drivers/usb/musb-new/am35x.c             |  35 +++
 drivers/usb/musb-new/musb_dsps.c         |  20 ++
 drivers/usb/musb-new/musb_uboot.c        |   2 +
 drivers/usb/musb-new/ti-musb.c           | 393 +++++++++++++++++++++++++++++++
 include/configs/am335x_evm.h             |   4 +-
 include/net.h                            |   7 +
 15 files changed, 783 insertions(+), 69 deletions(-)
 create mode 100644 drivers/usb/musb-new/ti-musb.c

-- 
2.7.2.333.g70bd996



More information about the U-Boot mailing list