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>
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>
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>
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>
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>
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>
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>
Enable USB high speed and super speed/plus PHY drivers.
Change-Id: Iff7e9700ed24ada8793cdfe393fffa1a3dc2faf5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
Enable the ION page pool auto refill feature on Lahaina.
Change-Id: I52897912d11e7d96b53bb90afa01246e8a1a1d18
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
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>
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>
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>
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>
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>