Update for KOT49H

Change-Id: Ic7790742abc3e90131699d3539c2727f0146da99
hammerhead: Update cpufreq settings

 * QC is switching to interactive. We will too.

Change-Id: I1ea4bdc75108136aa4b96e91da1a661b0b5d2b07
hammerhead: Use cyanogenmod_hammerhead_defconfig

Change-Id: Icd5b2bcce022ba6eb1680b2a75930979c91b698a
hammerhead: enable volume rocker wake setting

Change-Id: I29b1c5087744056a714677f011125bc7df1069e2
hammerhead: add charging led support

Also introduces led priority handling for
battery vs notification vs attention
(copied from jf-common).

Requires the hammerhead kernel led
always on support patch.

Change-Id: I1a2f3aae457c6d7e4e3c3f9ca39cbe42d39c3bc2
hammerhead: remove apn copy step

Use World APNs file instead of default apn list from sample

Change-Id: I643efc70d8aa6482a2a4537dea67b2697307174c
hammerhead: Enable deep buffer output as primary

 * Since we're not offloading audio during AV playback, it's
   better to use DEEP_BUFFER as the primary output and only
   select the FAST output when the flag is set. This saves
   power during video playback.

Change-Id: I94d4de328377e9c351bd77c5ad5b0a7ec96cbb79
hammerhead: Remove the maxcpus arg

 * This is fixed in the kernel now.

Change-Id: Icfde43adfb9db4402232e7ef71e3e197dc193d43
Revert "hammerhead: Enable deep buffer output as primary"

Confirmed to disrupt low-latency audio, we don't have supporting code for this (yet), and it's breaking webRTC (hangouts, in particular)

This reverts commit ec82381a55f1588fc0068eebe916ee3e5ad6a4f4.

Change-Id: I842f2da5f0c1c4d332efa7f82d2d9d256a6ee5cc
Merge "Revert "hammerhead: Enable deep buffer output as primary"" into cm-11.0
hammerhead: disable cpu-boost

* The CPU-boost driver doesn't seem to behave correctly quite yet,
  disable it until it can be fixed.

Change-Id: Idec7151b6324d182828c748ff781de92d320e4f9
hammerhead: Enable new PM architecture

 * Update mode paths in sysfs
 * Configure devfreq bandwidth monitor
 * Disable userspace input boost
 * Reenable cpu-boost driver
 * Fix thermal-engine.conf for perf compat
 * Enable full idle power collapse on all cores
 * And don't let mpdecision mess with any of it

Change-Id: I26ada15fa3bec5eefec7f560824e4e27413e078c
hammerhead: Enable ZSL mode for camera

 * With recent kernel changes, we no longer crash when letting the
   preview run during continuous shots. Enjoy rapid-fire shooting.

Change-Id: Ib57869f185166539d761fd5a2766c586501023da
Revert "Revert "hammerhead: Enable deep buffer output as primary""

 * This is working as intended now. Tested with Hangouts and other apps.
 * The purpose of this change is so that media playback uses the deep
   buffer path instead of the low-latency path, which uses much more
   power.

This reverts commit 22dde6a88e7b5453f39d96a23c65a3cd5d4dc085.

Change-Id: I476dd429be4b7c74acd888169004ed89081597c7
hammerhead: Add offload properties

 * Set fragment size (same as default)
 * Enable gapless playback with offloaded streams
 * Enable offloading for AV (but not streaming AV!)

Change-Id: I1b0f8115bc880bd89f5a0c8ed13e4b54d38e0867
hammerhead: Enable new mixer for offload

Change-Id: I21620d3a2612c992dc70a783f20aa8b73e8c9073
hh: Tune interactive governor

 * Enable io_is_busy
 * Decrease hispeed_freq to avoid ramping voltage.
 * Match input_boost_freq to hispeed_freq for same reason
 * Lower sync_threshold to reduce jank from hotplug

 * No performance differences are apparent, and power draw should
   be lower in this configuration.

Change-Id: I68245da6008a76646e3936c8ce75806f1ffea0a4
hh: Enable qrngd

 * Improves boot time

Change-Id: I524d4fb248b0103543703eae923267b0c410b3ef
hh: Disable gapless by default

 * Audio driver will enable as necessary. Leaving it on always
   causes issues in some apps like Pandora.

Change-Id: I59a732577c3a4a61c8949498101b4b5bae0998ce
Revert "Revert "Revert "Revert "hammerhead: Add support for modem logging""""

This reverts commit 35deeefd40451a584a4ef8df2b47c87c58b8f898.