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

Commit 3925eaa8 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-msm: Add support to read gadget IMOD value from devicetree"

parents 1ff01511 b95469bb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -83,6 +83,8 @@ Optional properties :
- 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.
- qcom,gadget-imod-val: If present, specifies default value of interrupt moderation in
	usecs for normal EPs.

Sub nodes:
- Sub node for "DWC3- USB3 controller".
+3 −0
Original line number Diff line number Diff line
@@ -3908,6 +3908,9 @@ static int dwc3_msm_probe(struct platform_device *pdev)
		mdwc->pm_qos_latency = 0;
	}

	of_property_read_u32(node, "qcom,gadget-imod-val",
					&dwc3_gadget_imod_val);

	mdwc->no_vbus_vote_type_c = of_property_read_bool(node,
					"qcom,no-vbus-vote-with-type-C");