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

Commit 901c828c authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

usb: dwc3-msm: Remove the read of qcom,vbus-present property



Commit 5c0656c6 ("usb: dwc3_otg: Remove logic to manually set BSV")
had removed logic of manually over-riding BSV. But it did not remove the
actual reading of property from the dtsi.
Remove reading of this property completely, as this property is not
supported anymore and handling will be done from userspace for cases
where VBUS indication from PMIC is not present.

Change-Id: Ia761572e8ac096e96685242ffee74bc4d069f9af
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 28d9a3f3
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -41,8 +41,6 @@ Optional properties :
  when recovering from power collapse.
- qcom,lpm-to-suspend-delay-ms: Indicates timeout (in milliseconds) to release wakeup source
  after USB is kept into LPM.
- 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.
- qcom,disable-host-mode-pm: If present, it disables XHCI PM runtime functionality when USB
@@ -70,7 +68,6 @@ Example MSM USB3.0 controller device node :
		qcom,dwc-usb3-msm-tx-fifo-size = <29696>;
		qcom,usb-dbm = <&dbm_1p4>;
		qcom,lpm-to-suspend-delay-ms = <2>;
		qcom,vbus-present;

		qcom,msm_bus,name = "usb3";
		qcom,msm_bus,num_cases = <2>;
+0 −1
Original line number Diff line number Diff line
@@ -3024,7 +3024,6 @@ static int dwc3_msm_probe(struct platform_device *pdev)
		goto put_dwc3;
	}

	dwc->vbus_active = of_property_read_bool(node, "qcom,vbus-present");
	mdwc->irq_to_affin = platform_get_irq(mdwc->dwc3, 0);
	mdwc->dwc3_cpu_notifier.notifier_call = dwc3_cpu_notifier_cb;