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

Commit 7b30fb61 authored by Pratham Pratap's avatar Pratham Pratap Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add DRD mode for 2nd USB on MSM8996 Auto



Enable DRD mode for 2nd USB. Added one more android_usb
node with usb-core-id=1 so that on the basis of this
usb-core-id we can differentiate between primary and
secondary controller.

Change-Id: I51adc255ce2c3bf4476a490cf3a81fd0512754a8
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 411ce1fd
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1277,12 +1277,14 @@
	};
};

&android_usb1 {
	status = "ok";
};

&usb2s {
	status = "ok";
	qcom,no-wakeup-src-in-hostmode;
	dwc3@7600000 {
		dr_mode = "host";
	};
	qcom,psy-not-used;
};

&usb3 {
+10 −0
Original line number Diff line number Diff line
@@ -1981,6 +1981,7 @@
			snps,nominal-elastic-buffer;
			snps,is-utmi-l1-suspend;
			snps,hird-threshold = /bits/ 8 <0x0>;
			qcom,usb-core-id = <0>;
		};

		qcom,usbbam@6b04000 {
@@ -2088,6 +2089,7 @@
			snps,nominal-elastic-buffer;
			snps,is-utmi-l1-suspend;
			snps,hird-threshold = /bits/ 8 <0x0>;
			qcom,usb-core-id = <1>;
		};
	};

@@ -2095,6 +2097,14 @@
		compatible = "qcom,android-usb";
		reg = <0x066bf0c8 0xc8>;
		qcom,pm-qos-latency = <41 91 801>;
		qcom,usb-core-id = <0>;
	};

	android_usb1: android_usb1 {
		compatible = "qcom,android-usb";
		qcom,pm-qos-latency = <41 91 801>;
		qcom,usb-core-id = <1>;
		status = "disabled";
	};

	qusb_phy0: qusb@7411000 {