Commit graph

577681 commits

Author SHA1 Message Date
Harry Yang
8947aae10b qcom-charger: WA for cc2 removal with medium and high rd
In PMICv2, typec removal is known when CC detachment is detected,
but this does not work due to a HW bug, when orientation is CC2
with medium or high rd.

Currently in HW, after cable is removed, rd reading switches to
std from medium or high. The software workaround is to catch this
very change in cc state update, and then force a cc detach irq.

CRs-Fixed: 1079913
Change-Id: I284ca8f2221f596432d67117d89e7d501d2bd9a8
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-11-14 10:47:30 -08:00
Harry Yang
dd9faf5083 qcom-charger: WA for typec cc2 sink removal with rdstd
In PMICv2, typec removal relies on CC detachment detection,
but CC removal event does not fire when orientation is CC2
with rdstd, due to a HW bug.

The software workaround is to force typec sink cycles and
poll CC states, until cc status reading confirms detachment,
and PD is notified of typec removal.

CRs-Fixed: 1079913
Change-Id: Ie9ed65d421df57c9bfa4db8e44d358da3b0cdc36
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-11-14 10:44:35 -08:00
Linux Build Service Account
24d0c1f91e Merge "msm: mdss: dp: handle fast attention events" 2016-11-13 13:51:09 -08:00
Linux Build Service Account
23bb5f214e Merge "msm: sde: add buf_finish callback to clear last fd" 2016-11-13 13:51:08 -08:00
Linux Build Service Account
d1224e557b Merge "clk: msm: mdss: fix potential use of un-initialized variable" 2016-11-13 13:51:07 -08:00
Linux Build Service Account
ce1a7c8d7d Merge "ARM: dts: msm: Add battery profile for FG in QRD interposer msmcobalt" 2016-11-13 04:22:15 -08:00
Linux Build Service Account
b22eba07a1 Merge "ARM: dts: msm: update VDD_GFX CPR settings for msmcobalt v2" 2016-11-12 21:39:15 -08:00
Linux Build Service Account
ace335774a Merge "defconfig: enable QCOM_IRQ_HELPER for 32bit msmcobalt and msmfalcon" 2016-11-12 05:13:47 -08:00
Linux Build Service Account
eac6f4e45b Merge "defconfig: Enable android-verity and FEC in msmcortex" 2016-11-11 20:05:51 -08:00
Linux Build Service Account
8e2e1b3d6a Merge "msm_11ad: disbale L1 for 11ad device" 2016-11-11 20:05:50 -08:00
Linux Build Service Account
2d320e52f7 Merge "usb: gadget: Do not disconnect unregistered dev" 2016-11-11 20:05:49 -08:00
Linux Build Service Account
20f034903f Merge "usb: core: Add support to skip extended bus resume delay" 2016-11-11 20:05:48 -08:00
Linux Build Service Account
35b3425fcb Merge "qpnp-fg-gen3: Fix empty SOC handling" 2016-11-11 20:05:47 -08:00
Linux Build Service Account
b1f3ef5bc7 Merge "soc: qcom: Replace ARRAY_SIZE macro with strlen" 2016-11-11 20:05:46 -08:00
Linux Build Service Account
327b9b6314 Merge "Documentation: sched: Update frequency guidance explanations" 2016-11-11 20:05:45 -08:00
Linux Build Service Account
b240a83d88 Merge "qcom-charger: smblib: add support for pd current setting" 2016-11-11 20:05:44 -08:00
Maya Erez
6de37372b4 msm_11ad: disbale L1 for 11ad device
Enabling L1 / L1SS for 11ad device causes PCIe
link down or PCIe NOC read/write timeouts.
To prevent that, disable L1 for 11ad devices after
PCIe enumeration and resume.

Change-Id: I5061c95855d462879c2f5237ded80131de4d215d
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-11-11 23:38:22 +02:00
Syed Rameez Mustafa
48cda09051 Documentation: sched: Update frequency guidance explanations
Following the introduction of the top-tasks approach towards frequency
guidance, the documentation on frequency guidance needs to be updated.
Update the same with new and accurate information.

