Loading Documentation/devicetree/bindings/usb/dwc3.txt +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ Optional properties: - snps,xhci-imod-value: Interrupt moderation interval for host mode (in increments of 250nsec). - usb-core-id: Differentiates between different controllers present on a device. - snps,bus-suspend-enable: If present then controller supports low power mode during bus suspend. This is usually a subnode to DWC3 glue to which it is connected. Loading drivers/usb/dwc3/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -1218,7 +1218,8 @@ static int dwc3_probe(struct platform_device *pdev) &dwc->fladj); dwc->disable_clk_gating = device_property_read_bool(dev, "snps,disable-clk-gating"); dwc->enable_bus_suspend = device_property_read_bool(dev, "snps,bus-suspend-enable"); if (dwc->enable_bus_suspend) { pm_runtime_set_autosuspend_delay(dev, 500); pm_runtime_use_autosuspend(dev); Loading Loading
Documentation/devicetree/bindings/usb/dwc3.txt +2 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ Optional properties: - snps,xhci-imod-value: Interrupt moderation interval for host mode (in increments of 250nsec). - usb-core-id: Differentiates between different controllers present on a device. - snps,bus-suspend-enable: If present then controller supports low power mode during bus suspend. This is usually a subnode to DWC3 glue to which it is connected. Loading
drivers/usb/dwc3/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -1218,7 +1218,8 @@ static int dwc3_probe(struct platform_device *pdev) &dwc->fladj); dwc->disable_clk_gating = device_property_read_bool(dev, "snps,disable-clk-gating"); dwc->enable_bus_suspend = device_property_read_bool(dev, "snps,bus-suspend-enable"); if (dwc->enable_bus_suspend) { pm_runtime_set_autosuspend_delay(dev, 500); pm_runtime_use_autosuspend(dev); Loading