Commit graph

583697 commits

Author SHA1 Message Date
Laxminath Kasam
b7f73d188d ASoC: wsa881x: Add retry logic for temperature read
When temperature read happens, swr logical address
query failing sometimes and next retry is successful.
Add retry logic to handle this.
Also, temperature result can be out of range,
add retry of 3 attempts with 20ms gap to handle this.

CRs-Fixed: 2003278
Change-Id: Ie1b91d181e07d293864ea82d8b09419cc32e0854
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:34:46 +05:30
Tirupathi Reddy
844f4ec03b clk: qcom: osm: program SEQ_REG32 unconditionally
Program SEQ_REG32 unconditionally with the L_VAL corresponding to
the first virtual corner with MEM ACC level 3.

CRs-Fixed: 2011483
Change-Id: I3b8a5bed2c78f0f5f3aae22c4a58c57b75ddf3bb
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-24 18:11:20 +05:30
Amit Nischal
7d08417887 clk: msm: clock-mmss-8998: Update frequency plan for byte/pixel clock
The byte and pixel clock max frequency level has been updated to new
values, so update the same.

Change-Id: I5451c03b29a3b28e7363923896bc4836dbcd6e61
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-24 17:42:52 +05:30
Deepak Kumar
65d3a21cad ARM: dts: msm: Update GFX PM-QoS values for SDM660
Update GFX PM-QoS entries according to the measured
LPM latencies for SDM660.

Change-Id: I8f7e8141c4a5d2cae380a0af51dec8c29e683594
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-24 16:24:13 +05:30
Deepak Kumar
e5f964228d msm: kgsl: Use init_utsname() instead of ustname() for kernel build info.
Using per uts namespace utsname() for kernel build information section
in snapshot dump was causing a kernel panic because it is accessing a
NULL nsproxy pointer. nsproxy was null because corresponding user task
got SIGKILL which triggered call to free_nsproxy. The patch fixes the
issue by using the global init_utsname() which is always valid.

Change-Id: I13b1b07557794a7fcedf0c9e6acfd3406fbb8989
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-24 12:06:16 +05:30
Rakesh Pillai
badbe74a32 ath10k: fix copyright year for copy engine driver
Revert back the copyright year of third party file.

CRs-Fixed: 2009450
Change-Id: I2ca345632c70bc6b795ae6197663be68599eb0c4
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-23 21:43:40 -08:00
Linux Build Service Account
f419890fd6 Merge "smb138x: support ship mode" 2017-02-23 21:36:01 -08:00
Linux Build Service Account
4a493082aa Merge "drm/msm: mdp5: Correctly return ERR_PTR for mdp5_cfg_init" 2017-02-23 21:36:00 -08:00
Linux Build Service Account
2cd7103b29 Merge "msm: ipa3: halt modem channels as part of SSR" 2017-02-23 21:35:59 -08:00
Linux Build Service Account
c110184f50 Merge "msm: gsi: add support for generic commands" 2017-02-23 21:35:58 -08:00
Linux Build Service Account
53d85c3a8f Merge "ARM: dts: msm: enable watchdog for sdm630" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
d3462b2761 Merge "drivers: dma-removed: page align size on free" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
e1ddced4d7 Merge "defconfig: add cti config with save-restore disable for perf of sdm660" 2017-02-23 21:35:55 -08:00
Linux Build Service Account
b1fe14f458 Merge "ARM: dts: msm: Add LMH DCVSh mitigation support for KTM for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
66e280eb07 Merge "ARM: dts: msm: Enable LMH DCVSh driver for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
17ec241c6c Merge "soc: qcom: pil: Clear elf region on authentication failure" 2017-02-23 21:35:53 -08:00
Linux Build Service Account
9c2a8d5241 Merge "supply: qcom: battery: re-split FCC when ICL changes" 2017-02-23 21:35:52 -08:00
Linux Build Service Account
970eca3801 Merge "msm: mink: Separate out transport and client error" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
2dd610f4a0 Merge "ARM: dts: msm: enable SSC based sensors for SDM630 MTP/CDP" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
61284d06be Merge "ARM: dts: msm: Add SMB1351 device node for SDM660 QRD" 2017-02-23 21:35:50 -08:00
Linux Build Service Account
4c57c4181c Merge "ARM: dts: msm: changing memlat vote for min freq on SDM660" 2017-02-23 21:35:49 -08:00
Linux Build Service Account
4da238cbed Merge "ARM: dts: msm: Add touch device node for HDK835" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
791f50a09d Merge "ARM: dts: msm: Enable support for GLINK QOS feature on msm8998" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
f701481cfb Merge "MMC : card: check for card status incase of timeout error" 2017-02-23 21:35:47 -08:00
Linux Build Service Account
69bf85c82b Merge "ARM: dts: msm: add reg bus scale properties for sdm660 and sdm630" 2017-02-23 21:35:46 -08:00
Linux Build Service Account
67329e61e2 Merge "ARM: dts: msm: Update fuse corners supported for APC0/1 CPR for sdm630" 2017-02-23 21:35:45 -08:00
Linux Build Service Account
1569b17292 Merge "ARM: dts: msm: Add support for audio over USBC for SDM630" 2017-02-23 21:35:44 -08:00
Linux Build Service Account
4d40908715 Merge "ASoC: msm: qdsp6v2: Add INT3_MI2S interface for Source tracking" 2017-02-23 21:35:43 -08:00
Linux Build Service Account
0bb941eaed Merge "ASoC: codecs: Enable SSR for internal codec and WSA" 2017-02-23 21:35:42 -08:00
Linux Build Service Account
7e9aac208a Merge "ARM: dts: msm: Add routing controls for sdm660 internal codec" 2017-02-23 21:35:41 -08:00
Linux Build Service Account
60ebf2023c Merge "drm/msm: add support for 5V HPD pin for msm8998" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
64190381d8 Merge "drm/msm: enable hpd event support for hdmi display" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
6687ca759c Merge "drm/msm: add sde io util API support" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
e2ef4360ab Merge "drm/sde: add support for customized mode" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
097072f230 Merge "ARM: dts: msm: include SDE DTSI for MSM8998" 2017-02-23 21:35:34 -08:00
Linux Build Service Account
43de29b084 Merge "ARM: dts: msm: rename mdss_mdp to sde_kms and add HDMI TX device node" 2017-02-23 21:35:33 -08:00
Linux Build Service Account
e042032335 Merge "mhi: core: Add support for new MHI hardware channel" 2017-02-23 21:35:28 -08:00
Linux Build Service Account
9902e5e865 Merge "drm/msm: Get object iova from correct address space" 2017-02-23 21:35:15 -08:00
Linux Build Service Account
52f45fc339 Merge "drm/msm: Mark the microcode buffers as read-only" 2017-02-23 21:35:14 -08:00
Linux Build Service Account
f7e36cc621 Merge "drm/msm: Come out of secure before executing GPMU initialization" 2017-02-23 21:35:12 -08:00
Linux Build Service Account
ef49b42e4a Merge "drm/msm: Get and enable the IOMMU clocks" 2017-02-23 21:35:09 -08:00
Linux Build Service Account
fb98e68c1c Merge "drm/msm: Add hint to DRM_IOCTL_MSM_GEM_INFO to return an object IOVA" 2017-02-23 21:35:07 -08:00
Linux Build Service Account
b7ea8035cf Merge "msm: mdss: Install sync fences after user copy" 2017-02-23 21:35:06 -08:00
Anirudh Ghayal
6567e81b13 ARM: dts: msm: Force module re-eanble for LCDB on PM660L
This enables the WA for vph_pwr_2p5_ok signal remaining invalid.

