Commit graph

874,420 commits

Author SHA1 Message Date
qctecmdr
71c01ac3f6 Merge "Merge remote-tracking branch 'remotes/origin/tmp-aefd2d632eb0' into msm-lahaina" 2019-11-13 12:46:13 -08:00
qctecmdr
708c2fd53a Merge "msm: cvp: Port CVP driver to 5.x kernel" 2019-11-13 11:37:06 -08:00
qctecmdr
7d7f446298 Merge "ASoC: core: update NAME_SIZE to 64" 2019-11-13 11:02:10 -08:00
qctecmdr
e2c1998133 Merge "ALSA: core: Expose sound card online/offline state" 2019-11-13 01:49:49 -08:00
qctecmdr
e0aca1e961 Merge "msm: adsprpc: update driver to latest version from msm-4.19" 2019-11-12 16:56:19 -08:00
Tharun Kumar Merugu
524cdbf341 msm: adsprpc: update driver to latest version from msm-4.19
Update fastrpc driver files to the latest version from msm-4.19
branch.

Change-Id: Ia8b76d42c78974bf2cbb27d022939fc1dfd5f7b1
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2019-11-12 13:07:48 -08:00
Michael Adisumarta
2c927c2f32 msm: gsi: close coal frame before HPS CLEAR
Close the coaleascing frame before control sequences involving
coalescing to ensure HPS is idle and that there are no open
coalescing frames/contexts.

Change-Id: I5914b7d64c58a7e557854df6fa2c6fc15a4e21df
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2019-11-12 11:12:41 -08:00
George Shen
ffe925cbca msm: cvp: Port CVP driver to 5.x kernel
Add new CVP feature support. Make CVP driver work with 5.x kernel:

Modified bus and ion function calls. Modified synx and firmware
version function calls. Demodulized CPU-DSP driver interface. Added
Lahaina platform configuration. Enable building CVP driver as DLKM.

Change-Id: I8a0a21b3ae87c19bf4e59bed16e9dba304503cc6
Signed-off-by: George Shen <sqiao@codeaurora.org>
2019-11-12 10:28:06 -08:00
qctecmdr
a203c595ba Merge "msm: ipa4: Fix to use common PM handle for coalescing and default pipe" 2019-11-12 07:11:34 -08:00
qctecmdr
4c92e30fe3 Merge "msm: ipa3: Fix to race condition in updating current polling state" 2019-11-12 06:37:38 -08:00
Ashok Vuyyuru
c43c35122e msm: ipa3: Fix to race condition in updating current polling state
Configure the callback mode only one time after starting the channel
otherwise observing IEOB interrupt received before configure callback
mode second time. It was leading race condition in updating current
polling state.

Change-Id: I35cdf77ee564ca82d9ff3e0cc6a58a88e8cbb471
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2019-11-12 16:03:16 +05:30
Ashok Vuyyuru
923071b346 msm: ipa4: Fix to use common PM handle for coalescing and default pipe
Because of using different PM handles default WAN consumer handle never
unvote data pending in suspend scenarios. Add changes to use the common
PM handle for default and coalescing pipes.

Change-Id: I2d6ff2998e7b80f11bdb7cfcd787cab098eaf718
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2019-11-12 15:55:18 +05:30
Meng Wang
1e9c3eb4e4 ASoC: core: update NAME_SIZE to 64
Sometimes the DAPM widget info is longer than 32.
Update NAME_SIZE to 64 to resolve it.

Change-Id: Iadcba84c61285ecdbccf4950b83f1d89aca5897b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-11-12 16:07:24 +08:00
qctecmdr
ee33853693 Merge "defconfig: lahaina-gki: enable USB PHY drivers" 2019-11-11 18:31:27 -08:00
qctecmdr
d34cedb2f8 Merge "msm:ipa: stop the UL MHIP channels after probe" 2019-11-11 17:58:35 -08:00
Michael Adisumarta
d2279699b6 msm:ipa: stop the UL MHIP channels after probe
This change is to stop uplink MHIP IPA tethering channels if
there is no active tethering use case.

