sweep2wake/doubletap2wake/touchscreen: Prepare for dt2w

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
sweep2wake: update header information

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
sweep2wake: remove distinction between S2W and DT2W defines

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
add doubletap2wake, completely rewritten on the s2w template

This is as easy to port as s2w, if not easier since no touchscreen
coords are necessary for it to work.

Just throw it in your tree, force the touchscreen to stay online and
you are done.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
s2w: abort on multitouch events early

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
dt2w: fix triple tap to wake occuring sometimes

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
s2w: add s2s only override

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
drivers/input/touchscreen/doubletap2wake: Fix compilation with earlysuspend

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
drivers/input/touchscreen/sweep2wake: Fix compilation with earlysuspend

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
drivers/input/touchscreen/sweep2wake: add mako definitions

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
drivers/input/touchscreen/sweep2wake: add flo/deb definitions

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
drivers/input/touchscreen/sweep2wake: if s2s_only is true, opt out early

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Display gamma control

TODO: confirm rgb channels, identify other tunables, cleanup,
apply values without switching screen (off and) on.

sysfs: /sys/devices/qcom,mdss_dsi_jdi_command_ors.69/*
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Apply commands values without switching screen (off and) on

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Remove tunable for command 32

Even slight changes look ugly or distort the screen.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: distinguish between Gamma RGB polarity Positive/Negative

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Remove sysfs for unused commands

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Identify white point in sysfs

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Add safety check for user input

Leave more checks either to the control app or the user's intelligence.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
msm: mdss: Finalize gamma interface and cleanup

- Remove all sysfs files of unused commands
- Remove auto sync for negative polarities, these must be written separately
- Protect offset bit of white point command as well
- Apply white point bit 2 as duplicate of bit 1

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>