CRs-Fixed: 1053543
Change-Id: I58c23adace7c4c29f352edb706666effe69dc8ad
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-02-24 09:39:03 +05:30
Anirudh Ghayal
2c4d8b12b2 regulator: lcdb: Add WA for vph_pwr_2p5_ok signal being invalid
The LCDB module does not sample the vph_pwr_2p5_ok signal if it drops
low when the module is off. It will continue with the last known
state of vph_pwr_2p5_ok which could cause a problem if vph_pwr_2p5_ok
is indeed low. Fix this by re-enabling of the module to activate
the vph_pwr_2p5_ok signal sampling.

CRs-Fixed: 1053543
Change-Id: If0950140cae12c92bb6be428b22400b492f823e4
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-02-24 09:37:50 +05:30
Abhijeet Dharmapurikar
6eb3649559 smb138x: support ship mode
Provide means to set ship mode on smb138x charger. While in parallel
charger mode make the main charger set ship mode on smb138x before
calling ship mode on itself.

Change-Id: I9b96b425829520d95632aa32d2297940cca5e254
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-23 19:57:16 -08:00
Jin Li
308342e526 drm/msm: add info frame configuration for hdmi controller
When HDMI controller is configured as non-DVI with CEA mode, SDE
driver needs to program AVI, VSIF and SPD information into HW to
generate correct info frame.

CRs-Fixed: 2010135
Change-Id: Ib218761c63b13aa229fc24519ceb9ccd0bd34ce2
Signed-off-by: Jin Li <jinl@codeaurora.org>
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-24 10:29:37 +08:00
Ray Zhang
618520c133 drm/msm: add sde hdmi bridge implementation
Add a private HDMI bridge implementation for SDE. This is
intended to support new HDMI features specific to SDE driver.

CRs-Fixed: 2010135
Change-Id: I0269b1ff79d8be4f48643a9e4e904427791ac1ac
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-24 10:25:14 +08:00
Abhinav Kumar
ccf767c2fe drm/msm: Revert "drm/msm/sde: fix color component order"
This reverts commit <c3e05abca5fabd7580be1378c5165a8b8f523f98>
(<drm/msm/sde: fix color component order>).

Color component order is specific to the rendering framework as well.
This change reverts the commit mentioned above to take other
frameworks into account which have different endianness.

Change-Id: Ic3135d5742dd4cf999f2d7271fc56ee46c74a353
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-02-23 17:21:57 -08:00
Skylar Chang
b171bdd7be msm: ipa3: halt modem channels as part of SSR
For modem SSR, APPS needs to halt modem consumer channels after
shutdown to make sure GSI FW does not access any modem's memory.

Change-Id: I6889a2ad509e0b1104ef8c3f65f24fe39b10745d
CRs-Fixed: 2008582
Acked-by: Ady Abrahan <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-02-23 14:07:09 -08:00