Commit graph

593085 commits

Author SHA1 Message Date
Linux Build Service Account
5cd00ff15b Merge "qbt1000: Add changes to support VOLUMEDOWN and CBGE" 2017-08-21 00:19:44 -07:00
Linux Build Service Account
f01c603a50 Merge "power: smb2: Update the charger buck frequencies for PM660" 2017-08-21 00:19:43 -07:00
Linux Build Service Account
fe66215fd0 Merge "power: qpnp-smb2: expose CHARGE_COUNTER prop via batt psy" 2017-08-21 00:19:42 -07:00
Linux Build Service Account
b8646eb8a5 Merge "usb: dwc3: msm: clear resource on dwc3_msm_probe defer" 2017-08-21 00:19:41 -07:00
Linux Build Service Account
445f7922e4 Merge "msm: ipa3: fix usb statuses exception path" 2017-08-21 00:19:40 -07:00
Wei Ding
1cc2028b25 ARM: dts: msm: Enable laser sensor on sdm630 MTP
Add the laser device with the required GPIO and
regulator configuration for sdm630 MTP.

Change-Id: I8800d870c41dfc7a74ab2adcf4f0349af8e5f87d
Signed-off-by: Wei Ding <weiding@codeaurora.org>
2017-08-21 14:28:34 +08:00
Manish Dewangan
aa91dc149f ASoC: msm: qdsp6v2: Do not reset backend pass-through mode
Backend pass-through mode is reset to LEGACY_PCM during routing close.
This results in opening of adm with non pass-through path type for
pass-through session if device switch is done during pass-through
session.
Fix this by avoid resetting Backend passthrough-mode.

Change-Id: Ia1ea10ce68ba04a72416827661b6fdc2abd48b3c
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2017-08-20 21:05:13 -07:00
Linux Build Service Account
2d7191e18b Merge "drm/msm: Map buffers on demand on the submit path" 2017-08-20 16:13:03 -07:00
Linux Build Service Account
856db5ee22 Merge "defconfig: msmcortex: Enable cnss_genl driver compilation" 2017-08-20 16:13:03 -07:00
Linux Build Service Account
c1650f847c Merge "power: smb-lib: Add USB notification" 2017-08-20 16:13:01 -07:00
Sushmita Susheelendra
8f35857366 drm/msm: Map buffers on demand on the submit path
Map and pin buffers on demand on the submission path.
This ensures that we only map buffers whose iova are
actually needed for submission as opposed to all
buffers in the buffer list. For instance, the command
buffers, and the reloc buffers for processing relocs.
Also remove unused member valid from the struct
msm_gem_submit.

Change-Id: I644f44f202552d14762ffe1d1761b98ed5961020
Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
2017-08-20 14:07:54 -06:00
Sushmita Susheelendra
c6820d61e2 drm/msm: Map command buffers to kernel only if required
Map command buffers to the kernel address space only if
relocs are specified for the submission. This reduces some
overhead on the submission path.

Change-Id: I32ca3c7fe2147c835a328e0c8937b45f2f3d59b9
Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
2017-08-20 14:05:06 -06:00
Jordan Crouse
214aa354fd drm/msm: Remove __user from __u64 data types
__user should be used to identify user pointers and not __u64
variables containing pointers.

Change-Id: Ic0dedbad30b0244e7fa3b34858d5020001b87330
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-08-20 14:03:20 -06:00
Linux Build Service Account
953cc18d9e Merge "btfm: Correct the slimbus turn on/off sequence for FM ports" 2017-08-20 09:41:00 -07:00
Linux Build Service Account
49397ce3af Merge "regulator: qpnp-lcdb: Add headroom voltage for boost" into msm-4.4 2017-08-20 01:17:46 -07:00
Linux Build Service Account
6187c846cd Merge changes I0236f849,I87b2ac56,Ia7a344e6,I1cace039 into msm-4.4
* changes:
  ARM: dts: msm: Add tp rev property for PM660
  iio: rradc: Update RRADC USBIN scaling
  qpnp: revid: Add support to read TP Rev
  ARM: dts: msm: increase PCIe PHY wakeup delay from L1ss for msm8998
2017-08-20 01:17:43 -07:00
Linux Build Service Account
4c73d9ccde Merge changes I914c68a9,I2003e40c into msm-4.4
* changes:
  ASoC: msm: qdsp6v2: latency mode support for transcode loopback
  ASoC: msm: volume control support for DSP transcode loopback
