Hi!

This patchset adds full USB support to ramips target. I've used dwc_otg
driver that was published on linuxppc-dev list. There were newer versions
of this driver since then but it's still a work in progress and there
were no major changes. I plan to migrate to the next available version of
dwc_otg if all the discussed problems are fixed.

I had to add several changes to this driver to make it work on ramips
target. All changes to the driver will be available soon in my linux
kernel git repository on github: https://github.com/ago/linux-2.6

The whole patchset is also available on github as well:
https://github.com/ago/openwrt

Alexander Gordeev (7):
  generic: fix usb gadget header includes
  mac80211: rt2800-lib doesn't depend on rt2x00-usb
  ramips: fix dir-300 mtd layout
  ramips: add dwc_otg platform device
  kernel: move nop-usb-xceiv to a separate package
  ramips: add usb support
  ramips: enable USB

 package/kernel/modules/usb.mk                      |   50 +-
 package/mac80211/Makefile                          |    2 +-
 .../generic/patches-2.6.34/993-usb_gadget.patch    |   20 +
 .../generic/patches-2.6.36/993-usb_gadget.patch    |   20 +
 target/linux/ramips/files/arch/mips/ralink/Kconfig |    3 +
 .../ramips/files/arch/mips/ralink/rt305x/devices.c |   26 +
 .../ramips/files/arch/mips/ralink/rt305x/devices.h |    1 +
 .../arch/mips/ralink/rt305x/mach-dir-300-revb.c    |    2 +-
 .../linux/ramips/files/drivers/usb/dwc_otg/Kconfig |   96 +
 .../ramips/files/drivers/usb/dwc_otg/Makefile      |   21 +
 .../files/drivers/usb/dwc_otg/dwc_otg_apmppc.c     |  394 +++
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_cil.c |  892 ++++++
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_cil.h | 1177 +++++++
 .../files/drivers/usb/dwc_otg/dwc_otg_cil_intr.c   |  618 ++++
 .../files/drivers/usb/dwc_otg/dwc_otg_driver.c     |  393 +++
 .../files/drivers/usb/dwc_otg/dwc_otg_driver.h     |   78 +
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c | 2402 ++++++++++++++
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h |  413 +++
 .../files/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c   | 1465 +++++++++
 .../files/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c  |  697 +++++
 .../files/drivers/usb/dwc_otg/dwc_otg_param.c      |  730 +++++
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_pcd.c | 1733 +++++++++++
 .../ramips/files/drivers/usb/dwc_otg/dwc_otg_pcd.h |  137 +
 .../files/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c   | 2262 ++++++++++++++
 .../files/drivers/usb/dwc_otg/dwc_otg_regs.h       | 3265 ++++++++++++++++++++
 target/linux/ramips/patches-2.6.36/105-usb.patch   |   25 +
 target/linux/ramips/rt305x/config-2.6.36           |    3 -
 27 files changed, 16916 insertions(+), 9 deletions(-)
 create mode 100644 target/linux/generic/patches-2.6.34/993-usb_gadget.patch
 create mode 100644 target/linux/generic/patches-2.6.36/993-usb_gadget.patch
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/Kconfig
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/Makefile
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_apmppc.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_cil.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_cil.h
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_cil_intr.c
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_driver.c
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_driver.h
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.h
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_param.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_pcd.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_pcd.h
 create mode 100644 
target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_pcd_intr.c
 create mode 100644 target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_regs.h
 create mode 100644 target/linux/ramips/patches-2.6.36/105-usb.patch

-- 
1.7.2.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to