Loading Documentation/devicetree/bindings/usb/dwc3.txt +2 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,8 @@ Optional properties: - snps,bus-suspend-enable: If present then controller supports low power mode during bus suspend. - snps,usb3-u1u2-disable: If present, disable U1U2 low power modes in Superspeed mode - snps,disable-clk-gating: If present, disable controller's internal clock gating. Default it is enabled. - in addition all properties from usb-xhci.txt from the current directory are supported as well Loading drivers/usb/dwc3/core.c +5 −0 Original line number Diff line number Diff line Loading @@ -724,6 +724,9 @@ static void dwc3_core_setup_global_control(struct dwc3 *dwc) if (dwc->revision < DWC3_REVISION_190A) reg |= DWC3_GCTL_U2RSTECN; if (dwc->disable_clk_gating) reg |= DWC3_GCTL_DSBLCLKGTNG; dwc3_writel(dwc->regs, DWC3_GCTL, reg); } Loading Loading @@ -1052,6 +1055,8 @@ static void dwc3_get_properties(struct dwc3 *dwc) "snps,bus-suspend-enable"); dwc->usb3_u1u2_disable = device_property_read_bool(dev, "snps,usb3-u1u2-disable"); dwc->disable_clk_gating = device_property_read_bool(dev, "snps,disable-clk-gating"); dwc->lpm_nyet_threshold = lpm_nyet_threshold; dwc->tx_de_emphasis = tx_de_emphasis; Loading drivers/usb/dwc3/core.h +1 −0 Original line number Diff line number Diff line Loading @@ -1125,6 +1125,7 @@ struct dwc3 { unsigned ssp_u3_u0_quirk:1; unsigned tx_de_emphasis:2; unsigned err_evt_seen:1; unsigned disable_clk_gating:1; unsigned enable_bus_suspend:1; unsigned usb3_u1u2_disable:1; Loading Loading
Documentation/devicetree/bindings/usb/dwc3.txt +2 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,8 @@ Optional properties: - snps,bus-suspend-enable: If present then controller supports low power mode during bus suspend. - snps,usb3-u1u2-disable: If present, disable U1U2 low power modes in Superspeed mode - snps,disable-clk-gating: If present, disable controller's internal clock gating. Default it is enabled. - in addition all properties from usb-xhci.txt from the current directory are supported as well Loading
drivers/usb/dwc3/core.c +5 −0 Original line number Diff line number Diff line Loading @@ -724,6 +724,9 @@ static void dwc3_core_setup_global_control(struct dwc3 *dwc) if (dwc->revision < DWC3_REVISION_190A) reg |= DWC3_GCTL_U2RSTECN; if (dwc->disable_clk_gating) reg |= DWC3_GCTL_DSBLCLKGTNG; dwc3_writel(dwc->regs, DWC3_GCTL, reg); } Loading Loading @@ -1052,6 +1055,8 @@ static void dwc3_get_properties(struct dwc3 *dwc) "snps,bus-suspend-enable"); dwc->usb3_u1u2_disable = device_property_read_bool(dev, "snps,usb3-u1u2-disable"); dwc->disable_clk_gating = device_property_read_bool(dev, "snps,disable-clk-gating"); dwc->lpm_nyet_threshold = lpm_nyet_threshold; dwc->tx_de_emphasis = tx_de_emphasis; Loading
drivers/usb/dwc3/core.h +1 −0 Original line number Diff line number Diff line Loading @@ -1125,6 +1125,7 @@ struct dwc3 { unsigned ssp_u3_u0_quirk:1; unsigned tx_de_emphasis:2; unsigned err_evt_seen:1; unsigned disable_clk_gating:1; unsigned enable_bus_suspend:1; unsigned usb3_u1u2_disable:1; Loading