]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: tegra: smaug: Declare cros-ec extcon
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Tue, 1 Oct 2024 13:27:07 +0000 (14:27 +0100)
committerThierry Reding <treding@nvidia.com>
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 <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>
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>;
+                       };
                };
        };