eUSB2 HPG revision 1.0.2 recommends to program eusb register
USB_PHY_CFG_CTRL_1 to be programmed to 0x00 on phy init.
Since this divergence is only applicable for specific version therefore
updating the override sequence with the appropriate value.
Change-Id: Iaf84875c20e9c2c030b3f81eec9348a63f081105
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
This change will add usb-role-switch and eud in Kera.
Change-Id: I74ca8c0e19b45d925bcecc78e993439441339e20
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
To support cable detection events from UCSI, updates need to be made
to enable usb role switch and setting up a connection to the UCSI PMIC
glink node.
Change-Id: Ic3a848f882072a766b3efb872f943dd3f4220ba1
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
DWC3 host and XHCI plat now communicates the maximum number of interrupters
the XHCI HCD will allocate. Since platforms only require a limited number
of interrupters (i.e. 3) make sure XHCI doesn't allocate more than is
required.
Change-Id: I466748df07aba6d7bdc79c7b2b17b3a57c58d3d4
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Currently, the node for eusb2_phy0 is defined but not used by controller
which makes the associated resources to be consumed. Therefore if phy
probes doesn't happen the controller goes into core soft reset failure.
Fix this by utilizing the node in the controller. This will call the
phy's probe and hence clocks & regulators will be initialized.
Change-Id: Ica46af01154d5e583e011e4f2d84a80fb0589ac8
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
TLMM pin is used to notify USB3/DP Combo PHY about the
orientation. Select this pinctrl from the usb_qmp_dp_phy
and ensure it is selecting the "usb0_phy_ps" pin function for Kera.
Change-Id: Ib4c9b61a36473dc6a00cf7a271c54f2245d4f9d8
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
1. The high speed phy is required for USB to support HS
usecases. Add eusb node on tuna which includes the
necessary resources for the eusb phy to work.
2. Adds interconnects on KERA USB.
3. QMP phy is used for SS/SSP usb usecases as well as DP use cases
in a target. This change adds the basic resources required along
with the init sequence for functionality.
4. Adding the necessary audio node providing the necessary
resources of the qmi audio to get probed.
5. The GSI event buffers are required for the various GSI related
usecases which are excercised from the dwc3 glue driver.
Add the number of event buffers along with the register offsets
defined.
6. Adding a 4-byte register entry for tcsr_dyn-en-dis to enable/disable USB
dynamically from dwc3-msm-core.
Change-Id: Ia45a09d8d2a54e29ecd0811e97d71c6dd8eaecee
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
In this change switching from "bypass" to "atomic"
for kera.
Change-Id: I8a1141086a9f346c2613bb22ff601b69dd564131
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Enable SMMU for the USB controller on kera.
Note: Currently in bypass mode.
Change-Id: I59245b14cf20ddbfdc4782f4f23f6d702817a03c
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Enable USB related properties for USB functionality
on kera.
Change-Id: Iceb1d404dd7b4f500885064ee0e65cc8a0dc7d7c
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>