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

Commit 26d71617 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

ARM: dts: msm: Add USB 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: Ibcb9c55207a5791153545495c102f6eaa7706471
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 2431b7df
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -86,3 +86,12 @@
	qcom,model = "msm8953-tasha-snd-card";
	status = "okay";
};

&soc {
	usb_detect: usb_detect {
		compatible = "linux,extcon-usb-gpio";
		pintctrl-names = "default";
		pinctrl-0 = <&ssusb_mode_sel>;
		id-gpio = <&tlmm 12 0>;
	};
};
+14 −0
Original line number Diff line number Diff line
@@ -1731,5 +1731,19 @@
				bias-disable;
			};
		};

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

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