On certain platforms, due to a HW issue, the SSPHY keeps
transitioning in and out of p3 whenever we perform any HS
transfers. This leads to a storm of PWR_EVNT irgs.
Fix this by disabling SSPHY autosuspend on such platforms.
Autosuspend will be enabled as part of dwc3_msm_prepare_suspend
so that SSPHY gets a chance to go into P3.
Change-Id: I4e674f780a72a8c4abcb3e6c9f083f23b1faa196
Signed-off-by: Aniket Randive <arandive@codeaurora.org>
In line with the sequence for primary port, update proper fields
of DWC3_GUSB2PHYCFG and DWC3_GUSB3PIPECTL registers for the
second port of the dual port controller. Update other registers
as required.
While at it, also avoid enabling SSPHY autosuspend if
dis_u3_susphy_quirk is set.
Change-Id: Ib79dba4c6d854fa2bf33a1b7cecf06f988250662
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
Certain targets may have a dual port capable host controller.
Add support for the PHY IRQs for the second port. Since the SSPHY
autosuspend will be disabled for such controllers, remove the
support of pwr_evnt_irq as a mandatory IRQ and allow SSPHY to go
into P3 as a part of suspend sequence. Handle the logic
gracefully to maintain single port controllers.
Change-Id: I5a53d6e23f64bec7ae940d23923df310309a28da
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
Add 2 new PHY instances (HS and SS) in dwc3 and dwc3-msm
structures. Probe and initialize them when the controller is
dual port capable. This capability is advertised by cores
supporting only host mode using the DT flag 'qcom,dual-port'.
Update PHY1 flags wherever applicable while maintaining single
port controller support.
Avoid workaround of SSPHY powerdown as a part of HS device
connect because of the known HW issue of the other SSPHY going in
and out of P3 when data transfers are being done.
Change-Id: If52fd6383cc2da8b763c774d2ad688448f90aea0
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
QCA6390 requires synchronization between BT and WLAN enable gpio
to avoid power up issue. Add support for QCA6390 in gpio sync
code.
Change-Id: Id2183ff324c9c3059ea81e9137fa49c803feb183
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Enable SCHED_WALT to add support for scheduler
features like WALT, core_ctl, etc.
Change-Id: I7a3c4494b5c2e6545821491e1aee8bf6c4ac3345
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable SCHED_WALT to add support for scheduler
features like WALT, core_ctl, HMP, etc.
Change-Id: I0b4efd6e2127771be65c754fa35770ba359576bd
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
This snapshot is taken as of dev-sa8155 branch
commit 18dcf6bbb4a9 ("char: virtio_fastrpc: add dma handle support").
Change-Id: I3a918907a319ee397f99162e57644d07504a5dd6
Signed-off-by: Anuj Garg <anujgarg@codeaurora.org>
Variable "dentry" is valid only if "CONFIG_DEBUG_FS" is set.
Update logic such that "dentry" variable is accessed during
debugfs removal only in valid condition.
Change-Id: I2a1e3e7f312cf316c94e930e15e9528fbeedb9a1
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Add a boot marker to indicate the time when gpu
driver probe is completed and the device is ready,
and adreno driver is initialised and ready for a640.
Change-Id: I1bfd133b9f23dd497d2ab13cde4989b922ab47a7
Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
Add function to read pinctrl names.
Fix print for the logs to include line number.
Change-Id: I65e341c14104aabec77edcc79cdf97358648914c
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
Enabling logging to see interrupts that could have caused resume.
Change-Id: Iecc5d71774c22c03ff3f3a18a955521a43eb2216
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop
block devices at init time for vts_kernel_loopconfig_test.
Change-Id: Ie342467aa8208b367ca351d8989b7d166f6371e9
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Enable QRTR for diag IPC in linux guest.
Change-Id: I50da5efb8d24e72ac692653e9cc217162225bdd6
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
In systems doorbell is not valid, could set db-off flag to 1. Then
the driver still could probe and disable doorbell and hfence commands.
ifence still works.
Change-Id: I6d4e171d64dfc183f5d500fbd1180adb4b108a63
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Add ipc logging enablement for bcl pmic5. It dumps bcl vbat, ibat
and bcl level status information to ipc logging during bcl interrupt
violation as well as during current value query from thermal
framework.
Change-Id: Ibc0b69b935465f7961a67d88db87536f86b88c77
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>