Commit graph

874,434 commits

Author SHA1 Message Date
Vivek Aknurwar
8d32c33ec4 clk: qcom: gcc: Fix num_parent count for gcc_usb3 clk init data
Fix num_parent count for gcc_usb3 clk init data.

Change-Id: Icceee06388ca9976d7f713b56afbd7011008a386
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2019-11-15 18:41:20 -08:00
qctecmdr
6f43d51db4 Merge "msm: ipa: update ipa driver APIs for recent wakeup_source and dma" 2019-11-14 13:12:21 -08:00
qctecmdr
84d6d0bfe0 Merge "interconnect: qcom: add virt_clk provider and QUP nodes" 2019-11-14 12:02:31 -08:00
qctecmdr
37c922d8b6 Merge "platform: msm-geni-se: Add missing fixes from msm-4.19" 2019-11-14 10:32:15 -08:00
Ghanim Fodi
db3d3302c1 msm: ipa: update ipa driver APIs for recent wakeup_source and dma
This change will ensure the APIs are updated correctly to the
latest for wakeup_source and dma functions.

Change-Id: Iaaffe6f876dab3824f7a8b72f9d71be686033a6b
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2019-11-13 20:37:17 -08:00
Meng Wang
a2ce4cbbe3 ASoC: core: Fix possible NULL pointer dereference
SSR is triggered when the system does not have a sound card
registered, but has codecs. The pointer card sent from codec driver
to snd_soc_card_change_online_state is NULL.
Add null check for soc_card before dereferencing.

Change-Id: I23342a6cbd9d53e62b2ea11dfe79aad3759df6f0
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2019-11-13 20:34:29 -08:00
qctecmdr
9a9fb3e2cd Merge "arm64: Kconfig: Don't select COMMON_CLK_QCOM in ARCH_LAHAINA" 2019-11-13 17:41:27 -08:00
qctecmdr
e2130b20f0 Merge "arm64: defconfig: Enable cam cc clock driver for Lahaina" 2019-11-13 14:06:05 -08:00
qctecmdr
2d12159fa6 Merge "Subject: [PATCH 2/3] ABI: aarch64: Update ABI snapshot based on v5.4-rc6" 2019-11-13 13:33:16 -08:00
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
David Dai
c4448eb8d0 interconnect: qcom: add virt_clk provider and QUP nodes
Add virtual QUP bus nodes to separate out bandwidth requests
and clock votes to allow for independent control.

Change-Id: I8d5a171e60b2e76db83e1d5a27f4cdfe4a1408d9
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2019-11-13 11:08:47 -08:00
qctecmdr
7d7f446298 Merge "ASoC: core: update NAME_SIZE to 64" 2019-11-13 11:02:10 -08:00
Subramanian Ananthanarayanan
e21fd7a31e platform: msm-geni-se: Add missing fixes from msm-4.19
Add missing fixes from msm-4.19 QUPV3 common driver file.

Change-Id: Ib85d8b8542b19a51872f785af0421e9275ed8cf4
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
2019-11-13 18:05:35 +05:30
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
Murali Nalajala
b4e51227e5 Subject: [PATCH 2/3] ABI: aarch64: Update ABI snapshot based on v5.4-rc6
Update the ABI signature for aarch64 based on v5.4-rc6 (with symbol
namespace support disabled).

This snapshot is taken based of kernel/build:
https://android.googlesource.com/kernel/build/+/0a4f497803a2f3f2a162ca1176d082924d7764f1

Change-Id: Id20fa5f5903e7e262f4688382a4828db0aa51ac0
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2019-11-12 16:51:04 -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
Vivek Aknurwar
7f57959a9a arm64: defconfig: Enable cam cc clock driver for Lahaina
Enable cam cc clock driver to support camera clocks for
camera peripherals.

Change-Id: I589bf1b8e416ff235d0a97a5864d61dbbe0c4fe0
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2019-11-11 21:55:37 -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