Add bullshit device tree stubs.

LG's 4.2 aboot searches for

/soc/qcom,mdss_dsi_lgit_video
/soc/qcom,mdss_dsi_jdi_video
/soc/qcom,mdss_dsi_jdi_cmd
/soc/qcom,mdss_dsi_lgit_cmd

before booting the kernel; and it will explicitly fail to boot if they aren't
present, as defined somewhere in their aboot source. This will appease the
4.2 bootloader and allow us to boot a kernel built on 4.4 sources.

The 4.4 aboot will also append:
"mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd" to kernel's command line, so
adding the above to the BOARD_KERNEL_CMDLINE in the device folder is necessary
to get the panel to work. (Thanks to xda user garyd9 for pulling /proc/cmdline)

A big thank you to Dan Rosenberg (djrbliss) for loki (the exploit that allows
for custom boot images)

Change-Id: I76833f4f8571282bfac48f9da5baf7ac6f606282
G2: Zero out the kcal limits in all board sources

This fixes RGB control

Change-Id: I7402e4c7097398a20527c257ccb45f5043677b42
Signed-off-by: dr87 <nb00870@gmail.com>
Update D803 Source Files

They are behind on other kernel sources.

Change-Id: Ia15d7129e6a87cc3b52c2525b3fb04e2c5216fdf
Signed-off-by: dr87 <nb00870@gmail.com>
D803: Zero out Kcal limits

Change-Id: I697359d9597956e09260e24df4bbb956acf8f592
Signed-off-by: dr87 <nb00870@gmail.com>
RIL: Fix RIL on AOSP roms using CONFIG_AOSP

This allows us to build stock kernels using the same branch as AOSP.

Change-Id: I23ebc494b7969ff1568224792cd7ebc36d433ed8
Signed-off-by: dr87 <nb00870@gmail.com>
DT2W: Fix DT2W Gesture on AOSP roms using CONFIG_AOSP

This allows us to build stock kernels using the same branch as AOSP.

Change-Id: I80f43dde74b90a4f3c86a405e43bb6ef463eeed4
Signed-off-by: dr87 <nb00870@gmail.com>
LEDS: Fix LEDS on AOSP roms using CONFIG_AOSP

This allows us to build stock kernels using the same branch as AOSP.

Change-Id: Ic0cd94db99666eb3ada4e6b6af935655728fcf24
Signed-off-by: dr87 <nb00870@gmail.com>
Bluetooth: Compile Bluedroid as its own source file using CONFIG_AOSP

Normally bluesleep will compile. When CONFIG_AOSP is enabled, build bluedroid  instead, allowing bluetooth to function on AOSP.

Change-Id: I4c14409fe700b564a1b80cab90c0648ba324ebfa
Signed-off-by: dr87 <nb00870@gmail.com>
Enable CONFIG_AOSP in Kconfig

Signed-off-by: dr87 <nb00870@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig

Conflicts:
	arch/arm/mach-msm/Kconfig

Change-Id: Ic8b1beccdf32133c2c23c8735e3032675269c8b4
msm: mdss: add retire fence support

Retire fence timeline should follow the actual panel vsync more closely.
For video mode the retire fence can be signaled along with the release
timeline with +1 offset, since this is signaled at vsync.
In case of command mode the panel vsync can be different from buffer
release timeline. To handle the command mode panel vsyncs better, create
a new timeline for the retire fence signaling.

Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: houst0nn <houstonn@gmail.com>

Conflicts:
	drivers/video/msm/mdss/mdss_fb.c

Change-Id: Iddb51ffac97e21c888c4308b7fd68b46eedf231e
tspdrv: Add LG's timed_output based interface

 This is the 2nd commit message:

tspdrv: Make the timed state atomic

This should fix race conditions with fast bursts of short tones

 This is the 3rd commit message:

tspdrv: Add a sysfs control for timed vibrator strength

Conflicts:
	drivers/misc/tspdrv/ImmVibeSPI.c

Change-Id: I3a306f83b9ae576cd429aa83b4d6f75ae56333e7
msm: vidc: update max P frames num for encode

Remove the restriction on the max number of
P frame interval.

Change-Id: If8d0c0d524802bfa06d2f42e5dd833545b1ab402
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Signed-off-by: houst0nn <houstonn@gmail.com>
msm: vidc: add LTR support for video encoder

Enable LTR support for VP8 codec to add robust error resilience.

Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
Signed-off-by: houst0nn <houstonn@gmail.com>

Conflicts:
	drivers/media/platform/msm/vidc/hfi_packetization.c
	drivers/media/platform/msm/vidc/vidc_hfi_api.h
	include/linux/videodev2.h

Conflicts:
	drivers/media/platform/msm/vidc/hfi_packetization.c
	drivers/media/platform/msm/vidc/vidc_hfi_api.h
	include/linux/videodev2.h

Change-Id: Ica206dde6ba3baedc7a9ae2d84e5047b9fb17628
Signed-off-by: houst0nn <houstonn@gmail.com>
msm: vidc: Add generic LTR mode support

Use generic LTR HFI APIs for h264 and vp8 formats.

Change-Id: I9f307046d7ec6de4eb6d43704686be902356882a
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
Signed-off-by: houst0nn <houstonn@gmail.com>