The msm_camera_tz_set_mode is called for TA notification
and if the notification fails the flow should still proceed
without return.
This change prevents a fault caused by vfe remaining in
secure mode as the detach was not called in case of
notification failure.
CRs-Fixed: 2011627
Change-Id: Iefcfd72c8e2d96aba2daf2bed8d271edee0cc8c1
Signed-off-by: Dany Rybnikov <danyr@codeaurora.org>
MHI host require clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.
CRs-Fixed: 1110280
Change-Id: I9a8fcb8dbb711cdd35dfc12b47b4381bf0985134
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI_RMNET layer not required to reserve for IP headroom
data since rmnet_data layer will create a new skb if
headroom reservation is needed.
CRs-Fixed: 1085031
Change-Id: Ic04e73510140e6c00ee18107a8edc9ead0b53863
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI host requires clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.
CRs-Fixed: 1110280
Change-Id: I5dd38fc49a98629f77cdb7879942b7b1993e43b8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI clients expects MHI to finish initializing before clients
probe. Move MHI to subsys init to guarantee MHI will finish
executing before device drivers with module_init starts.
CRs-Fixed: 2006891
Change-Id: I44e3612721fdc247c8c083f74736a1b1bcfc962e
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Not all events require same priority to process. Process
high priority events using a tasklet while processing low
priority events using a kworker. Priority for events can be
configured by device tree.
CRs-Fixed: 2004759
Change-Id: I6bf04624c2fd92afd7c698d6a57f66619ea13b5b
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
PCIe link can go down anytime asynchronously without host
knowing. In event of a link-down, MMIO reads will always
return 0xffffffff. Confirm the read value is valid prior
to executing further.
CRs-Fixed: 1030692
Change-Id: If052a1a31c62a81f380cec3f523b605b38a33847
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Fix issue of incorrectly truncating 64bit address
as a 32bit address during memory allocation for
MHI.
CRs-Fixed: 1113884
Change-Id: Iba5123b3710c805cabf63bb6a2958d8218d642e8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Not all MHI capable devices can access entire host
DDR. If an MHI client provide a transfer packet that’s
outside of supported address range, copy the packet to
a local bounce buffer prior to transfer.
CRs-Fixed 1110280
Change-Id: Ie7292a2c89cc6608d5360f8a330d78635d913c29
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
MHI host is not always the bus master. Add support to
operate on slave mode.
CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.
CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.
CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Kernel Image with appended dtb is broken for arm64 since it is symlink
to arm.
Change-Id: I0a094192f200d02fbddeee694828fd1de1746bf1
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
The source split detection logic looks at only consecutive
layers in the layer list. This change looks at all previous
layers in the list instead of just the previous one.
Change-Id: I8b135a10ef1e5062d87c0784515a9eeb6ea4a450
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
Add efuse register to be read for VFE dual camera limitation.
Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
Remove gt9xx goodix touch driver from the kernel code
as it has never been used in any of the recent platforms.
Change-Id: If9ebe97dee81d7a95a64c560b605c2e1d02b837c
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Change required descriptors settings to pass as wireless RNDIS
so that driver will be auto-detected by windows. This installs
RNDIS driver automatically without manual intervention, when USB
tethering is enabled.
Change-Id: Ib4a8ab166cac212e041f13ed13d8ac5f59aec425
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.
Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.
Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>