Commit Graph

13 Commits

Author SHA1 Message Date
Uttkarsh Aggarwal
2e2af38cfe ARM: dts: msm: add qcom,pm-qos-latency for kera
It will help for USB KPI.

Change-Id: Icd313491c6228095a02144ba4473a5a61fb96f80
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2025-02-27 00:12:03 -08:00
Uttkarsh Aggarwal
ea95288e63 ARM: dts: msm: Update eUSB2 init sequence value as per ver 1.0.2 for Kera
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>
2025-01-06 23:03:43 -08:00
QCTECMDR Service
5786e16de3 Merge "ARM: dts: msm: Add usb-role-switch and eud on kera" 2025-01-02 05:43:34 -08:00
Uttkarsh Aggarwal
ed15e2b759 ARM: dts: msm: Add usb-role-switch and eud on kera
This change will add usb-role-switch and eud in Kera.

Change-Id: I74ca8c0e19b45d925bcecc78e993439441339e20
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-12-31 12:09:28 +05:30
Uttkarsh Aggarwal
4f171bf25c ARM: dts: msm: Enable UCSI nodes for kera USB
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>
2024-12-31 12:05:50 +05:30
Uttkarsh Aggarwal
7f24fdfd76 ARM: dts: msm: Define maximum number of USB XHCI interrupters
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>
2024-12-31 12:02:44 +05:30
QCTECMDR Service
84294ec126 Merge "ARM: dts: msm: Add pin configuration for USB3 PHY portselect on Kera" 2024-12-29 23:25:19 -08:00
Udipto Goswami
7bbc05c5d6 ARM: dts: msm: Add High Speed USB support on Kera
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>
2024-12-25 13:07:51 +05:30
Uttkarsh Aggarwal
9f99f6782e ARM: dts: msm: Add pin configuration for USB3 PHY portselect on Kera
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>
2024-12-20 14:12:52 +05:30
Uttkarsh Aggarwal
6ee4081682 ARM: dts: msm: Adding all the relevant usb changes in kera
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>
2024-12-02 01:48:48 -08:00
Uttkarsh Aggarwal
94a7be42b9 ARM: dts: msm: Setting IOMMU to atomic in kera
In this change switching from "bypass" to "atomic"
for kera.

Change-Id: I8a1141086a9f346c2613bb22ff601b69dd564131
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-09-30 10:20:33 +05:30
Uttkarsh Aggarwal
540f17c507 ARM: dts: msm: Enable SMMU in kera
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>
2024-08-29 14:02:06 +05:30
Uttkarsh Aggarwal
f9afc1b4fc ARM: dts: msm: Add USB device nodes for kera
Enable USB related properties for USB functionality
on kera.

Change-Id: Iceb1d404dd7b4f500885064ee0e65cc8a0dc7d7c
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-06-19 11:38:42 +05:30