msm: gpiomux: gpiomux configuration for skuf

Skuf use different GPIO configuration than MTP that need individual
configuration.

Change-Id: Iad4f55105232c3d0eb07d0f2a60f5046ba3875ef
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: makefile: Add makefile and kconfig for GT9xx CTP

Add Makefile and Kconfig to build Goodix GT9xx touchpanel driver.

Change-Id: Ibbcdcbb4563bc022d6e4034c37bc633eb9b34315
Signed-off-by: Figo Wang <figow@codeaurora.org>
input: touchpanel: Goodix GT915 driver cleanup

Code clean up that makes the driver more like a linux driver.
Add some error recovery to make sure driver will not crash when
error is occurs.

Change-Id: I3af425f5f0251ec576168f72a2059f85c3be4358
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: touchscreen: Goodix gt915 driver cleanup

Cleanup the gt915 goodix driver from checkpatch failures.

Change-Id: Id841423f229b6abc674cc1e3c6441d55062b6ab4
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: touchpanel: Add DT support for Goodix touchpanel driver

Add device tree parser to allow Goodix touchpanel driver to get
board dependent configuration from device tree.

Change-Id: I702400140130fd3b673e0e13a8dbdb7060bba881
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: touchpanel: Add power control to GT9xx driver

Add power initialization  function to request internal and external
LDO depends on device tree configuration. Add power control function
to enable and disable device power.

Change-Id: If063900f8cd61c36c4b200d781c68e742cd6bbaf
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
ARM: dts: msm: Add Goodix touchpanel support for skuf

Device tree to enable Goodix Gt915 touchpanel for skuf.

Change-Id: Ied4fd7630ca02a8f4d341c4495647ce4179ef27e
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
defconfig: msm8226: Enable gt9xx CTP driver

Enable Goodix gt9xx CTP driver for 8x26skuf.

Change-Id: I321b4d0ca77cf4512d8248057f006584b0fd8bef
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: touchpanel: Add FB notifications support to GT9xx

Add support for FB notifications to trigger suspend/resume
based on FB blank/unblank events.

Change-Id: I61803e3a731e047d0641e3b1ccbae58b9bd1bd89
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
input: touchpanel: enable protocol B for skuf CTP driver

Skuf use touch panel protocol B for touch event recognition that
needs enable this protocol in driver.

Change-Id: Ic855ed4fb0277a9bc5996bcb310db67b8ccf5c03
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
msm: mdss: Add plane alpha support

Clean up the blending rule to follow blend_op set from hwc.
Use modulate alpha for plane alpha when it is not 0xff.

Change-Id: Iad7217563bcae5e89fe8e50954494f6afdcb8e79
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
arm/dts: 8x10: fine tune the truly panel configuration

This is the fine-tuned truly panel configuration based
on vendor's recommendation.

Change-Id: I2070a978a2cc36537b392d856f92df5201da58f4
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
cpufreq: ondemand: Boost CPU frequency only for touch input

Originally CPU frequency were boosted for any input event.
In some case, sensor sends a lot of input event, which
keep CPU in high frequency.  CPU frequency only need to
be boosted when real user interaction happens.

Change-Id: Ia3ad755b98d8363a17729926610b5dd6f0075288
CR-Fixed: 507519
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
input: senosr: Add regulator control in suspend/resume for mma8x5x

Add the regulator management in sensor suspend/resume function.

Change-Id: Idee8125cee15e62c6f923019d89a8e335618a767
Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
Signed-off-by: mengmeng <mengmeng@codeaurora.org>
thermal: qpnp-adc-tm: Remove VADC_TM EOC

VADC_TM is used currently only for monitoring high/low
thresholds. Therefore remove registering for end of conversion
interrupts as we do not use this mode on VADC_TM.

Change-Id: Idf4afd23fa12439667f868666515c01eb7acbfad
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
input: sensor: add power control in sensor enable sysfs for mpu3050

Add the sensor power management in the enable sysfs interface,
through which the HAL layer could enable/disable the sensor.

Change-Id: I68d77a5085e2d80deedb273f0ff1e0d5664ba71c
Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
input: atmel_mxt: Add support for devices with no lpm support

Disable the regulators used by the controller when the device
does not support low power mode(lpm).

Change-Id: Ic974c7922c8888fefdfbbe1f5503f34c5964e993
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
input: atmel_mxt: Add touch controller state check to enable IRQ

Touch controller requires enabling IRQ from suspend to wake.
Unpaired enable-disable will cause issues from kernel.

CRs-Fixed: 523607
Change-Id: Ia44e440a2ad05cd60b685714a15828916ca81e7e
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
power: qpnp-charger: add disable adc disable work.

The ADC channel disable API may sleep when it is called. Move
the call to a work to avoid a kernel bug.

Change-Id: I75771c6b8219c0e8226083d5dce66c51c4a7624b
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
power: qpnp-charger: init adc_disable work correctly

Initialize adc_disable work correctly.

Change-Id: I7789d683b0b8b34ed28e573ff76c353fd2e90f80
Signed-off-by: David Keitel <dkeitel@codeaurora.org>