This change adds USB RMNET function driver which allows communication
between USB BAM and IPA BAM for RMNET and DPL functionalities over USB.
This snapshot is taken as of msm-4.9 'commit 973e6f5c37fc ("ARM: dts:
msm: Add mem_dump node for msm8917")'.
This change adding changes to use cdev device instead of misc device
and also fixes different coding style related warnings.
Change-Id: I98d5bd60a047d6c5f1058faf67d0475e17d9fddc
Signed-off-by: Sudharsan Reddy Yettapu <syepattu@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Update sound card name for 6155 to populate
different card names for different platforms.
Change-Id: Iee9f727f28d471f3e9e4ab69f0c00cec662e3f20
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
After enabling dynamic partition swap_a partition
block device id changed.
This change update the new block device id.
Change-Id: Ic46502b7a86f05297a0d49a9294811b568bc6757
Signed-off-by: Atul Raut <araut@codeaurora.org>
HAL Vertical and Horizontal flip values are different
with respect to OMX FLIP values. Same is corrected.
Change-Id: If563e1861c3f8286d79eaef613a45f5101db020d
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
Add pcie mode to tmc-etr to support diag over stm over pcie. When
pcie mode is enabled, etr data will be written to qdss mhi out channel.
Change-Id: Ibca55f9221ff460a7d473f23cc05c22125e85961
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
End point config of ipa for auto use case is
different from stand alone. Enable auto config
via PL specific DTSI file which will be picked
from CDT programming.
Change-Id: I0c43c3f25fbfdaf90563a55a76bac65fd793b1a2
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
In order to support 2 Synopsys MSI group for sdxprairie, add the
SPI for Synopsys IRQ 1 to PCIe interrupt table.
Change-Id: I704dfe183ac4c8fb2f5bf83dfdd88e21ace8d7ec
Signed-off-by: Tony Truong <truong@codeaurora.org>
Each Synopsys MSI group (32 MSIs) is mapped to a dedicated PCIe
IRQ. Current MSI driver handles only 1 PCIe IRQ. Add support in
PCIe MSI driver to correctly handle multiple Synopsys MSI groups.
Change-Id: I7327ae49d03503f4dada7726ee0969bf79fe3b45
Signed-off-by: Tony Truong <truong@codeaurora.org>
Add block, net, cpufreq, mpm interrupt controller
and clock related configs for SDM660 platform.
Change-Id: Ic7ca18604e70d60ed2c6ecfebf378acb2b57bb9f
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
The had_message pointer should be initialized as NULL before
calling hab_vchan_recv(). Furtherly, inside the hab_vchan_recv(),
it is good to also clear it as NULL when the virtual channel
is not found. Then there is such guarantee by both the caller
and the callee.
Change-Id: Id8c46e1828fb3af0c42a9f59f68148717c511e6e
Signed-off-by: Yong Ding <yongding@codeaurora.org>
habmm_socket_close should return some relevant error code back to
its caller. Then, its caller can handle it properly.
Change-Id: I04d2fb39644514d59aa94d0dfab7efd1e279ce6a
Signed-off-by: Yong Ding <yongding@codeaurora.org>
cnss_get_platform_cap() is only defined for CNSS PCI in
cnss driver, hence modify condition to resolve compilation
issue for non PCI based products.
Change-Id: I5443e4a86d75ae4ed8a7238403c70b0cf913fb1b
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Changes to remove MSM_DUAL_ISP_SYNC in defconfig for SDM660.
Change-Id: Ieb414711383c35b63a2f3df75f97fe01064f7906
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
Signed-off-by: Vandana Jain <vandja@codeaurora.org>
Make the ship-mode enable configuration independent of the
'qcom,secondary-pon-reset' configuration.
Change-Id: Iace5b2ebd99f2e71bd5e36089b3cf14a765e4791
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Added initialization for PMIC4 to support SDM660.
Change-Id: I9703bb8dee21ee084917b044f7aa83a5087b49b4
Signed-off-by: Asha Magadi Venkateshamurthy <amagad@codeaurora.org>
There is a possibility of exiting socket read and
not releasing diag wakesource due to socket error
at the time of connection reset. The patch releases
diag wakesource on socket error.
Change-Id: I9862395207f2dc2f723b06e176ba25bd001c189d
Signed-off-by: Hardik Arya <harya@codeaurora.org>
L2TP over UDP requires new commands to be send to uC
to use the new header length for additition and deletion.
Change-Id: I6c642e745386bad5fb7ef63b4167e91ce561e0dd
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Check whether device supports sending subsytem failure reason
upon assert from device tree configuration before setting up
support in MHI controller as device may not be able to handle
processing of the SFR configuration command.
Change-Id: Iddbc4e9ec6fbc303aa09f6979c5e1f4a596717b1
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Add support for retrieving subsystem failure reason if device
allows for it.
Change-Id: Ifabb8de8a5b2b1da95bb6291c0e299eb6198f3d4
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
When device asserts, the subsystem failure reason from device
can be read via an external API using the name of the MHI
controller.
Change-Id: Ic0bcba77e0a7e4c4a7570df3eda21e1f38b80277
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
CVP driver waits indefinitely for response callback.
This wait is done after acquiring a lock used by
other threads in video driver. As a result, during
device power suspend, the kernel suspend thread, which
is waiting on above lock, waits and leads to hung.
CRs-Fixed: 2603603
Change-Id: If8bdbacb27c71b0df21c217d28e5bc2cf02e3d49
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
To handle bursty traffic the following changes are done
in the asynchronous read/write path in the MHI driver:
* Queue the transfer completion event within the write
API instead of the transfer completion callback.
* When conditions are met, flush the completion events (schedule dma)
to host from within the write API.
* Switch to a circular buffer to hold the completion events
instead of a linked list of buffers.
* Set the size of the completion event buffer equal to the
channel event ring size.
Change-Id: I3cbc9cb6a2c040825c4b16ef4fb758bf95c7e642
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>