2017-08-20 01:17:41 -07:00
Linux Build Service Account
a5a9ec7754 Merge "power_supply: add properties for SDP current and PD voltage" into msm-4.4 2017-08-20 01:17:38 -07:00
Linux Build Service Account
a254db548d Merge "drm/msm: Free all allocated resources in case hardware init fails" into msm-4.4 2017-08-20 01:17:33 -07:00
Linux Build Service Account
d7d541d471 Merge changes I144bd8ad,Ic73cbec2 into msm-4.4
* changes:
  ASoC: msm: Quat MI2S capture dai update for 88.2 and 176.4 Khz rates
  ASoC: msm8998: Add 88.2 and 176.4 khz support for MI2S Interface
2017-08-20 01:17:30 -07:00
Linux Build Service Account
360f0c55cc Merge "usb: pd: rename enum pd_msg_type to pd_sop_type" into msm-4.4 2017-08-20 01:17:26 -07:00
Linux Build Service Account
ae637d061f Merge "deconfig: arm64: Enable laser sensor on sdm660" into msm-4.4 2017-08-20 01:17:24 -07:00
Linux Build Service Account
e060b0eda6 Merge "ASoC: msm: qdsp6v2: Increase max supported ASM sessions" into msm-4.4 2017-08-20 01:17:21 -07:00
Linux Build Service Account
cd6ebe2c6b Merge changes I63f4b61e,Ie1e65719 into msm-4.4
* changes:
  cnss2: Fix bugs for driver debugfs nodes
  cnss2: Enhance debugfs support for device boot
2017-08-20 01:17:18 -07:00
Linux Build Service Account
fd17ef2bca Merge "msm: kgsl: Add disable-wake-on-touch devicetree property" into msm-4.4 2017-08-20 01:17:16 -07:00
Linux Build Service Account
0f9dd1be13 Merge "ASoC: msm: Fix pan control param gain to accommodate Q28 format" into msm-4.4 2017-08-20 01:17:14 -07:00
Linux Build Service Account
226d13c582 Merge "power: pmic-voter: use force_val in rerun election" into msm-4.4 2017-08-20 01:17:10 -07:00
Linux Build Service Account
91e4f87419 Merge "msm: gsi: check channel state on timeout" into msm-4.4 2017-08-20 01:17:09 -07:00
Linux Build Service Account
7d8619d8fc Merge "msm: pcie: add global lock for PCIe enumeration" into msm-4.4 2017-08-20 01:17:04 -07:00
Linux Build Service Account
1c2f58fb73 Merge "msm: usb_bam: Fix failure of remove by of_platform_depopulate" into msm-4.4 2017-08-20 01:17:02 -07:00
Linux Build Service Account
a5d91019ca Merge "arm64: io.h: fix write{w,q}_relaxed_no_log() macro" into msm-4.4 2017-08-20 01:17:01 -07:00
Linux Build Service Account
9e86ebb8e2 Merge "ASoC: msm: enable app type config for transcode loopback" into msm-4.4 2017-08-20 01:16:59 -07:00
Linux Build Service Account
2f2dc26cb6 Merge "msm: ais: Avoid deadlock for vb2 operations using separate lock" into msm-4.4 2017-08-20 01:16:54 -07:00
Linux Build Service Account
b2e1a05cd3 Merge "ARM: dts: msm: Enable laser for sdm660 CDP/MTP" into msm-4.4 2017-08-20 01:16:52 -07:00
Linux Build Service Account
c72d0c4cec Merge "qpnp-smb2: use real_type to convey WIPOWER type" into msm-4.4 2017-08-20 01:16:50 -07:00
Linux Build Service Account
f252da1f0b Merge "rh850: fix mtu to CANFD size" into msm-4.4 2017-08-20 01:16:48 -07:00
Abhinav Kumar
6f89dc25f3 drm/msm: fix hdcp 1x module for repeater test cases
Remove the incorrect Ainfo transfer to the sink during the
start of repeater test cases for the HDMI HDCP 1x module.
This causes incorrect results from sinks which are repeaters.

Fix the logic to disable software DDC before going into
part3 of HDCP 1x authentication.

Change-Id: Iddf1c5804162ecd3919a0d4fedc9102e3b1778ed
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-08-18 21:23:50 -07:00
Abhinav Kumar
a4d823ae08 drm/msm: clear deep color mode flags when updating modes
Currently, deep color mode flags are not being cleared
across connect-disconnect of HDMI cable. This leads to
stale information being present on the next successful
connection.

