Commit graph

586136 commits

Author SHA1 Message Date
Bikas Gurung
abf70e5c9d input: vl53l0: Enable laser sensor Kconfig and Makefile entries
Laser sensor is connected using CCI interface.
Add support to configure and enable laser
sensor driver.

CRs-fixed: 1051771
Change-Id: Ia9eab96862b1c2a657d40272867f015a0a91e0ed
Signed-off-by: Bikas Gurung <bgurung@codeaurora.org>
2017-03-16 16:38:12 +08:00
Ashay Jaiswal
50df82f860 qcom: qpnp-smb2: update micro-usb mode change sequence
Switching to micro-USB mode in PBS might cause charger FSM
to stuck, update the micro-usb mode switch sequence to reset
FSM and move charger FSM into micro-USB mode.

CRs-Fixed: 2017880
Change-Id: I6e4484e9a83494f81dad0d9cdbd815b62d67c9af
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-03-16 13:58:53 +05:30
Sandeep Panda
0c48b2fcf8 msm: mdss: read active line count before triggering BTA
In the current implementation before triggering BTA,
DSI SW waits for extra time to skip display blanking period.
Add an additional check for active line count to ensure that
BTA is always triggered during display active region only.

Change-Id: Ife67f5a38fa9e8df6f8431e9d2b0179c207adeb2
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-16 13:03:50 +05:30
Ashish Garg
62cdee80fc ARM: dts: msm: enable ESD for command mode panel on sdm660
ESD feature is enabled on the nt35597 truly panel on sdm660 to
check the panel status periodically.

Change-Id: Id354c900a784b1bf239595fd31a244c064066987
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
2017-03-16 00:17:42 -07:00
Ashish Garg
d433ca6670 ARM: dts: msm: update the panel escape clock for truly panel
For some panels, escape clock needs to be updated for checking
the panel status periodically. Update the panel init sequence
to increase the escape clock.

Change-Id: I4a154d30e829c80587b3207ddc754aace927ab1c
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
2017-03-16 12:47:11 +05:30
Aravind Venkateswaran
f120e77b9a msm: mdss: dp: restrict list of supported modes based on link parameters
DP sink specifies the maximum per-lane link rate and the maximum lane
count that it supports as part of its capabilities. This would limit
the maximum data transfer rate that can be supported on the link. Use
this information to filter the list of EDID modes to include only the
ones that can be supported with the maximum possible link rate.

CRs-Fixed: 2018514
Change-Id: I4bc3a339935a49081bd45cb778737116d99ee7c2
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-03-15 23:04:55 -07:00
Srinivas Girigowda
5c03c607f0 msm: wlan: Update regulatory database for South Korea
Incorporate the 2016-10-31 updates to the internal regulatory
database for South Korea.

Change-Id: I310bb8609c2298832e976e38ebe6b816c6faa5d0
CRs-Fixed: 2020241
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2017-03-15 19:29:47 -07:00
Wei Ding
722434012e ARM: dts: msm: increase strength for mclk0 on msm8998 HDK
Increase the strength of camera mclk0 on msm8998 HDK.

Change-Id: I9804d26265f074e1696f9b324ac8973100bb0a0e
Signed-off-by: Wei Ding <weiding@codeaurora.org>
2017-03-15 17:43:32 -07:00
Sunil Paidimarri
25709e34ad msm: ipa: Add IPA NTN suspend-resume support
Added support for IPA Neutrino offload suspend
resume to IPA driver.

Change-Id: Ie9cc50cb30c579e286350f1f4d0b201e6f09b0c5
CRs-Fixed: 1095771
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2017-03-15 17:15:15 -07:00
Zhen Kong
11352d5a7a firmware: tz_log: Enable asynchronous driver probing
Do asynchronous driver probing of TZ log driver to improve
the device boot-up time.

Change-Id: Ic972be12f820787db1a5bc957b109461354875fb
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-03-15 16:43:02 -07:00
Ram Chandrasekar
419140454d drivers: msm_lmh_dcvs: Fix unsigned integer overflow error
The frequency value that is calculated in Hz can be of a large value to
cause unsigned integer overflow. DCVSh though fetches the final
frequency value in HZ in a unsigned long variable, the intermediate
variable used in the estimation is unsigned integer. This will result in
a wrong frequency value being reported to userspace and clients.

