• Thinh Nguyen's avatar
    usb: dwc3: gadget: Set BESL config parameter · 54fb5ba6
    Thinh Nguyen authored
    When operating with LPM signals, the controller asserts the deep
    low-power signal (utmi_l1_suspend_n) to the phy when the BESL value of
    the LPM token is equal to or greater than DCTL.HIRD_Thres[3:0] (and
    with DCTL.HIRD_Thres[4] set). Otherwise, the shallow low-power signal
    (utmi_sleep_n) is asserted. Set the recommended deep BESL equal to the
    controller's DCTL.HIRD_Thres[3:0] setting, and set the baseline BESL
    to 0 for the shallow low-power signal. This maximizes the opportunity
    for L1 residency and optimizes power savings.
    Signed-off-by: default avatarThinh Nguyen <thinhn@synopsys.com>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    54fb5ba6
gadget.c 86.2 KB