Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08530a3a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: Pass USB connector type info from device tree"

parents 08e5b09d 5657f9dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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".
+2 −0
Original line number Diff line number Diff line
@@ -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) {