Fix the overflow by using a unsigned long datatype for the frequency
computation.

Change-Id: I4bba53b9f5bd243c4aaaf67a831ce77ef231b38f
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2017-03-15 16:28:38 -06:00
Maya Erez
d10579f3b2 wil6210: NOC time-out fixes
On MSM there is NOC time-out in case the 11AD device wake-up
latency exceeds 6.7ms.
In order to guarantee fast wake-up in 11AD BL, set USAGE_8
bit 0, which prevents deep sleep in BL.
In addition, to shorten the wake-up time in operational FW,
mark the FW to set T_POWER_ON to 0, by setting BIT 1 of USAGE_8
register.

Change-Id: Ic1084f0ba1a226723818f7e4a7b1d81ce30bb31f
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-03-15 22:04:53 +02:00
Liam Mark
0bf318c247 iommu: dma-mapping-fast: per-buffer coherent mappings
For "fast" stage 1 mappings add support to either force a buffer to
be mapped as coherent through the DMA_ATTR_FORCE_COHERENT DMA
attribute, or to force a buffer to not be mapped as coherent by
using the DMA_ATTR_FORCE_NON_COHERENT DMA attribute.

Both the DMA_ATTR_FORCE_COHERENT and DMA_ATTR_FORCE_NON_COHERENT DMA
attributes override the buffer coherency configuration set by making
the device coherent.

Change-Id: I465a88ee568fb6cd8206c26a62cbf02ac40328fa
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2017-03-15 12:47:07 -07:00
Satya Durga Srinivasu Prabhala
e86e2573c2 esoc: Fix potential NULL pointer dereferences
Update checks to avoid potential NULL pointer dereferences
which are reported in static analysis.

Change-Id: Ibb9db8fb44f9e27da9e531b762dfddd9725c1b4f
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-15 11:32:10 -07:00
Linux Build Service Account
6f55033ecf Merge "USB: f_qc_rndis: Change descriptors to support wireless RNDIS" 2017-03-15 10:25:37 -07:00
Linux Build Service Account
c22a9eb365 Merge "ARM: dts: msm: Move improve touch device node for SDM660 QRD" 2017-03-15 10:25:37 -07:00
Linux Build Service Account
6989b3b8c5 Merge "msm: mdss: Fix hist sum sanity check issue" 2017-03-15 10:25:36 -07:00
Linux Build Service Account
358a638e69 Merge "msm: mdss: Fix source split validation" 2017-03-15 10:25:35 -07:00
Linux Build Service Account
921b4d5582 Merge "msm: mdss: Add check to fix null pointer dereference during pipe reset" 2017-03-15 10:25:34 -07:00
Linux Build Service Account
b5337ed3d2 Merge "ARM: dts: qcom: Update DDIC timing for JDI panel" 2017-03-15 10:25:33 -07:00
Linux Build Service Account
39b7c03e8a Merge "msm: mdss: fix secure buffer ref counting" 2017-03-15 10:25:32 -07:00
Linux Build Service Account
0da87c9f78 Merge "icnss: QMI timeout, do not ASSERT when PD down" 2017-03-15 10:25:32 -07:00
Linux Build Service Account
833104d826 Merge "qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination" 2017-03-15 10:25:31 -07:00
Linux Build Service Account
5bd64ca62c Merge "mhi: core: add support for MHI to operate on slave mode" 2017-03-15 10:25:29 -07:00
Linux Build Service Account
e59fe1c6b9 Merge "mhi: core: add support for MHI host managing firmware upload" 2017-03-15 10:25:28 -07:00
Linux Build Service Account
1e3cff4cba Merge "mhi: mhi_rmnet: pass maximum payload size to mhi during registration" 2017-03-15 10:25:27 -07:00
zhaoyuan
41f002b596 ARM: dts: msm: Move improve touch device node for SDM660 QRD
Improve touch device setting is needed by QTC800H only. So move
the node to qrd dts from common file.

