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 <diogo.ivo@tecnico.ulisboa.pt>
Link: https://lore.kernel.org/r/20241001-cros_ec_extcon-v1-1-1e212a1a4bbc@tecnico.ulisboa.pt
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Diogo Ivo 2024-10-01 14:27:07 +01:00 committed by Thierry Reding
parent 87b9008217
commit 2433e22233

View file

@ -1398,6 +1398,11 @@
reg = <0x55>;
};
};
usbc_extcon0: extcon0 {
compatible = "google,extcon-usbc-cros-ec";
google,usb-port-id = <0>;
};
};
};