Files
kernel_common_drivers/include/linux/amlogic
dian.shao fa8e67605c usb: s6 power optimise & misc [1/1]
PD#SWPL-177679

Problem:
S6 usb high power.
speed-drop usb devices.
u2phy disconnect, squelch & edgedrv cali

Solution:
Optimise suspend logic by holding usb controller reset bit,
usb controller comb reset bit, usb2_phy_reset_bit, usb3_phy_reset_bit
.Besides:
1. reset usb3_apb_reset_bit and leave it set then modify corresponding
static regs for low power.
2. off unused usb3phy digital 100M clk.
3. Some quirky devices take >2s to turn on Rterm and begin polling
after resume, which is seen in the new clean usb3 phy. This leads
to wait_for_connected timeout when resuming. Add XHCI_MISSING_CAS
for xHC to workaround by asserting warm reset at resume.

The speed-drop usb devices TX maybe unstable at insertion, leading to
CDR KI overload. Delay freq tracking start point by modifying fr_en
delay 1us->300us.

Modify params in driver & dts.

Verify:
BL201.

Change-Id: I4d6139ecad79e8582ada818338fcf53a1d66b131
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-08-02 01:00:02 -07:00
..
2024-08-01 03:00:20 -07:00
2024-07-02 21:10:48 -07:00
2024-07-05 10:44:46 +08:00
2023-09-26 02:28:52 -07:00
2022-05-10 02:11:08 -07:00
2022-03-24 20:01:34 +08:00
2021-11-29 19:00:07 +08:00
2022-03-24 20:01:34 +08:00
2021-12-15 15:59:20 +08:00
2022-06-07 04:47:30 -07:00
2022-01-05 17:07:20 +08:00
2022-09-07 20:06:45 +08:00
2022-03-06 18:36:14 -07:00
2024-07-16 03:55:13 -07:00
2022-09-13 22:04:56 -07:00
2024-05-23 02:02:20 -07:00
2022-09-20 22:15:28 -07:00
2021-12-09 15:10:33 +08:00
2022-03-03 01:05:46 -07:00
2022-03-03 01:05:46 -07:00
2024-08-02 01:00:02 -07:00
2022-06-30 18:09:28 +08:00
2022-03-04 11:13:37 +08:00
2021-12-22 15:48:10 +08:00
2022-03-24 20:01:34 +08:00