Change-Id: I1c04e2b2540a4db9dff839ebe3dfe45efe552c9a
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
2017-03-15 01:28:41 -07:00
Ray Zhang
58d17170ba ARM: dts: msm: enable HDMI and DP functionality for HDK835
HDK835 has HDMI and DP hardware blocks, so enable them in the
device tree.

CRs-Fixed: 2012660
Change-Id: I04a58527875bd6c62d7d31e20bc4ade3824d7e03
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-03-14 23:50:42 -07:00
Linux Build Service Account
ad64f3159b Merge "soc: qcom: qmi: add export symbol qmi_response_type_v01_ei" 2017-03-14 23:45:55 -07:00
Linux Build Service Account
012107e127 Merge "ARM: dts: msm: Update more thermal-mitigation levels for PM660" 2017-03-14 23:45:54 -07:00
Linux Build Service Account
31af073d20 Merge "epoll: Drop struct epoll_event definition" 2017-03-14 23:45:53 -07:00
Linux Build Service Account
5362d67feb Merge "msm: ipa: Add spinlock to avoid deleting already deleted list" 2017-03-14 23:45:53 -07:00
Linux Build Service Account
aebd97e372 Merge "msm: ipa: Hold wakelock on Neutrino offload enable" 2017-03-14 23:45:51 -07:00
Linux Build Service Account
081dc50ec7 Merge "clk: qcom: Update ops for esc clock source" 2017-03-14 23:45:50 -07:00
Linux Build Service Account
e326dbfb8f Merge "wil6210: protect against sporadic interrupt during suspend flow" 2017-03-14 23:45:49 -07:00
Linux Build Service Account
ebcfa03af9 Merge "ARM: dts: msm: Modify pm660 gpio3 to 10uA pulldown" 2017-03-14 23:45:48 -07:00
Linux Build Service Account
7309dc1ced Merge "ARM: dts: msm: Add routing controls for sdm660 qrd" 2017-03-14 23:45:47 -07:00
Linux Build Service Account
7a17dfedc6 Merge "ASoc: msm: qdsp6v2: Add timestamp support for offload playback" 2017-03-14 23:45:46 -07:00
Linux Build Service Account
3961be10c4 Merge "soc: qcom: Avoid possible buffer overflow in service-locator" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
040d1247eb Merge "usb: host: xhci: Move LPM support quirk to xhci_plat_quirks" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
bb6ff6488f Merge "ARM: dts: msm: enable display for SDM660 PM660A QRD" 2017-03-14 23:45:44 -07:00
Linux Build Service Account
01107b6d9c Merge "msm: mdss: set interface stopped flag properly during suspend" 2017-03-14 23:45:43 -07:00
Linux Build Service Account
83b21004d2 Merge "msm: mdss: Avoid unnecessary warnings during pipe unstaging" 2017-03-14 23:45:42 -07:00
Linux Build Service Account
6b1a41eea8 Merge "firmware: qcom: tz_log: fix reading log issue on secure boot enabled device" 2017-03-14 23:45:41 -07:00
Linux Build Service Account
29620da5ab Merge "msm: isp: Add support for VFE dual camera resolution limit" 2017-03-14 23:45:40 -07:00
Linux Build Service Account
c4849b9b3e Merge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm660" 2017-03-14 23:45:39 -07:00
Linux Build Service Account
026bc74afe Merge "ASoC: codecs: Add PM suspend routines for digital codec" 2017-03-14 23:45:38 -07:00
Linux Build Service Account
6490c4e227 Merge "drm/msm: Remove DRM_MSM_NUM_IOCTLS" 2017-03-14 23:45:37 -07:00
Linux Build Service Account
3d973006bc Merge "drm/msm: Move QTI specific ioctls to avoid conflict" 2017-03-14 23:45:36 -07:00
Linux Build Service Account
ba76a5fa05 Merge "msm: camera: isp: correct the CX iPeak voting logic" 2017-03-14 23:45:36 -07:00