usb:sun4i:Rename sun4i_usb to sunxi_usb

No other changes. Just rename everything to point sunxi_usb directory instead of sun4i_usb.

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb:sunxi:Merge sun5i_usb to sunxi_usb

Differences ifdef'ed.

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb:sunxi:Import changes from Allwinner SDK. Unification part.

Compared to latest SDK. Reduce sun4i and sun5i differences.

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb:sunxi:Import changes from Allwinner SDK. Minor bits.

Compared to latest SDK. Minor bits. Shouldn't have any functional effect

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb:sunxi:Import changes from Allwinner SDK. Functionality.

hcd:
 -Power gpio related changes

udc:
 -Use spinlock instead of disable interrupts
 -Huge amount of random fixes

manager:
 -Add extra sleep to scan_thread
 -Fix scan when USB role is NULL
 -Read controller type from .fex file

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb: add sys_config support

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb:sunxi:Fix "device not recognized" problem during android boot

Tested with g_serial, g_ether and android composite gadgets.

Problem was noticed after "sunxi:udc: fix gadget init after loading as module".
Previous fix did pullup right after gadget bind, like it's commonly done.

It conflicts with sunxi usb module internal state machine which does pullup a bit later.
Device negotation breaks When pullup is done twice. So, this commit does pullup only once.

Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
synaptics_i2c: fix earlysuspend.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi rtxx7x: Weed out some Makefile junk.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi: Do not allow compat nand partition names to overflow alphabet.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi: Preliminary support for new nand partition scheme.

   - add magic/version matching
   - add partition type in messages
   - read version 0x200 (softw411) partition

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>