ksm: Provide support to use deferred timers for scanner thread

KSM thread to scan pages is getting schedule on definite timeout.
That wakes up CPU from idle state and hence may affect the power
consumption. Provide an optional support to use deferred timer
which suites low-power use-cases.

To enable deferred timers,
$ echo 1 > /sys/kernel/mm/ksm/deferred_timer

Change-Id: I07fe199f97fe1f72f9a9e1b0b757a3ac533719e8
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
ghost: Enable KSM

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
msm: kgsl: Use preset load threshold tables

* These values should be more conservative

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
msm: kgsl: Increase minimum sampling time to 10msec and expose SYSFS

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
touchscreen: sweep2sleep: Refactor to Touch Control driver

* Implement DoubleTap2Wake functionality
* Refactor to a common Touch Control driver

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>