Commit graph

574378 commits

Author SHA1 Message Date
Figo Wang
849d4f3c1c input: touchpanel: Release all touches during suspend
Release all the touches before going to suspend to avoid
sticky touches and correct multitouch ID error.

This patch is propagated from 3.18 kernel 'commit 8a123ff1f64b
("input: touchpanel: Release all touches during suspend")'

Change-Id: I5dd84d44478291e16fd577aad5cf06503e44fbde
Signed-off-by: Figo Wang <figow@codeaurora.org>
2016-08-17 15:58:56 +05:30
Mohan Pallaka
c72652e02f input: ft5x06_ts: Add debugfs entry for dump info
Add a debugfs entry to display information about controller to the user.
Also have cleared the checkpatch errors on 3.18

This patch is propagated from 3.18 kernel 'commit 71e8bfde1da8 ("input:
ft5x06_ts: Add debugfs entry for dump info")'

Change-Id: I075501fefe1984533139ecca65af92f3c0ab8b97
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-17 15:48:34 +05:30
Shantanu Jain
aee223238b input: touchscreen: correct the return value in ITE tech touch driver
Correct the return value of it7260_ts_chip_low_power_mode function
in ITE tech touch driver.

This is a propagation patch from 3.18 kernel 'commit b1e998b971d9
("input: touchscreen: correct the return value in ITE tech touch driver")'

CRs-Fixed: 1020680
Change-Id: Iaaeb4ae22fadefd976906fdf8a995cd7cfe12d33
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-17 02:14:32 -07:00
Shantanu Jain
61f82846e0 input: touchscreen: send WAKEUP event properly in ITE Tech driver
Send WAKEUP event properly in ITE Tech touch driver when device
is in suspend mode.
The driver maintins a boolean state for sending the WAKEUP event.
When user taps the screen for touch-to-wake feature, the irq
handler for ITE Tech touch driver is scheduled after the ITE tech
resume function. Due to this the boolean state gets reset.
So this change handles this use case properly.

This is a propagation patch from 3.18 kernel  'commit 25af9ff9bc39
("input: touchscreen: send WAKEUP event properly in ITE Tech driver")'

CRs-Fixed: 1020680
Change-Id: Ifc1d00a42ecffe7aad65d99dadcdf170c56129a7
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-17 14:41:46 +05:30
Mohan Pallaka
19bdb8e2d1 input: ft5x06_ts: Add support for protocol B
Focaltech touchscreen chips can use MT protocol B
because they can assign unique id to ABS_MT_TRACKING_ID
from finger id provided by hardware.

This patch is propagated from 3.18 kernel
'commit 836a4745d978 ("input: ft5x06_ts: Add support
for protocol B")'

Change-Id: I7f236d819eb805934e12faedaf84407b9de95c0e
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-16 22:12:04 -07:00
Gaurav Singhal
6f13460739 NFC: Fix unbalanced irq warning stack trace
When NFC is not enabled, IRQ will be disabled and
then if we do suspend/resume wake up functionality
won't be enabled at suspend but we try to disable
the same at resume and cause irq warning.

Fix warning trace in below cases :
1) NFC enabled in makefile, but manually turned off in
   settings menu (NFC driver is enabled and hw is present).
2) NFC is not enabled in makefile
   (NFC driver is enabled and hw is present).

Change-Id: I0fd76809cd949d88ae7b820c37f0a9f349abb090
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2016-08-17 10:38:00 +05:30
Benjamin Chan
b23d3854bc msm: sde: Adding SW overhead statistic for SDE rotator
Enabling SW overhead statistic collection for SDE rotator. SW overhead
is defined as time between buffer queueing and HW flush.

CRs-Fixed: 1054205
Change-Id: I7f09dafa8c2d0f1940c76913ae842835059122f4
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-16 18:13:17 -07:00
Benjamin Chan
eeb4edfc69 ARM: dts: msm: add SSC to MDSS DSI PLL for msmcobalt
Enabling Spread Spectrum Clocking (SSC) support in MDSS DSI PLL
device for msmcobalt.

