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

Enable cable detection on sdxlemur platforms having pdphy
functionality.

Change-Id: I50f11ddb6fc31c75a420f492f09e0996a2647613
This commit is contained in:
Elson Roy Serrao 2020-11-22 02:36:38 -08:00
commit 1edefdb6f6
3 changed files with 21 additions and 3 deletions

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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>;