[PATCH] arm64: tegra: smaug: declare cros-ec extcon

Diogo Ivo posted 1 patch 1 month, 3 weeks ago
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 5 +++++
1 file changed, 5 insertions(+)
[PATCH] arm64: tegra: smaug: declare cros-ec extcon
Posted by Diogo Ivo 1 month, 3 weeks ago
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>
Re: [PATCH] arm64: tegra: smaug: declare cros-ec extcon
Posted by Thierry Reding 1 month ago
From: Thierry Reding <treding@nvidia.com>


On Tue, 01 Oct 2024 14:27:07 +0100, Diogo Ivo wrote:
> Leverage the Chrome OS EC in the Pixel C to convey information about the
> state of the USB-C port via the extcon class.
> 
> 

Applied, thanks!

[1/1] arm64: tegra: smaug: declare cros-ec extcon
      commit: 2433e22233f07b2e03034fffcbaf6c26b5838bb6

Best regards,
-- 
Thierry Reding <treding@nvidia.com>