Commit Graph

5 Commits

Author SHA1 Message Date
Ke Du
ac218ced98 ARM: dts: msm: Add dependency of iommu node on USB driver
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>
2024-06-06 05:07:24 -07:00
Ronak Vijay Raheja
54cfc1de08 ARM: dts: msm: Enable usb-role-switch for pineapple
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>
2024-03-25 16:29:49 -07:00
Bruce Levy
ffe8c802d5 ARM: dts: msm: Remove usb-role-switch for pineapple
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>
2023-08-24 13:16:43 -07:00
Mukesh Ojha
14101e9d2e ARM: dts: msm: Remove ucsi port remote-endpoint with USB pineapple
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>
2023-07-19 00:58:21 -07:00
Mukesh Ojha
e9b9d27ee3 ARM: dts: msm: Add snapshot of pineapple device tree
Add snapshot of pineapple device tree files as of devicetree/qcom-6.1
commit 8bc1219b2b23 ("Merge "ARM: dts: msm: update memlat tables for
pineapple"").

Change-Id: If62ee45b1f3e7e8a5744f25b8c67a9768950c960
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-05-25 18:34:55 +05:30