Enable interconnect_test module for neo target. This will help
in placing proxy test votes on selected paths for debugging.
Change-Id: I7c5892097ab01ae0ca7ffeae321c7dfe94e964fd
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
Enable PMIC overlay related modules for neo LA platforms.
Change-Id: If145efed0ed6ed8f5b293f89e64d761768d2994a
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Disable CONFIG_REGULATOR_DEBUG_CONTROL for autogvm since in irq disable
state get_vlotage call from frontend to backend would lead to sleep call.
Change-Id: I3fcdbf0f573f75932607414b76d8b6b7f0095511
Signed-off-by: Vagdhan Kumar Kanukurthi <quic_vagdhank@quicinc.com>
The dwc3_msm_suspend and dwc3_msm_resume functions had
high cyclomatic complexity.
To address this, the common code for interrupt configuration
was moved to a new function dwc3_msm_interrupt_enable,
and reused thereby reducing the overall complexity.
Change-Id: Icfafa39754ff5e67cee598f86dfaec0875573f49
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
From ufs_qcom_init, we call phy_init() to initialize
phy driver for ufs. But sometimes, the phy driver
haven't got probed yet when we call phy_init.
This causes kernel panic during phy_init_clks.
So, before proceeding for phy clock initialization,
first check if the phy handle is available or not.
Defer the probe if it is not available.
Change-Id: Iadbc4f10719de2a1150fa00a9b5ec125db429464
Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
In setup worker genpool memory is freed and mapped again
which is causing qrtr_genpool_set_state function to access
NULL pointer in genpool probe.
Handle genpool memory mapping in setup worker only and remove
setting driver state in probe function to avoid genpool memory
access before mapping.
Change-Id: Iedbca688931506f0d0d6f63e9aa8af75b641f2cd
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Vishnu Santhosh <quic_vishsant@quicinc.com>
When supported, the local side can be rebooted and the proper clean
up needs to be done so the remote side knows to stop. Add support for
qrtr genpool to register with reboot notifier to be informed when a
reboot occurs. Have the local side transition to the correct state and
handle the reboot gracefully with the remote side.
Change-Id: I6ec7ae26a75be00d8adbde66214592d73b5a912e
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
Signed-off-by: Vishnu Santhosh <quic_vishsant@quicinc.com>
Having setup irq to only signal the local side is ready limits remote
side ability to make decisions for additional use case such as remove
and reboot. Expand setup irq support by adding a state machine for the
local side. This provides the remote side additional knowledge for each
setup irq.
Change-Id: I8b2f83c1fe508cf4af8de304268d5b50a98a73d4
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
Signed-off-by: Vishnu Santhosh <quic_vishsant@quicinc.com>
Synchronize MDIO read/write operations with Ethernet
suspend. Required in order to prevent MDIO timeouts after
PHY clocks were suspended/resumed by PM.
Change-Id: I7b41a88468b83ee7f70ac6ef4da1182b8dc4c9e4
Signed-off-by: Shashank Shekhar <quic_sshe@quicinc.com>
During issue ibs there could be a race condition: Before we
enter hgsl_db_issueib, the context has been destroyed and
reused by another client. and hgsl_db_issueib only did
hgsl_get_context, not hgsl_get_context_owner. it could pass
and submit ibs to a context doesn't belong to it anymore.
Change-Id: I3494e9f8c085a528f2e8c1faf0e00d2128950da2
Signed-off-by: Hui Li <quic_hul@quicinc.com>
Avoid using switch with too many cases in hgsl, this
could help to reduce the code complexity, and it's
good for upgrading uapi in the future.
Change-Id: I13582122f977d201953b576e3ff7e99241457951
Signed-off-by: Hui Li <quic_hul@quicinc.com>
Add snapshot of the smb358 charger as of msm-5.4
commit b4f92443227f8 ("smb358: Add snapshot of smb358 charger").
Fix minor static analysis tool errors.
Change-Id: I3610831152cc545a9fc2c20e4abb5c04989e7408
Signed-off-by: Ravi Ranjan Kumar <quic_ravirk@quicinc.com>
Req_delay variable is wrongly used in hw_init function.
Fix it by adding correct dt config variable.
Change-Id: I6fd5ac451602d55005b2e6672c0c8623eff8dda5
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Enable DCVS, Memlat, PMU Lib, Bandwidth Monitor and Profiler
for Neo platform.
Change-Id: I998ec898ea160a6bc5d01d5a6dfff887b450c358
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>