(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>
(cherry picked from commit 48e00743741efa77964781465baf35b3641ec98d)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
Revert "Revert "GPU: add optimization flags to GPU drivers""

This reverts commit 83d49b9d4e73699810ea92b5fef43df64f9dbb65.
logger: Add an enable toggle for entry storage

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
(cherry picked from commit 5f06286646fdad7aaca859bdfe024ef29967eb46)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/staging/android/logger.c
block: row: add magic values.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
(cherry picked from commit 08c50439261f099b4d26d597613e36be3bd515c0)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
use some of kt747 code to get the touchpanel running so s2w and d2w from faux works and some adaptation of s2w for d2 :)

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/input/touchscreen/sweep2wake.c
cleaning up unused stuff

Signed-off-by: thirdzcee <ironbuang@gmail.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/input/touchscreen/mms_ts_144.c
GPU oc

Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	arch/arm/configs/torched_elite_defconfig
	arch/arm/mach-msm/Kconfig

Conflicts:
	arch/arm/configs/cyanogen_d2dcm_defconfig
	arch/arm/mach-msm/Kconfig

(cherry picked from commit d3dfbac6b55f6074ad9de7cd08c518da28560f75)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
initial s2w dt2w code import from @showp1984

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:

	drivers/input/touchscreen/Kconfig

Conflicts:
	drivers/input/touchscreen/Makefile

(cherry picked from commit acb6f2df29146e9f6784e99df753324901b8c938)
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
restrict to bottom of screen, reduce feather radius, shorten time window, disable near edges

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit b066db0f8aadeb347b015d9a809d39a1a4ac9ae3)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
doubletap2wake: back to full screen, make a bit more sensitive

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit c9662c0b1fd9a14ee573cad15c2f0c4809e32300)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
fullscreen option

Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit 63221242232c8555dd742d8f4b9e789e2a8f42f9)
Signed-off-by: thirdzcee <ironbuang@gmail.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
tune sweep2wake sweeps for d2

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
better add my config file before i nuke everything with clear and mrproper :P

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
ARM:enable pipe flag

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
enable unaligned access

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
group tasks into the least number of cores possible for moar powah savings!!!

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
drivers: usb: Use Android device as USB keyboard/mouse

Base project: https://github.com/pelya/android-keyboard-gadget
Required app: https://play.google.com/store/apps/details?id=remote.hid.keyboard.client

Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable

All credits to @pelya for this sweet hack.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(cherry picked from commit 47e2324b5814b0f1928d0ed04c9f8d56b945aa3c)
Signed-off-by: thirdzcee <thirdzcee@github.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>

Conflicts:
	drivers/usb/gadget/android.c

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
tcp: network speed tweak

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(cherry picked from commit b36335157915ba37b95d2d89b0f6ac30fe10f390)
Signed-off-by: thirdzcee <thirdzcee@github.com>
Signed-off-by: thirdzcee <thirdzcee@gmail.com>
i prefere interactive over ondemand :D

Signed-off-by: thirdzcee <thirdzcee@gmail.com>
Added fsync on/off support.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
(cherry picked from commit a66b4b71cbf9d602fe628a4a54a08a4e47d119b9)
Signed-off-by: thirdzcee <ironbuang@gmail.com>

Conflicts:
	fs/sync.c