[PATCH v2 0/2] Chipidea driver support for the AR933x platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add support for the usb controller in AR933x platform.
The processor is big-endian so all multi-byte values of the usb 
descriptors must be converted explicitly. Another difference is that
the controller supports both host and device modes but not OTG.
The patches are tested on WR703n router running OpenWRT trunk in device mode.

This version of the patch relies on the changes in "[PATCH 0/3] 
otg-for-v3.10-v2: separate phy code and add DT helper" and is generated from 
the tree at http://git.pengutronix.de/?p=mgr/linux.git;a=shortlog;h=refs/heads/chipidea-for-v3.10

The patch "[PATCH 3/5] usb: chipidea: Don't access OTG related registers" from
the last patchset is not attached because there have been significant
changes in the chipidea-for-v3.10 repository which make it obsolete. A patch
based on the latest changes will be provided in a separate patchset.

Changes since last version:
        * conditionally include ci13xxx_ar933x.c for compilation
        * removed __devinit/__devexit/__devexit_p()
        * use a dynamically allocated structure for ci13xxx_platform_data
        * move controller mode check to platform usb registration
        * pick a different name for the ar933x chipidea driver
        * use a correct MODE_ALIAS name
        * use the dr_mode changes in "[PATCH 0/3] otg-for-v3.10-v2:
          separate phy code and add DT helper"


Svetoslav Neykov (2):
  usb: chipidea: big-endian support
  usb: chipidea: AR933x platform support for the chipidea driver

 arch/mips/ath79/dev-usb.c                          |   50 +++++++++++++
 arch/mips/include/asm/mach-ath79/ar71xx_regs.h     |    3 +
 .../asm/mach-ath79/ar933x_chipidea_platform.h      |   18 +++++
 drivers/usb/chipidea/Makefile                      |    5 ++
 drivers/usb/chipidea/ci13xxx_ar933x.c              |   75 ++++++++++++++++++++
 drivers/usb/chipidea/core.c                        |    2 +-
 drivers/usb/chipidea/udc.c                         |   59 +++++++--------
 7 files changed, 183 insertions(+), 29 deletions(-)
 create mode 100644 arch/mips/include/asm/mach-ath79/ar933x_chipidea_platform.h
 create mode 100644 drivers/usb/chipidea/ci13xxx_ar933x.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux