Loading Documentation/devicetree/bindings/usb/msm-ssusb.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ Optional properties : - qcom,vbus-present: Indicates that there is no VBUS indication from PMIC. Assume VBUS is present if this property is defined. - qcom,ext-hub-reset-gpio: This corresponds to gpio which is used for HUB reset. - qcom,disable-dev-mode-pm: If present, it disables PM runtime functionality for device mode. Sub nodes: - Sub node for "DWC3- USB3 controller". This sub node is required property for device node. The properties of this subnode Loading drivers/usb/dwc3/dwc3-msm.c +3 −0 Original line number Diff line number Diff line Loading @@ -2463,6 +2463,9 @@ static int dwc3_msm_probe(struct platform_device *pdev) device_init_wakeup(mdwc->dev, 1); pm_stay_awake(mdwc->dev); if (of_property_read_bool(node, "qcom,disable-dev-mode-pm")) pm_runtime_get_noresume(mdwc->dev); schedule_delayed_work(&mdwc->sm_work, 0); /* Update initial ID state */ Loading Loading
Documentation/devicetree/bindings/usb/msm-ssusb.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ Optional properties : - qcom,vbus-present: Indicates that there is no VBUS indication from PMIC. Assume VBUS is present if this property is defined. - qcom,ext-hub-reset-gpio: This corresponds to gpio which is used for HUB reset. - qcom,disable-dev-mode-pm: If present, it disables PM runtime functionality for device mode. Sub nodes: - Sub node for "DWC3- USB3 controller". This sub node is required property for device node. The properties of this subnode Loading
drivers/usb/dwc3/dwc3-msm.c +3 −0 Original line number Diff line number Diff line Loading @@ -2463,6 +2463,9 @@ static int dwc3_msm_probe(struct platform_device *pdev) device_init_wakeup(mdwc->dev, 1); pm_stay_awake(mdwc->dev); if (of_property_read_bool(node, "qcom,disable-dev-mode-pm")) pm_runtime_get_noresume(mdwc->dev); schedule_delayed_work(&mdwc->sm_work, 0); /* Update initial ID state */ Loading