Clear the stale deep color mode flags before updating the
modes during a connection event.

Change-Id: I90d494a67dfb1c3fd464f1e1ffb24592bd712702
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-08-18 21:02:19 -07:00
Linux Build Service Account
f0e22ca5e0 Merge "ath10k: Remove dedicated p2p_device interface capability for wcn3990" 2017-08-18 21:02:12 -07:00
Linux Build Service Account
9255d9d73a Merge "ath10k: Enable pktlog for rx data packets" 2017-08-18 21:02:11 -07:00
Yue Ma
828b18a1a8 cnss2: Add debugfs entries for register read/write
Add debugfs entries for reading/writing WLAN hardware registers.
This is for runtime debugging enhancement.

Change-Id: If7a85181858e127187906beca69870a98f4a1184
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-08-18 14:57:00 -07:00
Varun Balaraj
3838922706 ASoC: msm: qdsp6v2: Increase max supported ASM sessions
ASM max active sessions increase to 9 to allow 8 interactive and
one primary stream concurrently.

CRs-Fixed: 2093120
Change-Id: I92a51dd1937634abb472fc06edbdd879b3d152d0
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
2017-08-18 08:56:42 -07:00
Sarada Prasanna Garnayak
5eebfeaa9c wcnss: modularize wcnss power up sequence and debug logs
Modularize the wcnss power up sequence like wcnss voltage
regulator enable/disable sequence and voltage regulator
current and voltage level parsing method. Remove hack code
from the power wcnss power process and enable/disable
the power resource if it's defined in the wcnss device node.

Update the debug logs to track the exact state of the power
state during device bootup. Remove the unnecessary logging
for the optional resource request fails during device bootup.

CRs-Fixed: 2086414
Change-Id: I30b1e2196eb9d1c933275f3db34ca0ff5664ea3b
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-08-18 07:02:53 -07:00
Mohammed Javid
ec183bfa20 msm: ipa3: Fix to avoid accessing of uninitialized structure
Added code changes to check ipa3_ctx initilized or not
during bootup in sdm670.

Change-Id: I03e5b8de30c77da140e9575c2315b0878cf5363c
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-08-18 06:48:30 -07:00
Sarada Prasanna Garnayak
f1594495ec wcnss: update MAC address generate logic from the serial number
The WLAN host driver use device serial number to generate
MAC address. The wcnss platform driver export symbol for
WLAN host driver to read the device serial number to generate
the MAC address. Add updated SOC API to get the device serial
number in the wcnss platform driver.

CRs-Fixed: 2089225
Change-Id: Ic540f2e6e705131f18b59e8f139087d5d99024f6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-08-18 06:44:26 -07:00
Anurag Chouhan
6c6fb7901e icnss: Add support to validate the result and error code
Add support to validate the result and error code
received from the WLAN firmware service.

CRs-fixed: 2095184
Change-Id: I454df58e293fbf2d99601d1c6820e67b5cae370c
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2017-08-18 17:01:19 +05:30
VijayaKumar T M
34972c3909 msm: sensor: Add mutex lock during ois power down operations
Protecting operations performed during ois powerdown
from race condition by adding mutex locks.

CRs-Fixed: 2081806
Change-Id: I27a735fd69d3e98fdd2ed48456336c560b6f3adc
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
2017-08-18 04:22:43 -07:00
Dhoat Harpal
40fa8e0735 soc: qcom: glink_smem_native_xprt: Fix memory leak during qos init
In function parse_qos_dt_params, memory is allocated to arr32 but it
is never freed.

Free memory when exiting the function.

CRs-Fixed: 2093722
Change-Id: Ic1fc58c6685990e2865ef4033b54303d47311560
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-08-18 15:53:51 +05:30
Patrick Daly
5fda2dc99f ion: Convert allocation counters to long
On 64bit platforms, the amount of memory allocated by ion can exceed
32 bits.  Therefore the counters which track this information must be
64 bits as well.

Change-Id: I81daf2cec78de5787279daaf98264c5462ba6645
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2017-08-18 14:08:22 +05:30
Sharat Masetty
db67d1e70d drm/msm: Disable clocks when GPU is inactive
This patch addresses an issue in the GPU init sequence where
the clocks are turned on during the process but after the
init is complete the clocks are not turned off. Due to this,
the GPU clocks always have a refcount delta of 1 and never
get disabled later even when explicitly requested.

Change-Id: I40fa9a25cd86f5d39fbe6f6e3f83d6ab467d615f
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-08-18 10:49:54 +05:30