From: Diogo Ivo Date: Tue, 1 Oct 2024 13:27:07 +0000 (+0100) Subject: arm64: tegra: smaug: Declare cros-ec extcon X-Git-Tag: v6.13-rc1~140^2~34^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2433e22233f07b2e03034fffcbaf6c26b5838bb6;p=thirdparty%2Fkernel%2Flinux.git arm64: tegra: smaug: Declare cros-ec extcon Leverage the Chrome OS EC in the Pixel C to convey information about the state of the USB-C port via the extcon class. Signed-off-by: Diogo Ivo Link: https://lore.kernel.org/r/20241001-cros_ec_extcon-v1-1-1e212a1a4bbc@tecnico.ulisboa.pt Signed-off-by: Thierry Reding --- diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts index c724cb4d5ad84..5aa6afd56cbc6 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts @@ -1398,6 +1398,11 @@ reg = <0x55>; }; }; + + usbc_extcon0: extcon0 { + compatible = "google,extcon-usbc-cros-ec"; + google,usb-port-id = <0>; + }; }; };