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>
---
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
index 581bcc19a753640b3ced9e81c457d642a8c8a27d..1e4cbeeb4a6172e3d8c39c3b871c97fb302e3099 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
@@ -1398,6 +1398,11 @@ battery: bq27742@55 {
reg = <0x55>;
};
};
+
+ usbc_extcon0: extcon0 {
+ compatible = "google,extcon-usbc-cros-ec";
+ google,usb-port-id = <0>;
+ };
};
};
---
base-commit: 841703741c19a65310b81ddfa43725fbc66afcc4
change-id: 20241001-cros_ec_extcon-e966c110f6cf
Best regards,
--
Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>