diff mbox series

arm64: tegra: smaug: declare cros-ec extcon

Message ID 20241001-cros_ec_extcon-v1-1-1e212a1a4bbc@tecnico.ulisboa.pt
State Accepted
Headers show
Series arm64: tegra: smaug: declare cros-ec extcon | expand

Commit Message

Diogo Ivo Oct. 1, 2024, 1:27 p.m. UTC
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(+)


---
base-commit: 841703741c19a65310b81ddfa43725fbc66afcc4
change-id: 20241001-cros_ec_extcon-e966c110f6cf

Best regards,

Comments

Thierry Reding Oct. 24, 2024, 5:24 p.m. UTC | #1
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,
diff mbox series

Patch

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>;
+			};
 		};
 	};