Change-Id: If7deee97c09666b7d9513f79c0e278c430acfdfd
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-11-11 11:37:53 -08:00
Linux Build Service Account
8e69887600 Merge "debug-pagealloc: Panic on pagealloc corruption" 2016-11-10 22:49:44 -08:00
Linux Build Service Account
48247bb879 Merge "msm: kgsl: add egl_surface/egl_image usage count in debugfs" 2016-11-10 22:49:43 -08:00
Linux Build Service Account
a80049346b Merge "regulator: qpnp-labibb: add support to configure PFM for LAB regulator" 2016-11-10 22:49:43 -08:00
Linux Build Service Account
25d7561a4a Merge "ARM: dts: msm: Add IMEM pil entry for msmtriton" 2016-11-10 22:49:42 -08:00
Linux Build Service Account
d87560512f Merge "PM / devfreq: Restart previous governor if new governor fails to start" 2016-11-10 22:49:41 -08:00
Linux Build Service Account
1787801211 Merge "timer: Don't wait for running timers when migrating during isolation" 2016-11-10 22:49:40 -08:00
Linux Build Service Account
befd242303 Merge "sched/core: Fix migrate tasks bail-out condition" 2016-11-10 22:49:39 -08:00
Linux Build Service Account
2401d64a48 Merge "core_ctl: Synchronize access to cluster cpu list" 2016-11-10 22:49:39 -08:00
Linux Build Service Account
896ddc1b32 Merge "ARM: dts: msm: Fix BT current leakage in msmcobalt MTP and CDP" 2016-11-10 22:49:38 -08:00
Linux Build Service Account
d3939fea72 Merge "clk: qcom: Add support to initialize & handle dynamic update for alpha plls" 2016-11-10 22:49:37 -08:00
Linux Build Service Account
e73de78f69 Merge "ARM: dts: msm: Correct camera dtsi place for msmcobalt skuk device" 2016-11-10 22:49:36 -08:00
Linux Build Service Account
de9acd7e8f Merge "arm: dma-mapping: page align size before flush tlb" 2016-11-10 22:49:35 -08:00
Linux Build Service Account
c2183620ea Merge "ARM: dts: msm: Add GPU mempools properties for all msm" 2016-11-10 22:49:34 -08:00
Linux Build Service Account
e0181c29c3 Merge "msm: camera: Change CID array size to MAX_CID_CH_PARAM_ENTRY" 2016-11-10 22:49:33 -08:00
Linux Build Service Account
90bc693dd3 Merge "clk: qcom: gpucc: add and update clocks of GPUCC" 2016-11-10 22:49:26 -08:00
Linux Build Service Account
c24c3c4d70 Merge "ARM: dts: msm: Add camera node for msmcobalt QVR board" 2016-11-10 22:49:25 -08:00
Linux Build Service Account
6a1bff9bbe Merge "msm: camera: Change %p into %pK" 2016-11-10 22:49:24 -08:00
Linux Build Service Account
a2169b6661 Merge "msm: camera: sensor: Change initializer to 0 instead of -EINVAL" 2016-11-10 22:49:23 -08:00
Linux Build Service Account
b584568fe7 Merge "msm: kgsl: Change device-type memory mapping to Normal-NC" 2016-11-10 22:49:22 -08:00
Linux Build Service Account
3a7f3d14d8 Merge "msm: pcie: change the log type for PCIe Synopsys MSI interrupts" 2016-11-10 22:49:21 -08:00
Harry Yang
d5c5cd27e0 qcom-charger: smblib: add support for pd current setting
Forcing a certain current limit is not supported in the current
driver, but well needed in when pd is active.

In this change, ICL_OVERRIDE/APSD and USB mode are updated, so
that PD can alter current limit by simply voting the ICL
setting.

Change-Id: I8d3ec938d433fe9bdbb8c091873c07e75c49d632
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-11-10 22:45:43 -08:00
Ajay Singh Parmar
44b187a8c5 msm: mdss: dp: handle fast attention events
Sink may issue attention event faster then it can be processed by
source. Create a list of attention events and process them one by
one in the order on workqueue to avoid missing any attention event
from sink.

Change-Id: I36fd45efe1aa9437d5551002fc75a5f37d9cef79
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-11-10 16:25:14 -08:00
Ajay Singh Parmar
25aad74929 msm: mdss: hdcp2p2: check for valid keys before authentication
HDCP authentication requires valid keys on the source device.
If keys are not present, authentication can never be successful.
Check if the device is provisioned with hdcp keys, if so, proceed
with the hdcp authentication on HDMI/DisplayPort cable connection
otherwise avoid authentication as it may result in unnecessary
re-authentication loop.

Change-Id: I391ee35fa20cfade89773ecb565b220cc6249b8d
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-11-10 16:21:02 -08:00
Avaneesh Kumar Dwivedi
edf9249e94 soc: qcom: Replace ARRAY_SIZE macro with strlen
ARRAY_SIZE returns size of array. While sending command string
we need to only pass size of actual command string, hence use
strlen in place of ARRAY_SIZE.

Change-Id: If0afc6b1209b03ae17472a17b34d9d403757bfd0
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2016-11-10 15:24:37 -08:00
Linux Build Service Account
8a9006341d Merge "ARM: dts: msm: Enable memory allocation for diag on cobalt" 2016-11-10 15:14:42 -08:00
Linux Build Service Account
dd49b991fb Merge "defconfig: Enabling config INET_DIAG_DESTROY" 2016-11-10 15:14:41 -08:00
Linux Build Service Account
a39b207b2b Merge "memshare: Pass device structure to ramdump driver" 2016-11-10 15:14:40 -08:00
Linux Build Service Account
0307dd36e1 Merge "ARM: dts: msm: Update clock gcc node for MSMfalcon/Triton" 2016-11-10 15:14:40 -08:00
Linux Build Service Account
c819db3dd1 Merge "msm: kgsl: use seq_file for mem_entry debugfs" 2016-11-10 15:14:39 -08:00
Linux Build Service Account
1242c04867 Merge "ASoC: msm: qdsp6v2: add support for tx app type config" 2016-11-10 15:14:38 -08:00
Linux Build Service Account
8f000b7b8e Merge "ARM: dts: msm: Add IMEM pil entry for msmfalcon" 2016-11-10 15:14:37 -08:00
Linux Build Service Account
982cdaebe0 Merge "ARM: dts: msm: Enable memory allocation for diag on falcon" 2016-11-10 15:14:36 -08:00