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

Commit 17eb0120 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add support for USB HS AC/DC coupling on SA8155"

parents d490c2fc d701b452
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@ Optional properties:
        "phy_rcal_reg": register address for efuse used for rext calibration
 - qcom,no-rext-present: Set only if external REXT is not present. Default value
   is present.
 - pinctrl-names/pinctrl-0: The GPIO configured as usb2phy_ac function. Name represents
   "active" state.

Example:
	hsphy@f9200000 {
+14 −0
Original line number Diff line number Diff line
@@ -185,8 +185,22 @@
	qcom,host-poweroff-in-pm-suspend;
};

&usb2_phy0 {
	qcom,param-override-seq =
		<0x43 0x70
		 0x01 0xb0>;
	pinctrl-names = "default";
	pinctrl-0 = <&usb2phy_ac_en1_default>;
};

&usb1 {
	status = "ok";
	qcom,default-mode-host;
	qcom,host-poweroff-in-pm-suspend;
};

&usb2_phy1 {
	qcom,param-override-seq = <0x01 0xb0>;
	pinctrl-names = "default";
	pinctrl-0 = <&usb2phy_ac_en2_default>;
};
+26 −0
Original line number Diff line number Diff line
@@ -4506,5 +4506,31 @@
				bias-pull-up;
			};
		};

		usb2phy_ac_en1_default: usb2phy_ac_en1_default {
			mux {
				pins = "gpio113";
				function = "usb2phy_ac";
			};

			config {
				pins = "gpio113";
				drive-strength = <2>;
				bias-disable;
			};
		};

		usb2phy_ac_en2_default: usb2phy_ac_en2_default {
			mux {
				pins = "gpio123";
				function = "usb2phy_ac";
			};

			config {
				pins = "gpio123";
				drive-strength = <2>;
				bias-disable;
			};
		};
	};
};