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

Commit eddac033 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: msm: Add DT node for VBUS detect on sdxpoorwills



Add the DT node for pmd-vbus-det driver which supports
VBUS detection over SPMI interrupts.

Enable this the PCIe EP device tree file for CDP and MTP.

Change-Id: Iad5369e197354318f8e3588d9e94cb72344dfb48
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent f6e7c6dc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@
	qcom,board-id = <1 0x1>, <1 0x101>;
};

&vbus_detect {
	status = "okay";
};

&pcie_ep {
	status = "okay";
};
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@
	qcom,board-id = <8 0x1>, <8 0x101>;
};

&vbus_detect {
	status = "okay";
};

&pcie_ep {
	status = "okay";
};
+3 −3
Original line number Diff line number Diff line
@@ -895,11 +895,11 @@
		#mbox-cells = <1>;
	};

	usb_detect: qcom,gpio-usbdetect {
		compatible = "qcom,gpio-usbdetect";
	vbus_detect: qcom,pmd-vbus-det {
		compatible = "qcom,pmd-vbus-det";
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x0 0x0d 0x0 IRQ_TYPE_NONE>;
		interrupt-names = "vbus_det_irq";
		interrupt-names = "usb_vbus";
		status = "disabled";
	};