[PATCH v2 0/3] Add USB support for Ingenic JZ4740

From: Apelete Seketeli
Date: Tue Dec 17 2013 - 18:56:28 EST


Hello,

Following the fix I submitted a few weeks ago, here is a set of
patches that adds USB support for the Ingenic JZ4740 MIPS SoC.

The JZ4740 is found in the Ben NanoNote handheld computer which is
built by the Qi-Hardware community.
Even though Ben NanoNote is already supported in the kernel, we were
relying on an out-of-tree gadget driver to make use of the JZ4740 USB
Device Controller.

The patches that come as a follow-up of this message are an attempt to
provide USB support through an musb glue layer.

Changes since v1:
- usb: musb-jz4740: Don't manually free device managed resources
- usb: musb-jz4740: Move musb_hdrc_config to the glue driver
- usb: musb-jz4740: Move jz4740 specific fifo config to the jz4740 glue
- usb: musb-jz4740: Mask host mode only IRQ bits
- usb: musb-jz4740: Remove set_vbus callback
- usb: musb_gadget: Use is_otg flag to set gadget peripheral mode on reset

Changes were rebased on top of Felipe Balbi's USB Subsystem master
branch, built and tested on device successfully.

The following changes since commit 9bdff34517bc49d8e98558659e077ea9f9df3d60:

Merge branch 'next'

are available in the git repository at:

git://seketeli.fr/~apelete/linux-usb.git musb-jz4740

Apelete Seketeli (3):
mips: qi_lb60: add defconfig for Ben NanoNote
usb: musb: add support for JZ4740 usb device controller
usb: musb: fix setting JZ4740 gadget periphal mode on reset

arch/mips/configs/qi_lb60_defconfig | 188 ++++++++++++++++++++++++
arch/mips/include/asm/mach-jz4740/platform.h | 1 +
arch/mips/jz4740/board-qi_lb60.c | 1 +
arch/mips/jz4740/platform.c | 40 +++--
drivers/usb/musb/Kconfig | 8 +-
drivers/usb/musb/Makefile | 1 +
drivers/usb/musb/jz4740.c | 201 ++++++++++++++++++++++++++
drivers/usb/musb/musb_gadget.c | 10 +-
8 files changed, 432 insertions(+), 18 deletions(-)
create mode 100644 arch/mips/configs/qi_lb60_defconfig
create mode 100644 drivers/usb/musb/jz4740.c

--
1.7.10.4

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