hammerhead: Enable torch

Change-Id: I2969971e2e5c7dd365196bab9c0ad3fdcf21cc3c
HACK: Disable secure discard
 * Secure discard is causing wipes to take insane amounts of time.
 * Enable this workaround until the problem is sorted.

Change-Id: If9bbb27fd5476a160e9d7e8b29ab20a851410ff7
hammerhead: Enable USB audio

Change-Id: I83861e0c70eeeb5035f89bfa4c32f19c21236437
hammerhead: Better USB audio support

 * Use new QCOM USB audio path which uses the AFE proxy.
 * This fixes the issues with skips and drops when UI sounds play.

Change-Id: I9941d49b669208959353805f43f51874a415eba3
hammerhead: Better mount options to improve performance

Change-Id: I18f7165c2ff8547b7968d946336d948fe30522b1
hammerhead: Always keep 3 buffers ready

 * Reduces overall jank system-wide

Change-Id: I37f6021237c81197063d3fd1fd7e5e07626490c9
hammerhead: Enable offload for USB audio

Change-Id: I7cc9580865da63330a0bf54d5716ca23a2d6216c
Add support for USB OTG

Change-Id: Id5ded1d14f01e4bd126115866e0bf3bd75d5cfcb
hammerhead: Remove the maxcpus arg

 * This is fixed in the kernel now.

Change-Id: Icfde43adfb9db4402232e7ef71e3e197dc193d43
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 default apn list

  * remove in favor of Evervolv's default apn list

Change-Id: I0ae625e06d69be206060ea98c58a3185d63197f2
hammerhead: Update cpufreq settings

 * QC is switching to interactive. We will too.

Change-Id: I1ea4bdc75108136aa4b96e91da1a661b0b5d2b07
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: 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
hh: Reset boost params to recommended values

 * Restore performance after recent changes

Change-Id: I1561fe109cbcb74708b2e35a65c6a816c38b994a