]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: sunxi: Add support for the Allwinner sunxi musb controller
authorHans de Goede <hdegoede@redhat.com>
Wed, 8 Jul 2015 14:41:38 +0000 (16:41 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:20 +0000 (09:59 -0500)
commit744543c599c420bcddca08cd2e2713b82a008328
treee752b634d794cb18d153d5102cbc559038f9ffd8
parent4cfbd95232dd6194c04d432d1a8ac45cec269d8b
usb: musb: sunxi: Add support for the Allwinner sunxi musb controller

This is based on initial code to get the Allwinner sunxi musb controller
supported by Chen-Yu Tsai and Roman Byshko.

This adds support for the Allwinner sunxi musb controller in both host only
and otg mode. Peripheral only mode is not supported, as no boards use that.

This has been tested on a cubietruck (A20 SoC) and an UTOO P66 tablet
(A13 SoC) with a variety of devices in host mode and with the g_serial gadget
driver in peripheral mode, plugging otg / host cables in/out a lot of times
in all possible imaginable plug orders.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt [new file with mode: 0644]
drivers/usb/musb/Kconfig
drivers/usb/musb/Makefile
drivers/usb/musb/sunxi.c [new file with mode: 0644]