sunxi-nand-compat: Fix compiler warning

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi: Unify platform.h

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
i2c-sunxi: Add support for A20

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi: Unify devices.c

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i-cpufreq: Fix dvfs support

Make dvfs support compile and change sunxi_cpufreq_initcall from a
module_init function to a late_initcall (*), so that it loads after the
axp power driver, and thus can get to the Vcore regulator.

*) sun7i-cpufreq is never build as a module.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i-cpufreq: Sanitize log output

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
i2c-sunxi: Silence initialization

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
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>
sunxi-hcd0: Cleanup Kconfig

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
wireless-drivers: Fix compilation without hcd0

Signed-off-by: Hans de Goede <hdegoede@redhat.com>