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

Commit 42bf60c4 authored by ChandanaKishori Chiluveru's avatar ChandanaKishori Chiluveru
Browse files

ARM: dts: msm: Enable USB type C support for msmgold



On msmgold, USB type C connector is present through pericom
chip. Hence enable USB type C support for Pericom chip for
msmgold.

Change-Id: Ic15ba996f5dcedb4f473fefd60cac372b2e4c123
Signed-off-by: default avatarChandanaKishori Chiluveru <cchilu@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -894,5 +894,18 @@
				};
			};
		};

		usbc_int_default: usbc_int_default {
			mux {
				pins = "gpio97", "gpio131";
				function = "gpio";
			};

			config {
				pins = "gpio97", "gpio131";
				drive-strength = <2>;
				bias-pull-up;
			};
		};
	};
};
+11 −0
Original line number Diff line number Diff line
@@ -475,6 +475,17 @@
		dmas = <&dma_blsp1 6 64 0x20000020 0x20>,
			<&dma_blsp1 7 32 0x20000020 0x20>;
		dma-names = "tx", "rx";

		pericom-type-c@1d {
			compatible = "pericom,usb-type-c";
			reg = <0x1d>;
			vdd_io-supply = <&pmgold_l5>;
			interrupt-parent = <&tlmm>;
			interrupts = <97 2>;	/* TLMM 97, TRIGGER_FALLING */
			pericom,enb-gpio = <&tlmm 131 0x1>;	/* active low */
			pinctrl-names = "default";
			pinctrl-0 = <&usbc_int_default>;
		};
	};

	i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */