sec_battery: Use AC charging for unknown cable types

Unknown cable types are charger type 6. This fixes the very annoying issue described in this thread: http://forum.xda-developers.com/showthread.php?t=1759541

Signed-off-by: Sultanxda <sultanxda@gmail.com>
drivers: power: Increase AC max current from 900mA to 1200mA+

Signed-off-by: Sultanxda <sultanxda@gmail.com>

Conflicts:
	drivers/power/smb328a_charger.c
drivers: power: Determine charge mode from actual cable type

CHG_MODE_UNKNOWN is now detected as CHG_MODE_AC, so remove it.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
smb328a_charger: Remove CHG_MODE_UNKNOWN

CHG_MODE_UNKNOWN is detected as CHG_MODE_AC instead.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
drivers: power: Enable 1200mA+ max charge current over USB

Signed-off-by: Sultanxda <sultanxda@gmail.com>
sec_battery: Allow high-speed charging over USB up until 95% battery

Previously, high-speed charging over USB would stop at 90%, at which point the charging current would be lowered to 500mA.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm8x60_celox: Increase Ion SF heap size by 16MB

[10139.607116] ion_carveout_allocate: heap sf doesn't have enough memory (12d000) the allocation of size 177000 failed.
[10139.627532] ion_carveout_allocate: heap sf doesn't have enough memory (12d000) the allocation of size 177000 failed.

Signed-off-by: Sultanxda <sultanxda@gmail.com>

Conflicts:
	arch/arm/mach-msm/board-msm8x60_celox.c
msm8x60_celox: Clean-up & optimize Ion heap sizes and layout

Clean-up:
*PMEM is deprecated^9001 (OVER 9,000)
*FB_MSM_MIPI_S6E8AA0_HD720_PANEL is not enabled for any celox device
*FB_MSM_TVOUT is not enabled for any celox device
*FB_MSM_HDMI_AS_PRIMARY is not enabled for any celox device
*SEC_KERNEL_REBASE_FOR_PMEM_OPTIMIZATION is not enabled for any celox device
*"workaournd for kernel memory crash by TZBSP XPU" is not present in the stock Samsung kernel
*MSM8660 does not support writeback

Optimizations:
*Removed writeback heap (MSM8660 doesn't use writeback)
*Removed qsecom heap
*Shrunk camera heap by 2MB
*SMI region (64MB) is now being fully utilized (previously there were 8MB of unused RAM in the SMI region)
*Increased MM heap size by 7MB (ensures that there will be no video-playback memory-constraints with newer versions of Android and apps like Netflix)
*Userspace now has a ~27MB increase in real RAM (809MB total), as seen in About phone

Change-Id: I26cead93b762f68b2123f9f13f483a338907f8d0
Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm8x60_celox: Clean-up & optimize Ion heap sizes and layout

Clean-up:
*PMEM is deprecated^9001 (OVER 9,000)
*FB_MSM_MIPI_S6E8AA0_HD720_PANEL is not enabled for any celox device
*FB_MSM_TVOUT is not enabled for any celox device
*FB_MSM_HDMI_AS_PRIMARY is not enabled for any celox device
*SEC_KERNEL_REBASE_FOR_PMEM_OPTIMIZATION is not enabled for any celox device
*"workaournd for kernel memory crash by TZBSP XPU" is not present in the stock Samsung kernel
*MSM8660 does not support writeback

Optimizations:
*Removed writeback heap (MSM8660 doesn't use writeback)
*Removed qsecom heap
*Shrunk camera heap by 2MB
*SMI region (64MB) is now being fully utilized (previously there were 8MB of unused RAM in the SMI region)
*Increased MM heap size by 7MB (ensures that there will be no video-playback memory-constraints with newer versions of Android and apps like Netflix)
*Userspace now has a ~27MB increase in real RAM (809MB total), as seen in About phone

Change-Id: I26cead93b762f68b2123f9f13f483a338907f8d0
Signed-off-by: Sultanxda <sultanxda@gmail.com>