diff options
author | Jack Pham <jackp@codeaurora.org> | 2016-03-31 18:50:53 -0700 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-10 13:20:29 -0700 |
commit | 8bb118e8c52db117b6481fa5a7d8d59aa5323bcf (patch) | |
tree | b57cdc537824ae26b3b86c96cf5c39bd808cb7d2 | |
parent | a53bda8e3777312e0155ab750e3dc2321bbaf638 (diff) |
ARM: dts: msm: Add PD PHY peripheral to pmicobalt
Add device node for the USB PD PHY peripheral found in PMICOBALT.
Reference this from the USB3 node as its extcon device as it
provides notifications of cable insertion/removal.
Change-Id: I42916b13e5d28dd3f3b0ed40c53767cbd7ae32b1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
-rw-r--r-- | arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi | 23 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom/msmcobalt.dtsi | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi index e2b0a292a0e0..d0601719054d 100644 --- a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi @@ -241,6 +241,29 @@ "switcher-power-ok"; }; }; + + pmicobalt_pdphy: qcom,usb-pdphy@1700 { + compatible = "qcom,qpnp-pdphy"; + reg = <0x1700 0x100>; + vdd-pdphy-supply = <&pmcobalt_l24>; + vbus-supply = <&smb2_vbus>; + vcon-supply = <&smb2_vconn>; + interrupts = <0x2 0x17 0x0 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x1 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x2 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x3 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x4 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x5 IRQ_TYPE_EDGE_RISING>, + <0x2 0x17 0x6 IRQ_TYPE_EDGE_RISING>; + + interrupt-names = "sig-tx", + "sig-rx", + "msg-tx", + "msg-rx", + "msg-tx-failed", + "msg-tx-discarded", + "msg-rx-discarded"; + }; }; qcom,pmicobalt@3 { diff --git a/arch/arm/boot/dts/qcom/msmcobalt.dtsi b/arch/arm/boot/dts/qcom/msmcobalt.dtsi index a608ce54f654..c346bf0411bd 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt.dtsi @@ -1333,6 +1333,7 @@ <61 512 240000 960000>; qcom,dwc-usb3-msm-tx-fifo-size = <21288>; + extcon = <&pmicobalt_pdphy>; clocks = <&clock_gcc clk_gcc_usb30_master_clk>, <&clock_gcc clk_gcc_cfg_noc_usb3_axi_clk>, |