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

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

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



On MPQ8092 the USB VBUS signal transitions are detected
over PMIC GPIO 11. Add a DT node for it.

Change-Id: I903b0325b72aa567b747c3c49fc16133f909a19d
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 11c6deff
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -165,7 +165,12 @@
		qcom,master-en = <1>;	/* Enable GPIO */
	};

	gpio@ca00 { /* GPIO 11 */
	gpio@ca00 { /* GPIO 11 - VBUS interrupt */
		qcom,mode = <0>;	/* Digital input */
		qcom,pull = <1>;	/* 1.5uA pull-up */
		qcom,vin-sel = <2>;	/* PMA8084 S4 = 1.8V */
		qcom,src-sel = <0>;	/* Constant Function */
		qcom,master-en = <1>;	/* Enable GPIO */
	};

	gpio@cb00 { /* GPIO 12 */
+8 −0
Original line number Diff line number Diff line
@@ -243,6 +243,14 @@
		qcom,android-usb-swfi-latency = <1>;
	};

	usb_detect {
		compatible = "qcom,qpnp-usbdetect";
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x0 0xca 0x0>;  /* PMA8084 GPIO 11 */
		interrupt-names = "vbus_det_irq";
		vin-supply = <&smb210_vreg>;
	};

	spmi_bus: qcom,spmi@fc4c0000 {
		cell-index = <0>;
		compatible = "qcom,spmi-pmic-arb";