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

Commit a86b4964 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

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



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

Change-Id: I24958030ef544680230ef552d7cd9178f6e1c3f7
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent a6b58f17
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -135,5 +135,18 @@
				bias-disable;
			};
		};

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

			config {
				pins = "gpio97", "gpio133";
				drive-strenght = <2>;
				bias-pull-up;
			};
		};
	};
};
+11 −0
Original line number Diff line number Diff line
@@ -275,6 +275,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 = <&pmthorium_l5>;
			interrupt-parent = <&tlmm>;
			interrupts = <97 2>;  /* TLMM 97, TRIGGER_FALLING */
			pericom,enb-gpio = <&tlmm 133 0x1>;	/* active low */
			pinctrl-names = "default";
			pinctrl-0 = <&usbc_int_default>;
		};
	};

	i2c_5: i2c@7af5000 { /* BLSP2 QUP1 */