Currently dwc3 driver doesn't hand over USB function suspend/resume
request to composite layer as those are supposed to be handle by
USB function driver. This change adds support for it. It also adds
function remote wakeup functionality which is needed by USB function
suspended interface to perform remote wakeup towards USB host for
resume interface related functionality.
Change-Id: I1f9ecc60346e16fad87439cc12c551e05b4f3491
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Current available remote wakeup functionality is not robust
enough as most of time it failed to wait for host to complete
resuming signle and move USB device to U0 state. Hence enhance
this functionality by using link state change interrupt and
waiting for max 16 sec for host to resume.
Change-Id: I375d7812336ce0ecc49bfeea859bc76d90a4e0b9
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Call usb_get_remote_wakeup_status() API when enumerated with USB
high speed to get remote wakeup supported by connected host or not
for making decision to suspend or disconnect IPA GSI channel.
Change-Id: I9970d4958af366c33b3311df72d404213b097237
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
USB composite device updates to host about its wakeup capability
using bmAttribute, and USB host may support remote wakeup
functionality using SET_FEATURE. UDC gadget ops supports wakeup()
API which can be invoked by USB function driver to resume USB bus
by signaling remote wakeup. With HW accelerated path IPA will need
to know if host has enabled remote wakeup in order to decide whether
to suspend or disconnect the GSI channels. Add an API to allow USB
GSI driver to query the current remote wakeup enabled status.
Change-Id: I09eb62714f9df90d68cce5c478dc19096477709e
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
For synchronous messages sent from the agent to platform,
agent waits for response for 30 milli seconds (max_rx_timeout)
before timing out if response gets delayed from platform.
Increase the timeout value to 1 second to minimize message
send failures in case of delays.
Change-Id: I72e9ab33a9be675b64301e904e8d43fb8bb89e50
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
There might be spurious HS PHY IRQ after USB bus has gone into
hibernation which leads to dwc3_msm_resume and in_lpm flag
getting cleared. Next when the restore from hibernation happens,
dwc3_msm_resume becomes a no-op but in reality, the HW resources
are all turned off. This leads to an unclocked access from
xhci_resume.
Fix this by disabling PHY wakeup IRQs on hibernation/pm_suspend
for automotive targets.
Change-Id: I753fb3593fca31f12406b9126f73f75520dab1b0
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Introduce Qualcomm Yupik specific real provider driver using the
interconnect framework. Also add sync_state for interconenct
provider driver.
Change-Id: Ifd61a5d1d8eb1fb532b865d128b14ae673a1acdf
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Cpu possible sibling cpu mask is only used by WALT for its cluster
population. And WALT is directly getting the cpu possible sibling mask.
So remove this unused cpu mask support by reverting commit:
'6df025a02c49f65("topology: Add snapshot of possible sibling
cpu mask changes")'.
Change-Id: If65842a37cad95e8b52425a1397d12c32a95dc1e
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Commit 36b196ce5c ("msm: kgsl: Add software timelines") didn't properly
advance the user source pointer while walking the incoming list of timeline
signals in an aux commmand which resulted in only the first listed timeline
getting signaled.
Fixes: 36b196ce5c ("msm: kgsl: Add software timelines")
Change-Id: Ic0dedbad400f276abea6b368421ccdcef1645b9e
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Following flags are needed to support block crypto
based inline encryption framework on eMMC devices:
1. CONFIG_MMC_CQHCI_CRYPTO
2. CONFIG_MMC_CQHCI_CRYPTO_QTI.
Change-Id: Ic87330eaa1e95d7347a13d631bb5c0c734b92d2c
Signed-off-by: Phanindra Babu Pabba <pabba@codeaurora.org>
There is some power impact seen with autohibern8 idle
timer value of 10ms. Hence reverting back the autohiber8 timer
value back to 5ms.
This reverts commit ef3f24dd1c.
Change-Id: Ic2f97e6f53e1711a869c9617e15c06e53d1e2e33
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
Enable gcc/rpm-smd/debugcc clock drivers to support clock peripherals.
Change-Id: I64c82e468a5874ac8a97dc2558746fa2d21fb969
Signed-off-by: Rakesh Kota <kotarake@codeaurora.org>