usb: dwc3: make HIRD threshold configurable
HIRD threshold should be configurable by different platforms. From DesignWare databook: When HIRD_Threshold[4] is set to 1b1 and HIRD value is greater than or equal to the value in HIRD_Threshold[3:0], dwc3 asserts output signals utmi_l1_suspend_n to put PHY into Deep Low-Power mode in L1. When HIRD_Threshold[4] is set to 1b0 or the HIRD value is less than HIRD_Threshold[3:0], dwc3 asserts output signals utmi_sleep_n on L1. Signed-off-by:Huang Rui <ray.huang@amd.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
Showing
- Documentation/devicetree/bindings/usb/dwc3.txt 3 additions, 0 deletionsDocumentation/devicetree/bindings/usb/dwc3.txt
- drivers/usb/dwc3/core.c 17 additions, 0 deletionsdrivers/usb/dwc3/core.c
- drivers/usb/dwc3/core.h 6 additions, 0 deletionsdrivers/usb/dwc3/core.h
- drivers/usb/dwc3/gadget.c 1 addition, 5 deletionsdrivers/usb/dwc3/gadget.c
- drivers/usb/dwc3/platform_data.h 3 additions, 0 deletionsdrivers/usb/dwc3/platform_data.h
Loading
Please register or sign in to comment