Loading Documentation/devicetree/bindings/usb/msm-ssusb.txt +1 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ Optional properties : - qcom,smmu-s1-bypass: If present, configure SMMU to bypass stage 1 translation. - qcom,no-vbus-vote-with-type-C: If present, then do not try to get and enable VBUS regulator in type-C host mode from dwc3-msm driver. - qcom,connector-type-uAB: HW platform is using micro-AB USB connector type. Sub nodes: - Sub node for "DWC3- USB3 controller". Loading drivers/usb/dwc3/dwc3-msm.c +2 −0 Original line number Diff line number Diff line Loading @@ -3593,6 +3593,8 @@ static int dwc3_msm_probe(struct platform_device *pdev) mutex_init(&mdwc->suspend_resume_mutex); /* Mark type-C as true by default */ mdwc->type_c = true; if (of_property_read_bool(node, "qcom,connector-type-uAB")) mdwc->type_c = false; mdwc->usb_psy = power_supply_get_by_name("usb"); if (!mdwc->usb_psy) { Loading Loading
Documentation/devicetree/bindings/usb/msm-ssusb.txt +1 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ Optional properties : - qcom,smmu-s1-bypass: If present, configure SMMU to bypass stage 1 translation. - qcom,no-vbus-vote-with-type-C: If present, then do not try to get and enable VBUS regulator in type-C host mode from dwc3-msm driver. - qcom,connector-type-uAB: HW platform is using micro-AB USB connector type. Sub nodes: - Sub node for "DWC3- USB3 controller". Loading
drivers/usb/dwc3/dwc3-msm.c +2 −0 Original line number Diff line number Diff line Loading @@ -3593,6 +3593,8 @@ static int dwc3_msm_probe(struct platform_device *pdev) mutex_init(&mdwc->suspend_resume_mutex); /* Mark type-C as true by default */ mdwc->type_c = true; if (of_property_read_bool(node, "qcom,connector-type-uAB")) mdwc->type_c = false; mdwc->usb_psy = power_supply_get_by_name("usb"); if (!mdwc->usb_psy) { Loading