pyramid: Re-map memory to use 4 memory banks

*Changed kernel start address to 0x40400000
*Removed Ion writeback heap (MSM8660 doesn't use writeback)
*Userspace has 620MB of RAM as seen in About phone

Signed-off-by: Sultanxda <sultanxda@gmail.com>
video: msm: Add multiplier to MDP bandwidth calculation

 * We have major underruns on 8660 without higher bandwidth. Scale it by
   2x to achieve a solid framerate with no underrun.

Change-Id: Iabf9cb12696452a8b51aa818b8e5d6682bac7ed5
video: msm: Allow timeouts for DSI operations

Based off of https://github.com/CyanogenMod/android_kernel_samsung_msm8660-common/commit/996fdd8d496e1c8bc6eea4abd38a066cc8d3304a

Signed-off-by: Sultanxda <sultanxda@gmail.com>
video: msm: Increase MDP clock multiplier

Raise the multiplier from 1.15 to 2 to fix the underrun.

taken from: http://review.cyanogenmod.org/#/c/32315/1
msm_otg_htc: Remove CONFIG_USB_OTG_HOST

This config is deprecated and does not exist anymore. Fixes self-powered USB OTG.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: Remove fast charge
i2c: tps65200: Use fast charge rate when slow charge is requested

For AC-charge rate over USB.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
pyramid: display: Clean up panel-undervolt interface

I waz just a young boi when I first wrote this...

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: cpufreq: Sync min & max freq of all CPUs with CPU0

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: cpufreq: Add cpufreq_cpu_get() safety check

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: htc_battery: Import from 3.0 kernel

We're using htc battery daemon from 3.0

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: flash: Use low-power flash when battery is low

When battery is at 35% or lower and high-power flash is requested, use low-power flash instead. This fixes the hard shutdowns that occur when taking pictures with flash on low battery.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: htc_battery: Use fast (5 sec) timer while on battery power

Previously, the battery driver would refresh itself every 60 seconds, resulting in grossly inaccurate battery readings. Refresh battery driver every 5 seconds while on battery power, and silence resulting logspam.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Add initial CPU-boost-framework hooks

CPU is currently boosted for these activities:
*Recording video (594MHz indefinite)
*Turning on the display (1512MHz for 5s)

The CPU-boost framework is disabled when the proximity sensor is open (screen is expected to turn off and on many times when proximity sensor is open, so disabling CPU-boost prevents battery drain due to screen wake-up boost).

Signed-off-by: Sultanxda <sultanxda@gmail.com>
touchscreen: cy8c_tma_ts: Remove early suspend

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