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

Commit 32d2fb6b authored by Arumuga Durai A's avatar Arumuga Durai A Committed by Manu Gautam
Browse files

ARM: dts: msm: Add device node for 8053 APQ IOT MTP



Add gpio_usbdetect node to select USB mode based on GPIO
state and define pinctrl settings for the GPIO.

Change-Id: I39893be8377916b4f079ae3251ddb9edc049e47d
Signed-off-by: default avatarArumuga Durai A <cadurai@codeaurora.org>
parent 056860de
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -66,3 +66,18 @@
		};
	};
};

&soc {
	usb_detect {
		compatible = "qcom,gpio-usbdetect";
		vdd33-supply = <&pm8953_l18>;
		vdd12-supply = <&pm8953_l23>;
		interrupt-names = "vbus_det_irq";
		interrupt-parent = <&tlmm>;
		interrupts = <12 0>;
		pinctrl-names = "default";
		pinctrl-0 = <&ssusb_mode_sel>;
		qcom,notify-host-mode;
		qcom,gpio-mode-sel = <&tlmm 12 0>;
	};
};
+14 −0
Original line number Diff line number Diff line
@@ -1502,5 +1502,19 @@
				bias-disable;
			};
		};

		ssusb_mode_sel: ssusb_mode_sel {
			mux {
				pins = "gpio12";
				function = "gpio";
			};

			config {
				pins = "gpio12";
				drive-strength = <2>;
				bias-disable;
				input-enable;
			};
		};
	};
};