CRs-Fixed: 1036187
Change-Id: I15ee013f42e6d8630ae650350cc4d92dffd01b2e
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-16 18:08:23 -07:00
Benjamin Chan
56b0ef1365 clk: msm: mdss: add SSC support for dsi PLL on msmcobalt
Add support to control Spread Spectrum Clocking (SSC) in the
DSI PLL on msmcobalt.

CRs-Fixed: 1036187
Change-Id: I158670185976801970d54bec4bc42014b1b28b96
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-16 18:07:56 -07:00
Venkat Gopalakrishnan
ae1ede303b scsi: ufs-qcom: disable hibern8 during clk gating
There is no need to send hibern8 enter/exit during clk gate/ungate
when auto hibern8 is supported as that would be handled by the
controller, thus remove UFSHCD_CAP_HIBERN8_WITH_CLK_GATING cap.

Change-Id: Ica50975082b5071fafaa6a318c38e97afb7ba700
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-08-16 17:56:05 -07:00
Alan Kwong
4b225b46c3 msm: mdss: shutoff axi memory and periphery when axi clk is off
Because of CBCR update, mdss driver needs to control mdss axi clock
state of memory core and periphery control when branch clock is off.
Since mdss does not have retention requirement for axi, both memory core
and periphery control can be turned off to conserve power when mdss
axi clock is off.

CRs-Fixed: 1044375
Change-Id: Ia609549304be97cdaeff0f30ff0ca8ad5e22af75
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
2016-08-16 20:46:51 -04:00
Skylar Chang
801aa2e38a msm: gsi: enable wake irq
Allow GSI interrupt to wake up AP.
This change will prevent a data stall in case
AP is in power collapse and IPA has data available
to AP.

Change-Id: I6457d1e348cd8e7a9075396e02061843f0ac9abc
CRs-Fixed: 1012036
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-16 17:03:34 -07:00
Abdulla Anam
a0ecb452f4 msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl
Hide kernel pointers from unprivileged ussers by using %pK format-
specifier instead of %p. This respects the kptr_restrict sysctl
setting which is by default on. So by default %pK will print zeroes
as address. echo 1 to kptr_restrict to print proper kernel addresses.

CRs-Fixed: 987018
Change-Id: I4772257a557c6730ecc0624cbc8e5614e893e9fd
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
2016-08-16 16:54:56 -07:00
Skylar Chang
55d1eb491e msm: ipa: allow dtsi based lan rx ring size
Add support for specifying the size of LAN RX buffer pool.
Once this specified in dtsi, it will override the default value.

Change-Id: I60ff9ecf7e27aa9cd20dbc693e2ac392c401dfb9
CRs-Fixed: 1050748
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-16 16:54:26 -07:00
Skylar Chang
ab8bdb44da msm: ipa: fix potential NULL deference on SMMU
Fix potential NULL deference when SMMU is available.

