kernel bacon: enable touchpanel gestures and double tap by default

Change-Id: I1ba533f6efd012c0c39af6125b36dd222f8d22cc
kernel bacon: replace torch gesture in favour of silent/vibrate/ring

This is just a naming change to be consistent. The actual change is done
in DeviceHandler.

Torch should be nothing which ppl activate by a gesture if the device is off.
If the user does not see that he or she enabled it it can damage on longrun the
led. Aside that we have double tap torch on lockscreen.

In meetings often it is needed to fast silent the phone. V gesture alters
now between silent / vibrate / sound.

Change-Id: I416f9fe970704b8d1ce54335f8a5134813d64607
Remove + from local version

Change-Id: I3c9efa0b446393aa6c628cfc3d2df6455ac17cf7
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
mkcompile_h: small change
LCD_KCAL: Color Control driver for OnePlus One

Change-Id: I6adb94c00ae689236a618cca73fbe3dec80a3c7f
LCD_KCAL: Introduce configurable kcal_min
Lower values such as 0-10 ultimately create a dark, washed out display,
if a user accidently sets their kcal values to "0 0 0" they will loose
visual control of the device, potentially requiring a hard reboot.
Introduce minimum kcal values to prevent this behavior.

Willing users can disable this protection by setting the kcal_min value
to '0', however the default value of 35 is recommended.

sysfs:
echo "1/255" > /sys/devices/platform/kcal_ctrl.0/kcal_min

kcal_min will detect and block values attempting to set lower than
itself, resetting the specific values to that of kcal_min. There is also
behavior to adjust the kcal if kcal_min is set to a level higher than
that of any kcal value(s).

Change-Id: I4c1bba5f157560d2f160b7667d3618e87b5c2131
LCD_KCAL: Prevent out-of-range input values

Change-Id: I25be4b6e678ef9a4be17b4a30f5f30bdb99c7c59
kcal: remove control bit, update lut every overlay start and clean some code.

Change-Id: I815d46e54ebeea6d8310f028d5dd89fc0f574f5a
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
board: kcal: add init values or the display boots completely black.

Change-Id: I4139ca1112b0830f6f02205c23e689b623d08c36
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mdss: overlay: bye logs, was (not) nice to meet you.

Change-Id: I74c085af303d963db8bca05d1bd89eab6d81afe9
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: clock-krait-8974: User voltage control for msm-cpufreq device

Change-Id: I9900aa02e6167b0caf473b47db9af2e8f42e1518
LCD_KCAL: Fix compile with disabled CONFIG_LCD_KCAL

Change-Id: I74d765b17f35ab7fa8e8199a1b22e5e835303e91
bacon: add other gesture for torch (2/2)

The FLIP_CAMERA_SCANCODE is not used at all at current state. We replaced
last week torch arrow down gesture with silent/vibrate/sound functionallity.

Some user want still to have torch via gesture. Arrow up is a bit more natural
for it due that it points visually to the torch on the device.

So introduce new v up gesture to toggle the torch.

For now we just use FLIP_CAMERA_SCANCODE which hat the unused keycode
249 due that otherwise we need to use 256 which is out of unsigned char
keycode in kernel. We can change the whole logic on a later point if we
need to trigger more gestures.

For now this is a reliable way.

REMARK: Third party kernel torch will simply just not enable as long the kernel did
not integrate the new keycode 249

Change-Id: I927ea0950c317bdcb7c0d5633e3053e6d01d8af8
bacon kernel: Fix typo

Naming should be consistent...as well fix the wrong proc file check.

Change-Id: I21aaa1f589a947c96d235295b6767093edad2c19
defconfig: enable LCD_KCAL and UV

Change-Id: Ia0e3f07164d0c049be37ce5e6bd39792528fd74d