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

Commit 02436140 authored by Elson Roy Serrao's avatar Elson Roy Serrao
Browse files

ARM: dts: msm: Add extcon node for sdxlemur platforms

Enable cable detection on sdxlemur platforms having pdphy
functionality.

Change-Id: I50f11ddb6fc31c75a420f492f09e0996a2647613
parent 8b87ea3c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -216,3 +216,11 @@
			   "typec_mode",
			   "pe_start";
};

&usb {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+8 −0
Original line number Diff line number Diff line
@@ -184,3 +184,11 @@
			   "typec_mode",
			   "pe_start";
};

&usb {
	extcon = <&pm7250b_pdphy>, <&eud>;

	#io-channel-cells = <1>;
	io-channels= <&pm7250b_charger PSY_IIO_USB_REAL_TYPE>;
	io-channel-names = "chg_type";
};
+5 −3
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
		interrupt-names = "pwr_event_irq";

		USB3_GDSC-supply = <&gcc_usb30_gdsc>;
		dpdm-supply = <&usb2_phy>;
		clocks = <&gcc GCC_USB30_MASTER_CLK>,
			<&gcc GCC_USB30_SLV_AHB_CLK>,
			<&gcc GCC_USB30_MSTR_AXI_CLK>,
@@ -100,9 +101,10 @@

	usb2_phy: hsphy@ff4000 {
		compatible = "qcom,usb-hsphy-snps-femto";
		reg = <0xff4000 0x120>;
		reg-names = "hsusb_phy_base";

		reg = <0xff4000 0x120>,
			<0xff2000 0x4>;
		reg-names = "hsusb_phy_base",
			"eud_enable_reg";
		vdd-supply = <&pmx65_l4>;
		qcom,vdd-voltage-level = <0 912000 912000>;
		vdda18-supply = <&pmx65_l5>;