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: Always keep 3 buffers ready

 * Reduces overall jank system-wide

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

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

Change-Id: I7cc9580865da63330a0bf54d5716ca23a2d6216c
Add support for USB OTG

Change-Id: Id5ded1d14f01e4bd126115866e0bf3bd75d5cfcb
hammerhead: Update cpufreq settings

 * QC is switching to interactive. We will too.

Change-Id: I1ea4bdc75108136aa4b96e91da1a661b0b5d2b07
Test stereowid for devices that see fit to use their own audio_effects

This may onyl work on devices with 2 speakers...

Change-Id: Iab4de9b8acca113f72f26cd0060f6523def9fa28

Conflicts:
	audio_effects.conf
Revert "hammerhead: Better mount options to improve performance"

Caused massive data corruption

This reverts commit 5bfb4465267d900cf66c421c6d5953630a392ebf.

Change-Id: Ib41f79f4eafc7bdb63cf2cff8cfa064af118e2c0
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: 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
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

Conflicts:
	BoardConfig.mk