Device power on and bus init should happen when all platform related
init are done since it means all platform configs are ready and it is
good to bring up device. Hence move them to the end of platform probe
call.
Change-Id: I22a69be4a25de6f8c45994dca23f6f631fd1474f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Commit 6076cdc395 ("usb: host: Disable system wakeup if remote
wakeup is not required")has introduced a check in xhci_plat_probe
where if device_may_wakeup is set for the parent device, then
device_wakeup_enable is called on xhci-plat, but calling
device_wakeup_enable without device_set_wakeup_capable is useless.
Now when xhci_plat_suspend is called the xhci_suspend will check
for device_may_wakeup and here the result will be FALSE.
In xhci suspend the do_wakeup is checked, if FALSE then it will
try to call xhci_disable_port_wake_on_bits where it will try
to do a readl operation. This will lead the core to hang since
xhci is already suspended and we tried to do a readl.
Fix this by replacing device_wakeup_enable with device_init_wakeup.
This will set the do_wakeup to be true and therefore avoid calling
xhci_disable_port_wake_on_bits and bail out when checked for
HCD_HW_ACCESSIBLE.
Change-Id: Id3fad841ebe07b777dc229ced36364ad31e6d81d
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
Update host capability message to inform host capability,
FW uses this information to decode host enabled feature list.
Enable clock selection feature when xo_clk_gpio is set in DTS.
Change-Id: Iea7e5863c67a29cfc9ff1fa7c654aeef6da48524
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
Updated the QMI host capability message to inform about the
MLO host capabilities. FW uses information to initialize the
MLO related data structures.
Change-Id: Ib1d4d2adbd664907e6abd13d4370dc7b33d41b0d
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
This bit should only be set when CM3_CGC clock gating is enabled,
Otherwise always live CM3 clock will make dead loop in CM3 clock
control FSM, No Effect If this bit is set to 0, this is the default
behavior.
Change-Id: I9052182bd05e38433e11bbfdfa1f1c48c980fc9b
Signed-off-by: Hui Li <hul@codeaurora.org>
Currently icnss2 for monaco is compiling as serperate
kernel module, change it to compile as part of vmlinux.
Change-Id: Ifb175f9f3b418edbe5df5836b8f02e41a11898bc
CRs-Fixed: 2944263
Signed-off-by: Dundi Raviteja <dundi@codeaurora.org>
Add code to print return value of BDF download failure.
Change-Id: Ifca293d00eeae98fb8a6a0f81bba853c8d382cd3
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Add config option to support SA2150P architecture
platform.
Change-Id: Ic1acd38fdafa2d3011506ed5240b3f30c4a1d44d
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
In linux guest restart case, during probe, stop_rx_sequencer is
getting called because of residual state set before restart.
spin_lock which is used in stop_rx_sequencer is not initialized.
To, resolve spin_lock debug mentioned below, initialize spin_lock
early.
spin_dump+0x84/0x88
do_raw_spin_lock+0xd4/0x12c
raw_spin_lock+0x20/0x2c
handle_rx_dma_xfer+0x44/0x330
stop_rx_sequencer+0x118/0x420
start_rx_sequencer+0xc0/0x1a0
msm_geni_serial_runtime_resume+0x54/0xb8
pm_generic_runtime_resume+0x44/0x80
__rpm_callback+0x98/0x208
rpm_resume+0x458/0x6a4
__pm_runtime_resume+0x60/0xa0
__device_attach.llvm.18035772682363603059+0xa0/0x174
bus_probe_device+0x3c/0xdc
device_add+0x95c/0xb84
serdev_controller_add_platform+0x2c/0x1d0
serdev_tty_port_register+0xf8/0x188
tty_port_register_device_attr_serdev+0x50/0x90
uart_add_one_port+0x268/0x60c
msm_geni_serial_probe+0x630/0x780
platform_drv_probe+0xac/0xf0
really_probe+0x210/0x7d8.
Change-Id: I9e139897681ece174a9ead63f57bb999585ff0bf
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>