Commit fd31f778 authored by Prashant Malani's avatar Prashant Malani Committed by Matthias Brugger
Browse files

arm64: dts: mt8183: kukui: Add Type C node



Add a node describing the USB Type C connector, in order to utilize the
Chromium OS USB Type-C driver that enumerates Type-C ports and connected
cables/peripherals and makes them visible to userspace.

Cc: Alexandru M Stan <amstan@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Signed-off-by: default avatarPrashant Malani <pmalani@chromium.org>
Reviewed-by: default avatarAlexandru M Stan <amstan@chromium.org>
Reviewed-by: default avatarBenson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20211209195112.366176-1-pmalani@chromium.org


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 50137c15
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -886,6 +886,20 @@ usbc_extcon: extcon0 {
		cbas {
			compatible = "google,cros-cbas";
		};

		typec {
			compatible = "google,cros-ec-typec";
			#address-cells = <1>;
			#size-cells = <0>;

			usb_c0: connector@0 {
				compatible = "usb-c-connector";
				reg = <0>;
				power-role = "dual";
				data-role = "host";
				try-power-role = "sink";
			};
		};
	};
};