Since, there are more options that are not common to
all targets, move them to image_opts as configurable
options.
Change-Id: I5664be920500ee6da1795812d18945d113567401
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
Add support to save tsensor data to minidump so that it can
be obtained from memory dump for analysis.
Change-Id: I269fe49331cba90820797700dda46518145622ba
Signed-off-by: congying <quic_congying@quicinc.com>
Add support to save ADC_TM thermal sensor data to minidump
so that it can be obtained from memory dump for analysis.
Change-Id: Ieed85580b47ef27669ef8f09a0a62be4913cf586
Signed-off-by: congying <quic_congying@quicinc.com>
Consider a case where DP 4LN is connected and performed a disconnect,
the driver would call the disconnect routine as part of which we would
restore the max_speed to SS/SSP. After this driver will proceed to turn
on gadget where it tried to set USB_ROLE_DEVICE from drd.
This would further perform a core_soft_reset and only after
which it calls gadget_init.
During this, the xhci host tear down will also take place, and xhci_remove
would be called. This would initiate the host_notifier call. Here we again
call ss_powerup and this time driver will call set_suspend(0).
When these two processes are executed together, there is a possibility that
the phy register operations are not yet completed and driver went ahead and
tried to do any other register operation like GTXFIFOSIZ read will give
out 0x00 value. This will lead to a wrong calculation of setting
max_packetlimit for in/out eps and the gadget_init will fail,
leading to an enumeration failure.
Following is the ilustration:
<DP disconnect>
dwc3_otg_start_host(0)
dwc3_msm_host_ss_powerup(bail out)
dwc3_msm_clear_dp_only_params
dwc3_msm_set_max_speed(UNKNOWN)
speed = max_hw_supported_speed
usb_disconnect
usb_remove_hcd
dwc3_msm_host_notifier
dwc3_msm_host_ss_powerup
set_suspend(0)
start_peripheral(1)
drd_set_role(DEVICE)
core_soft_reset
gadget_init
REGISTER_READ(GTXFIFOSIZ)
<<Failure>>
Fix this by blocking the execution of ss_powerup from host_notifier with
in_host_mode check. Driver will rely on msm_resume to call set_suspend(0).
Change-Id: I733f16cb1fd398bbeef3057f0578c00007841551
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
In 4 lanes display mode, release lane may called before role setting,
it will trigger the WARN_ON(), remove it since it can happen in real
use case.
Also add ipc log entry for debug purpose.
Change-Id: Ie2d910af9e4634526f6c582eddae1f7a7feae0a2
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
dt-bindings from drivers specific to gen3auto like clocks,
interconnect, usb, etc.,.
Snapshots taken from msm-5.15 branch at commit
468ae31a ("dt-bindings: clock: Add dt-bindings for SC8180X").
Change-Id: Iaa3c47fb514f825d3f5875ef818c5a870ba827a0
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
ADP is added into the hw_platform list.
Change-Id: I472934aa0bae90c0a2dbe625edc0e5550570e96b
Signed-off-by: Subhadra Jagadeesan <quic_c_subhja@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
nr_assist_thresh is used by clusters that are assisting other
clusters. Typically this was reserved for gold+, as it's job was to
assist golds. If there were any need for assisting, the cpu would
unhalt, and be available for tasks to run.
With the change to core control to specify a mask for each cluster
that is used to look at which cpus to assist, nr_assist_thresh is
redundant. If the cpus to assist have sufficient tasks, that can
be immediately included in the number of needed cpus.
Update apply_task_need and core control to eliminate the threshold
and always adjust based upon the nr_assist calculated value.
Change-Id: I87f91b67705557c221e2e53fe924e18704ad8be8
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>