Commit graph

873,234 commits

Author SHA1 Message Date
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
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
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
qctecmdr
92e331fe27 Merge "soc: qcom: secure_buffer: change the way of divide" 2019-11-06 19:05:40 -08:00
Isaac J. Manjarres
6f54f19b96 arm64: defconfig: Enable CONFIG_ION_POOL_AUTO_REFILL on Lahaina
Enable the ION page pool auto refill feature on Lahaina.

Change-Id: I52897912d11e7d96b53bb90afa01246e8a1a1d18
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-06 17:58:29 -08:00
qctecmdr
f735b61348 Merge "pinctrl: qcom: Expose ufs_reset as gpio on Lahaina" 2019-11-06 17:36:36 -08:00
Chris Lew
3fa877b325 arm64: defconfig: Enable QRTR on Lahaina
Enable the QRTR driver and the smd/rpmsg transport to route IPCRTR
messages from remote processors.

Change-Id: Ifb795c454d756a7fefc87fb747f473d8bf474573
Signed-off-by: Chris Lew <clew@codeaurora.org>
2019-11-06 16:44:26 -08:00
David Collins
7ae39500fa soc: qcom: qpnp-pbs: replace #ifdef with #if IS_ENABLED()
Replace #ifdef CONFIG_QPNP_PBS with #if IS_ENABLED(CONFIG_QPNP_PBS).
This fixes a function redefinition error when compiling the
qpnp-pbs driver as a module with CONFIG_QPNP_PBS=m in a defconfig
file.

Change-Id: I2a6201a7a94423ce333c203c475dce319f922fdd
Signed-off-by: David Collins <collinsd@codeaurora.org>
2019-11-06 16:18:26 -08:00
David Collins
24671234f1 platform: msm: qpnp-revid: replace #ifdef with #if IS_ENABLED()
Replace #ifdef CONFIG_QPNP_REVID with #if
IS_ENABLED(CONFIG_QPNP_REVID).  This fixes a function
redefinition error when compiling the qpnp-revid driver as
a module with CONFIG_QPNP_REVID=m in a defconfig file.

Change-Id: Ie1907010b8bbcd13fdc301f5647af9e081f6088a
Signed-off-by: David Collins <collinsd@codeaurora.org>
2019-11-06 16:17:15 -08:00
Tengfei Fan
4a661f18c6 soc: qcom: secure_buffer: change the way of divide
When compile kernel, we will get the following error:
	undefined reference to `__aeabi_uldivmod'
So we change the way of divide.

Change-Id: I632ea6778bc4e6e881a327c81e2e8650725388b0
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2019-11-06 16:16:56 -08:00
David Collins
38c4a152cd clk: qcom: add vdd-class voltage regulator voting support
Add support to manage voltage supply regulators via the
vdd-class voting interface.  Provide functions that can be
easily used to implement clk_ops callbacks used for voltage
voting.

Change-Id: I891b5944ed8075074c11f139d9e6951d796c7f90
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2019-11-06 14:34:19 -08:00
qctecmdr
cdf0b87281 Merge "regmap: Make regmap debugfs write optional" 2019-11-06 07:07:08 -08:00
qctecmdr
686d21586a Merge "regmap: improve debugfs interface to dump specific addresses" 2019-11-06 06:31:13 -08:00
Akash Asthana
0560b8eeb7 defconfig: Lahaina: Enable support for console UART
Add support for GENI Common driver and
UART driver in lahaina_debug.config file.

Change-Id: I5e55ebf1b8580a2d0864a353d58581e847bef55c
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2019-11-06 05:59:41 -08:00
qctecmdr
67cf9acd61 Merge "usb: gadget: Add snapshot of USB GSI function driver" 2019-11-06 05:52:18 -08:00
qctecmdr
2a04e16924 Merge "msm: ipa: Enable NAPI on IPA LAN CONS pipe" 2019-11-06 05:16:13 -08:00
qctecmdr
37d3375f96 Merge "spmi: regmap: enable userspace writes" 2019-11-06 04:00:10 -08:00
qctecmdr
451190e62e Merge "nvmem: Add snapshot of QTI SDAM driver" 2019-11-06 03:25:14 -08:00
qctecmdr
e4e91e0ce8 Merge "arm64: defconfig: Enable global synx driver" 2019-11-06 02:47:45 -08:00