]> Git Repo - J-linux.git/commitdiff
arm64: tegra: smaug: Declare cros-ec extcon
authorDiogo Ivo <[email protected]>
Tue, 1 Oct 2024 13:27:07 +0000 (14:27 +0100)
committerThierry Reding <[email protected]>
Thu, 24 Oct 2024 17:23:01 +0000 (19:23 +0200)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thierry Reding <[email protected]>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index c724cb4d5ad848c600a306202e7ed7dc28b9067a..5aa6afd56cbc632a78b7aaf6a6f29707aacfae62 100644 (file)
                                        reg = <0x55>;
                                };
                        };
+
+                       usbc_extcon0: extcon0 {
+                               compatible = "google,extcon-usbc-cros-ec";
+                               google,usb-port-id = <0>;
+                       };
                };
        };
 
This page took 0.060248 seconds and 4 git commands to generate.