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

Commit 4e76b849 authored by Jack Pham's avatar Jack Pham
Browse files

ARM: dts: msm: add PM855B PD PHY device



Specify the configuration for PD PHY peripheral of PM855B,
which will be used for SDM855 platforms to implement USB
Power Delivery communication.

Change-Id: I80cd491c6bd7e5cd94380dc812001569c34dc8cc
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent aa81cd24
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -230,6 +230,35 @@
						  "temp-change-smb";
			};
		};

		pm855b_pdphy: qcom,usb-pdphy@1700 {
			compatible = "qcom,qpnp-pdphy";
			reg = <0x1700 0x100>;
			vdd-pdphy-supply = <&pm855_l2>;
			vbus-supply = <&smb5_vbus>;
			vconn-supply = <&smb5_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>,
				     <0x2 0x17 0x7 IRQ_TYPE_EDGE_RISING>;

			interrupt-names = "sig-tx",
					  "sig-rx",
					  "msg-tx",
					  "msg-rx",
					  "msg-tx-failed",
					  "msg-tx-discarded",
					  "msg-rx-discarded",
					  "fr-swap";

			qcom,default-sink-caps = <5000 3000>, /* 5V @ 3A */
						 <9000 3000>, /* 9V @ 3A */
						 <12000 2250>; /* 12V @ 2.25A */
		};
	};

	qcom,pm855b@3 {