Currently, wait_for_device_probe api added before dwc3_probe
is called in core_init which is suppose to ensure that in case
the child is getting teared down, the userspace doesn't get to
write UDC and do gadget_start.
However, wait_for_device_probe api makes sure that the driver wait
until all probes are completed. Ideally, it wouldn't be a problem
but in cases of other driver's probe fails, usb would be affected
here even though usb isn't at fault.
Fix this by making a dummy-dependency on smmu node since the original
intention of the patch was to make sure if smmu driver was probed
successfully, then only proceed for child driver's probe.
Change-Id: Id05797f8dcd26783e3c0eab4facf4f4672790fe6
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: Ke Du <quic_kedu@quicinc.com>
Add the required nodes representing the USB connector and its remote
endpoints to the UCSI device and USB controller to receive USB cable
connection/disconnection events from UCSI on the DWC3 MSM node.
Change-Id: I38e4b2f2b01d2a73cfa507eff6d508103602441e
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
Remove the usb-role-switch property for pineapple target.
USB SW driver will assume that the USB cable is connected and
enumerate w/the PC.
Change-Id: I6f2f1b292792bc064722fdeff3807ea4c3fa5a53
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
USB controller device doesn't probe due to remote-endpoint depedency
with ucsi device. ucsi device won't be probed as ADSP firmware is
not being loaded. Hence remove ucsi port related remote-endpoint
configuration on pineapple.
While at it, also remove dependency on EUD driver.
Change-Id: I161afb62e63ebeeb13ee5af7b43408c697fd59d6
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>