]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dwc3: versal: Correct the logic for GFLADJ adjustment
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Thu, 26 Sep 2019 11:31:00 +0000 (05:31 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 2 Feb 2021 12:49:33 +0000 (13:49 +0100)
commit6e51fd18863d04d9b2ab28e84c8a84563f0c1657
tree510973ce46039480fb5877e295b4d679b014e71e
parent397dbb0e372dfe6d7da1f20bd6300c567876d68b
dwc3: versal: Correct the logic for GFLADJ adjustment

This patch corrects the logic used for adjusting GFLADJ register.

Currently during phy initialization, USB core reset is happening.
Because of reset USB GFLADJ register is getting restored to default
values. This patch updates the GFADJ[21:8] & GFLADJ[5:0] bits if
they are not equal to the requested value from dts.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
State: pending
drivers/usb/host/xhci-dwc3.c
include/linux/usb/dwc3.h