Change-Id: I3454612cb8473e94ceb8163eca018d2489bff0c5
CRs-Fixed: 1052523
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-16 16:37:32 -07:00
Linux Build Service Account
008f057bba Merge "usb: pd: Always request maximum available current from PDO" 2016-08-16 16:35:14 -07:00
Linux Build Service Account
fdc8eb402a Merge "msm: vidc: Delay output buffer setting to FW" 2016-08-16 16:35:13 -07:00
Linux Build Service Account
d2113df12a Merge "perf: Add support for exclude_idle attribute" 2016-08-16 16:35:12 -07:00
Linux Build Service Account
2d546ee279 Merge "perf: add hotplug support so that perf continues after hotplug" 2016-08-16 16:35:11 -07:00
Linux Build Service Account
cca095ddea Merge "msm: mdss: update voltage level configuration for CX supply" 2016-08-16 16:35:10 -07:00
Linux Build Service Account
0391265ec0 Merge "msm: mdss: add support for hdcp 1.x interrupt handler" 2016-08-16 16:35:07 -07:00
Linux Build Service Account
13dc7954bf Merge "icnss: Vote aggre2_noc_clk through bus bandwidth framework" 2016-08-16 16:35:05 -07:00
Linux Build Service Account
4669827998 Merge "ARM: dts: msm: Add bus bandwidth entry for ICNSS" 2016-08-16 16:35:04 -07:00
Linux Build Service Account
e0eaae1dad Merge "defconfig: msmcortex: Enable CONFIG_MSM_AVTIMER" 2016-08-16 16:35:02 -07:00
Linux Build Service Account
1c37e5b693 Merge "Revert "arm64: fpsimd: Enable FP(floating-point) settings for msm8996"" 2016-08-16 16:34:58 -07:00
Linux Build Service Account
96bd85a9ee Merge "ARM: dts: msm: define pinctrl for MI2S and PCM devices for msmcobalt" 2016-08-16 16:34:57 -07:00
Linux Build Service Account
da8988ee5e Merge "ARM: dts: msm: Update qusb2 phy init sequence for msmcobalt v2" 2016-08-16 16:34:56 -07:00
Linux Build Service Account
c185b7a8e4 Merge "soc: qcom: Fix compilation warning/error" 2016-08-16 16:34:55 -07:00
Linux Build Service Account
408492cb84 Merge "defconfig: msm: enable GIC_V3_ACL access control on msmcobalt" 2016-08-16 16:34:54 -07:00
Linux Build Service Account
29d363c8d0 Merge "msm: mdss: remove always source split quirk setting" 2016-08-16 16:34:53 -07:00
Linux Build Service Account
fdcee0ef0c Merge "mdss: display-port: add support for edid read" 2016-08-16 16:34:51 -07:00
Linux Build Service Account
adc801c2ca Merge "ASoC: msmcobalt: remove custom PM QoS for Low-latency playback" 2016-08-16 16:34:49 -07:00
Linux Build Service Account
514b9da1d5 Merge "msm: vidc: fix CONSTRAINED_INTRA_PRED setting" 2016-08-16 16:34:48 -07:00
Linux Build Service Account
f4686dcc3a Merge "msm: kgsl: Add sparse memory support" 2016-08-16 16:34:47 -07:00
Linux Build Service Account
9dbc6e0357 Merge "ASoC: soundwire: fix out of boundary access issues" 2016-08-16 16:34:46 -07:00
Linux Build Service Account
9c0b26c636 Merge "sched/fair: Don't check for migration for a pinned task" 2016-08-16 16:34:45 -07:00
Linux Build Service Account
b7c4e9cc02 Merge "ion: system_heap: Add a new allocation method" 2016-08-16 16:34:43 -07:00
Linux Build Service Account
5a26d9e127 Merge "ion_page_pool: Remove GFP_COMP from page allocation mask" 2016-08-16 16:34:42 -07:00
Linux Build Service Account
771d0f8155 Merge "ion_page_pool: Remove prealloc tracking" 2016-08-16 16:34:42 -07:00
Linux Build Service Account
cae69282b4 Merge "iommu: dma-mapping-fast: Add mmap support" 2016-08-16 16:34:40 -07:00
Linux Build Service Account
a1b3f00279 Merge "arm/arm64: dma-mapping: Fix iova region size" 2016-08-16 16:34:39 -07:00
Linux Build Service Account
5222e961a1 Merge "ARM: dts: msm: Add QoS clocks to MDP nodes for msmcobalt" 2016-08-16 16:34:38 -07:00
Linux Build Service Account
a4bde9aacc Merge "tty: serial: msm: fix definition of msm_stop_dma" 2016-08-16 16:34:35 -07:00
Linux Build Service Account
7998a3bdd8 Merge "tty: serial: msm: Don't read off end of tx fifo" 2016-08-16 16:34:34 -07:00
Linux Build Service Account
11b1a53f38 Merge "tty:serial:msm:Do not restore Rx interrupts in DMA" 2016-08-16 16:34:33 -07:00
Linux Build Service Account
b969c4a9c1 Merge "tty: serial: msm: Only configure MND registers on hw that has it" 2016-08-16 16:34:33 -07:00
Linux Build Service Account
8d9eda8a49 Merge "tty: serial: msm: Move header file into driver" 2016-08-16 16:34:32 -07:00
Linux Build Service Account
016bdcf606 Merge "tty: serial: msm: Support more bauds" 2016-08-16 16:34:32 -07:00
Linux Build Service Account
6eb05033b2 Merge "tty: msm_serial: remove static clk rate setting in probe" 2016-08-16 16:34:31 -07:00
Linux Build Service Account
963e1e0ca7 Merge "earlycon: Use common framework for earlycon declarations" 2016-08-16 16:34:31 -07:00