Sweep2wake and Doubletap2wake for the Nexus 7 (flo)

Change-Id: If8612249b9a26be2b964092808d4947afdd104e4
Signed-off-by: flar2 <asegaert@gmail.com>
Turn dt2w on and s2w off by default

Change-Id: Ic8239673bdaffbf52d0753ad907f83dc25a219b3
Make 1.7 GHz the default max frequency

Change-Id: I5ae52ca7b9e6616e8b49fc1e255b3740e47d784f
Flo: Add Voltage Control

Thanks to Francisco Franco as well for his work on Flo's Voltage Control

Mako (absolute) Voltage control.

This started out as just including the existing work of someone else.
But that was so obfuscated and needlessly moved in sysfs, i turned it into the type control
we have on NP, meaning same sysfs location and output formatting.
Since the various kernels range from no preUV to different levels of UV it is best to encourage the user
to think in absolute voltages.
"I can UV -150 on kernel X! Really? Odd, i can only UV kernel Y -50mV!"
Kernel X has no preUV, kernel Y has 100mV preUV, so they both run the same.
This is needlessly confusing to users.

Talking in absolutes, users will get a better understanding of "what the other guy's" device is capable of.
Sticking to a common sysfs location and to the common absolute voltage is thus the right thing to do.

This seems to work now as it should.

This is heavily based on coolbho3k's NP patch. from Paul's mess we might have a few function names, but not the contents.
This is not his, if he claims otherwise, he can go fuck himself.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	drivers/cpufreq/cpufreq.c

Change-Id: Ic20470987ef23410f1d0324f96f00578f7df8721

Undervolt: clean it up, make it elegant and remove the constrain of fixed set of NUM_FREQS - its not dynamic based on the number of freqs used for scaling via an external function.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Change-Id: Ic20470987ef23410f1d0324f96f00578f7df8722

Undervolt: few minor changes, mostly for clarity.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Change-Id: Ic20470987ef23410f1d0324f96f00578f7df8723

Undervolt: add checks to disallow too extreme voltages, min and max.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Change-Id: Ic20470987ef23410f1d0324f96f00578f7df8724
introduce lionheart

Signed-off-by: Bryan Smith <zarboz@gmail.com>
cpufreq: add Lionheart governor
block: add zen I/O
Defconfig: Enable voltage control
GPU: OC max GPU freq from 400 -> 487
GPU: OC bus bandwidth
apuclock-8064: bump msm_bus levels
increase readhead from 128 to 256