Change-Id: I93fb5fb9b6b83c4a7c8cdc2b7ab8b1c1ff9ff7fb
Acked-by: Jyothij <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2019-11-11 16:18:30 -08:00
Michael Adisumarta
e1cf8420df msm: ipa: typo in ioctl ipa3_ioctl_mdfy_flt_rule_v2 function
Fixes the typo while type casting the kernel pointer.

Change-Id: Ie8e1128b2edf6cb2b1aff71ddaf0fdee286737c5
Acked-by: Suhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2019-11-11 15:36:15 -08:00
qctecmdr
e0c65ab750 Merge "usb: dwc3-msm: Set vbus_active in peripheral only mode" 2019-11-11 14:39:21 -08:00
qctecmdr
2367bea2ca Merge "usb: dwc3: Set vbus_active in peripheral-only mode" 2019-11-11 10:28:02 -08:00
Sriharsha Allenki
411f72ac2c usb: dwc3-msm: Set vbus_active in peripheral only mode
The recent change in commit 0b74c9aa7ead ("usb: dwc3: ep0: Fail
enqueue() when racing with vbus_sess disconnect") added a check
to prevent queuing on ep0 if vbus_active is unset. However on
some configurations if dwc3 is configured as peripheral-only, this
flag is not set. In those cases, simply set vbus_active to true.

Change-Id: Ica633cb9f0baefb779a516c3a32a6b92f90ced24
Fixes: 0b74c9aa7ead ("usb: dwc3: ep0: Fail enqueue() when racing with vbus_sess disconnect")
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2019-11-11 10:21:44 -08:00
Meng Wang
2223a5f5a2 ALSA: core: Expose sound card online/offline state
Expose sound card online/offline state to procfs so userspace application
can poll and read sound card's state.

Change-Id: Ie605ad57f4ce5abf62a216e790407029658ac3c9
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-11-11 17:31:51 +08:00
Amir Levy
dc5e84ea74 msm: ipa4: add generic header processing context
IPA uC now supports generic header processing context that
accepts source and target headers negative offset as parameters.
This change adds HAL and API support for this new feature.

Change-Id: Idb4c977f55175a66b55b92225f6677431ad8066a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2019-11-10 05:08:01 -08:00
qctecmdr
f1d5f8b414 Merge "ALSA: jack: update jack types" 2019-11-08 19:00:46 -08:00
qctecmdr
87587431e5 Merge "ASoC: msm: fix integer overflow for long duration offload playback" 2019-11-08 18:22:54 -08:00
qctecmdr
f138bb3bfa Merge "clk: qcom: clk-rcg2: add callbacks to deal with voltage voting" 2019-11-08 13:46:14 -08:00
qctecmdr
5ece225769 Merge "clk: qcom: clk-alpha-pll: add callbacks to deal with voltage voting" 2019-11-08 13:11:53 -08:00
qctecmdr
0a96497ffb Merge "clk: qcom: regmap: Add regmap support for voltage voting" 2019-11-08 12:23:09 -08:00
Mayank Rana
f7f2f93f14 defconfig: lahaina-gki: enable USB PHY drivers
Enable USB high speed and super speed/plus PHY drivers.

Change-Id: Iff7e9700ed24ada8793cdfe393fffa1a3dc2faf5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2019-11-08 08:30:33 -08:00
Meng Wang
fdaacf0468 ASoC: msm: fix integer overflow for long duration offload playback
32 bit variable is used for storing number of bytes copied to DSP,
which can overflow when playback duration goes beyond 24 hours.
Change data type for this variable to uint64_t to prevent overflow
and related playback anomaly.

CRs-Fixed: 877677
Change-Id: Ie4dfa630cf89559bb784d4712c52526665baeca6
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2019-11-08 14:21:32 +08:00
Sudheer Papothi
94ed1d8f51 ALSA: jack: update jack types
Change updates the jack types that will be supported
by the platforms.

Change-Id: I948c6ffe4cc2cadd710242637c625006715ff7cc
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2019-11-08 14:16:18 +08:00
qctecmdr
4257e69502 Merge "usb: phy: Make phy drivers GKI compatible" 2019-11-07 22:00:48 -08:00
qctecmdr
edb885ffaf Merge "arm64: defconfig: Enable USB DIAG driver on Lahaina" 2019-11-07 21:25:47 -08:00
qctecmdr
b01a5e53da Merge "clk: qcom: add vdd-class voltage regulator voting support" 2019-11-07 20:44:34 -08:00
qctecmdr
688c74513d Merge "soc: qcom: qpnp-pbs: replace #ifdef with #if IS_ENABLED()" 2019-11-07 20:09:44 -08:00
qctecmdr
42b0455740 Merge "platform: msm: qpnp-revid: replace #ifdef with #if IS_ENABLED()" 2019-11-07 19:20:46 -08:00
qctecmdr
d9b1760840 Merge "soc: qcom: smp2p: Don't check for NULL before ipc_log_string()" 2019-11-07 17:00:42 -08:00
qctecmdr
8c0ae797a9 Merge "rpmsg: Don't check for NULL before ipc_log_string()" 2019-11-07 16:20:45 -08:00
qctecmdr
f7fc99db44 Merge "net: cnss2: Don't check for NULL before ipc_log_string()" 2019-11-07 15:41:12 -08:00
David Dai
d0be758c91 clk: qcom: clk-rcg2: add callbacks to deal with voltage voting
Specify prepare, unprepare and pre/post rate change callbacks for all
clk-rcg2 clk_ops.  This ensures that supply regulator requirements are
managed properly at runtime.

Change-Id: I6d7e31983e99c2ef9f546771d7046e8f0111debc
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2019-11-07 15:29:55 -08:00
David Dai
385b5f82be clk: qcom: clk-alpha-pll: add callbacks to deal with voltage voting
Specify prepare, unprepare, pre_change_rate, post_change_rate callbacks
for alpha-pll clk_ops.  This ensures that supply regulator requirements
are managed properly at runtime.

Change-Id: I578b81c2ab77a8d7e2332098bd737b0646cf577d
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2019-11-07 15:28:16 -08:00
David Dai
c66dea4e75 clk: qcom: regmap: Add regmap support for voltage voting
Add support for prepare, unprepare, pre and post rate change regmap
clk_ops callback functions for regmap clocks to handle regulator
requirements.

Change-Id: If4657adcc047e1ca005d3d4f7ab88146dba85ee0
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2019-11-07 15:25:17 -08:00
qctecmdr
6c17b2efc2 Merge "mailbox: Don't check for NULL before ipc_log_string()" 2019-11-07 15:00:24 -08:00
qctecmdr
02cc964748 Merge "arm64: defconfig: Enable CONFIG_ION_POOL_AUTO_REFILL on Lahaina" 2019-11-07 14:26:26 -08:00
Jack Pham
c3837aee93 arm64: defconfig: Enable USB DIAG driver on Lahaina
Enable USB Diag function driver as a module that can be
instantiated by USB ConfigFS driver.

Change-Id: I717f70ba124aa2d7d2763452e96e9d3e795ef267
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2019-11-07 14:03:06 -08:00
qctecmdr
21f6b68e48 Merge "arm64: defconfig: Enable QRTR on Lahaina" 2019-11-07 13:45:26 -08:00
qctecmdr
f3681c245d Merge "iommu/arm-smmu: Move the SMMU driver to subsys_initcall" 2019-11-07 13:04:35 -08:00
qctecmdr
3f4e0223ae Merge "usb: gadget: f_qdss: Fix compilation errors" 2019-11-07 12:29:35 -08:00
qctecmdr
6192213968 Merge "defconfig: Lahaina: Enable support for console UART" 2019-11-07 11:53:44 -08:00
Mayank Rana
e948315670 usb: phy: Make phy drivers GKI compatible
This change starts using dwc3-msm.h header as all QTI PHY specific
changes are being moved from usb.h to dwc3-msm.h header. It also
removes below mentioned functionality:
- Performing USB only reset in USB + DP mode as hc died and restart
USB session functionality is now removed with dwc3 controller driver.

Change-Id: I8d3d51e56824cf7524f96d7c964e3873168e62f0
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2019-11-07 11:15:08 -08:00
qctecmdr
4c5cec02fd Merge "usb: phy: Remove reset link training related workaround" 2019-11-06 20:30:12 -08:00