Apexq: USB OTG

This is a requirement for proper host/otg function.

Copied from jf kernel. Enabled for Apexq only.

d2 probably wants this as well, but needs to consider
the implications of it on their own.

Added a bit more jf code to filter out the otg control
of charging and power supply via pm8921, which is not
relevant.

More jf code and now it actually works on apexq.
Probably require some massaging to make it work with d2.

--cleanup leftovers in the apexq board file.
--revert unintended change to apexq board file.
--hybridize with preexisting msm_otg.c from d2 kernel.
--should work for d2 as before without intervention.
--tighten up

Change-Id: If2f9a3b7cbb63a84db891af069a760945a4eebcc
Apexq: Re-enable full AVS.

There is a problem with some devices that are detected
as having ACPU PVS: 3 not handling the fast tables properly.

To compensate, we are reducing them to the nom tables.

AVS error on sec_pvs=fafa phones always happens at 1512 MHz.
Disable AVS for that specific frequency.

We initially overlooked a rather massive voltage bump that
was being given to apexq devices with sec_pvs=fafa. All
such units are expected to run on the slow table, with an
additional boost of 50 mV.

Change-Id: If5341bf3f0b93d53349a373013f290adc2049e1c
Update cpu clocking/power

With AVS, we need to make sure that voltages are properly
reset when bringing cores online/offline.
In-kernel mpdecision

Lets get rid of some poorly functioning blobs that we don't need.
Built-in mpdecision

Closer to compiling....
Remove obsolete trace
Remove obsolete trace
Merge tag AU_LINUX_ANDROID_JB_2.6.04.03.00.109.041 from caf jb_2.6

Conflicts:
	arch/arm/include/asm/assembler.h
	arch/arm/include/asm/uaccess.h
	arch/arm/lib/getuser.S
	arch/arm/lib/putuser.S
	drivers/gpu/msm/kgsl_sharedmem.c
	include/linux/mfd/pm8xxx/pm8921-charger.h

Change-Id: I372743879ab29a7bdfecb8773b45c655c8c56f5c
fix mismerge

Change-Id: I28e91fdfc8b6de6f162882a4fef7b32c1cc46652
Merge branch 'cm-10.2_cafmerge' of git://github.com/CyanogenMod/android_kernel_samsung_d2 into CyanogenMod-cm-10.2_cafmerge

Conflicts:
	arch/arm/mach-msm/acpuclock-8960.c
Merge remote-tracking branch 'caf/jb_2.6' into cm-10.2

Conflicts:
	arch/arm/Kconfig
	arch/arm/include/asm/assembler.h
	arch/arm/include/asm/uaccess.h
	arch/arm/lib/getuser.S
	arch/arm/lib/putuser.S
	arch/arm/mach-msm/Makefile
	drivers/gpu/msm/kgsl_sharedmem.c
	include/linux/mfd/pm8xxx/pm8921-charger.h
Soc: msm: Synchronize access to LPA stream

 -Synchronize hw_ptr, appl_ptr access between the LPA
  driver and event handler and the ALSA core framework.

 -ported change from compressed driver
  change id I118bfdf4a866cde05d9ebcd21f756da209b69cc5

Change-Id: I0fe63d8fa4a5372b6c231a5ee44532140cce1301
CRs-Fixed: 511481

Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Merge remote-tracking branch 'caf/korg/linux-3.4.y' into cm-10.2

Conflicts:
	kernel/futex.c
	kernel/workqueue.c
Aegis2: initial boardfile and defconfig
Resync workqueue.h with upstream
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_kernel_samsung_d2 into cm-10.2
Merge pull request #1 from CyanogenMod/cm-10.2

bring in upstream
Merge branch 'cm-10.2' of https://github.com/TeamAegis2/android_kernel_samsung_d2 into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_kernel_samsung_d2 into cm-10.2
Merge branch 'linux-3.4.y' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into cm-10.2